ASN1Encodable
, Encodable
AccessDescription
, Accuracy
, AdditionalInformationSyntax
, Admissions
, AdmissionSyntax
, AlgorithmIdentifier
, ASN1Primitive
, AttCertIssuer
, AttCertValidityPeriod
, Attribute
, Attribute
, Attribute
, AttributeCertificate
, AttributeCertificateInfo
, Attributes
, AttributeTypeAndValue
, AttributeTypeAndValue
, AttrOrOID
, AuthenticatedData
, AuthenticatedSafe
, AuthEnvelopedData
, AuthorityInformationAccess
, AuthorityKeyIdentifier
, BasicConstraints
, BasicOCSPResponse
, BiometricData
, BodyPartID
, BodyPartList
, BodyPartPath
, BodyPartReference
, CAKeyUpdAnnContent
, CAST5CBCParameters
, CCMParameters
, CertBag
, CertConfirmContent
, CertEtcToken
, CertHash
, CertId
, CertID
, Certificate
, CertificateBody
, CertificateHolderAuthorization
, CertificateList
, CertificatePair
, CertificatePolicies
, CertificationRequest
, CertificationRequest
, CertificationRequestInfo
, CertifiedKeyPair
, CertOrEncCert
, CertPolicyId
, CertRepMessage
, CertReqMessages
, CertReqMsg
, CertRequest
, CertResponse
, CertStatus
, CertStatus
, CertTemplate
, Challenge
, CMCFailInfo
, CMCPublicationInfo
, CMCStatus
, CMCStatusInfo
, CMCStatusInfo.OtherInfo
, CMCStatusInfoV2
, CMCUnsignedData
, CMPCertificate
, CMSAlgorithmProtection
, CommitmentTypeIndication
, CommitmentTypeQualifier
, CompleteRevocationRefs
, CompressedData
, ContentHints
, ContentIdentifier
, ContentInfo
, ContentInfo
, Controls
, ControlsProcessed
, CRLAnnContent
, CRLBag
, CRLDistPoint
, CrlID
, CrlIdentifier
, CrlListID
, CRLNumber
, CrlOcspRef
, CRLReason
, CrlValidatedID
, CscaMasterList
, CsrAttrs
, CVCertificate
, CVCertificateRequest
, Data
, DataGroupHash
, DeclarationOfMajority
, DecryptedPOP
, DHDomainParameters
, DHParameter
, DHPublicKey
, DHValidationParms
, DigestedData
, DigestInfo
, DirectoryString
, DisplayText
, DistributionPoint
, DistributionPointName
, DomainParameters
, DSAParameter
, DSTU4145BinaryField
, DSTU4145ECBinary
, DSTU4145Params
, DSTU4145PublicKey
, DVCSCertInfo
, DVCSErrorNotice
, DVCSRequest
, DVCSRequestInformation
, DVCSResponse
, DVCSTime
, ECCCMSSharedInfo
, ECGOST3410ParamSetParameters
, ECPrivateKey
, ECPrivateKeyStructure
, ElGamalParameter
, EncKeyWithID
, EncryptedContentInfo
, EncryptedData
, EncryptedData
, EncryptedKey
, EncryptedObjectStoreData
, EncryptedPOP
, EncryptedPrivateKeyData
, EncryptedPrivateKeyInfo
, EncryptedSecretKeyData
, EncryptedValue
, EncryptionScheme
, EnvelopedData
, ErrorMsgContent
, ESSCertID
, ESSCertIDv2
, Evidence
, ExtendedFailInfo
, ExtendedKeyUsage
, Extension
, ExtensionReq
, Extensions
, GCMParameters
, GeneralName
, GeneralNames
, GeneralSubtree
, GenericHybridParameters
, GenMsgContent
, GenRepContent
, GetCert
, GetCRL
, GMSSPrivateKey
, GMSSPublicKey
, Gost2814789EncryptedKey
, Gost2814789KeyWrapParameters
, GOST28147Parameters
, GOST3410ParamSetParameters
, GOST3410PublicKeyAlgParameters
, GostR3410KeyTransport
, GostR3410TransportParameters
, Holder
, IDEACBCPar
, IdentityProofV2
, IetfAttrSyntax
, InfoTypeAndValue
, Iso4217CurrencyCode
, IssuerAndSerialNumber
, IssuerAndSerialNumber
, IssuerSerial
, IssuingDistributionPoint
, KEKIdentifier
, KEKRecipientInfo
, KeyAgreeRecipientIdentifier
, KeyAgreeRecipientInfo
, KeyDerivationFunc
, KeyPurposeId
, KeyRecRepContent
, KeySpecificInfo
, KeyTransRecipientInfo
, KeyUsage
, LDSSecurityObject
, LDSVersionInfo
, LraPopWitness
, MacData
, McElieceCCA2PrivateKey
, McElieceCCA2PublicKey
, McEliecePrivateKey
, McEliecePublicKey
, MessageImprint
, MetaData
, ModCertTemplate
, MonetaryLimit
, MonetaryValue
, MQVuserKeyingMaterial
, NameConstraints
, NameOrPseudonym
, NamingAuthority
, NetscapeCertRequest
, NoticeReference
, ObjectData
, ObjectDataSequence
, ObjectDigestInfo
, ObjectStore
, ObjectStoreData
, ObjectStoreIntegrityCheck
, OcspIdentifier
, OcspListID
, OCSPRequest
, OCSPResponse
, OcspResponsesID
, OCSPResponseStatus
, OOBCertHash
, OptionalValidity
, OriginatorIdentifierOrKey
, OriginatorInfo
, OriginatorPublicKey
, OtherCertID
, OtherHash
, OtherHashAlgAndValue
, OtherInfo
, OtherKeyAttribute
, OtherMsg
, OtherRecipientInfo
, OtherRevocationInfoFormat
, OtherRevRefs
, OtherRevVals
, OtherSigningCertificate
, OtherStatusInfo
, ParSet
, PasswordRecipientInfo
, PathProcInput
, PBEParameter
, PBES2Parameters
, PBKDF2Params
, PbkdMacIntegrityCheck
, PBMParameter
, PendInfo
, PersonalData
, Pfx
, PKCS12PBEParams
, PKIArchiveOptions
, PKIBody
, PKIConfirmContent
, PKIData
, PKIFreeText
, PKIHeader
, PKIMessage
, PKIMessages
, PKIPublicationInfo
, PKIResponse
, PKIStatus
, PKIStatusInfo
, PKMACValue
, PolicyConstraints
, PolicyInformation
, PolicyMappings
, PolicyQualifierInfo
, PollRepContent
, PollReqContent
, PopLinkWitnessV2
, POPODecKeyChallContent
, POPODecKeyRespContent
, POPOPrivKey
, POPOSigningKey
, POPOSigningKeyInput
, PrivateKeyInfo
, PrivateKeyUsagePeriod
, ProcurationSyntax
, ProfessionInfo
, ProofOfPossession
, ProtectedPart
, PublicKeyAndChallenge
, PublicKeyDataObject
, PublishTrustAnchors
, QCStatement
, RainbowPrivateKey
, RainbowPublicKey
, RC2CBCParameter
, RDN
, RecipientEncryptedKey
, RecipientIdentifier
, RecipientInfo
, RecipientKeyIdentifier
, Request
, RequestedCertificate
, ResponderID
, ResponseBytes
, ResponseData
, Restriction
, RevAnnContent
, RevDetails
, RevocationValues
, RevokedInfo
, RevokeRequest
, RevRepContent
, RevReqContent
, RoleSyntax
, RSAESOAEPparams
, RsaKemParameters
, RSAPrivateKey
, RSAPrivateKeyStructure
, RSAPublicKey
, RSAPublicKeyStructure
, RSASSAPSSparams
, SafeBag
, ScryptParams
, SCVPReqRes
, SecretKeyData
, SemanticsInformation
, ServiceLocator
, ServiceType
, Signature
, SignaturePolicyId
, SignaturePolicyIdentifier
, SignedData
, SignedData
, SignedPublicKeyAndChallenge
, SignerAttribute
, SignerIdentifier
, SignerInfo
, SignerInfo
, SignerLocation
, SigningCertificate
, SigningCertificateV2
, SigPolicyQualifierInfo
, SigPolicyQualifiers
, SinglePubInfo
, SingleResponse
, SMIMECapabilities
, SMIMECapability
, SPHINCS256KeyParams
, SPUserNotice
, SubjectDirectoryAttributes
, SubjectKeyIdentifier
, SubjectPublicKeyInfo
, TaggedAttribute
, TaggedCertificationRequest
, TaggedContentInfo
, TaggedRequest
, Target
, TargetEtcChain
, TargetInformation
, Targets
, TBSCertificate
, TBSCertificateStructure
, TBSCertList
, TBSCertList.CRLEntry
, TBSRequest
, Time
, Time
, TimeStampAndCRL
, TimeStampedData
, TimeStampReq
, TimeStampResp
, TimeStampTokenEvidence
, TSTInfo
, TypeOfBiometricData
, UnsignedInteger
, UserNotice
, V2Form
, ValidationParams
, X500Name
, X509CertificateStructure
, X509Extensions
, X509KeyUsage
, X509Name
, X962Parameters
, X9Curve
, X9ECParameters
, X9ECPoint
, X9FieldElement
, X9FieldID
, XMSSKeyParams
, XMSSMTKeyParams
, XMSSMTPrivateKey
, XMSSMTPublicKey
, XMSSPrivateKey
, XMSSPublicKey
public abstract class ASN1Object extends java.lang.Object implements ASN1Encodable, Encodable
Constructor | Description |
---|---|
ASN1Object() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
byte[] |
getEncoded() |
Return the default BER or DER encoding for this object.
|
byte[] |
getEncoded(java.lang.String encoding) |
Return either the default for "BER" or a DER encoding if "DER" is specified.
|
protected static boolean |
hasEncodedTagValue(java.lang.Object obj,
int tagValue) |
Return true if obj is a byte array and represents an object with the given tag value.
|
int |
hashCode() |
|
ASN1Primitive |
toASN1Object() |
Deprecated.
use toASN1Primitive()
|
abstract ASN1Primitive |
toASN1Primitive() |
Method providing a primitive representation of this object suitable for encoding.
|
public byte[] getEncoded() throws java.io.IOException
getEncoded
in interface Encodable
java.io.IOException
- on encoding error.public byte[] getEncoded(java.lang.String encoding) throws java.io.IOException
encoding
- name of encoding to use.java.io.IOException
- on encoding error.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public ASN1Primitive toASN1Object()
protected static boolean hasEncodedTagValue(java.lang.Object obj, int tagValue)
obj
- object of interest.tagValue
- tag value to check for.public abstract ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface ASN1Encodable