Class ASN1Encodable
java.lang.Object
org.gudy.bouncycastle.asn1.ASN1Encodable
- All Implemented Interfaces:
DEREncodable
- Direct Known Subclasses:
AccessDescription, AlgorithmIdentifier, AttCertIssuer, AttCertValidityPeriod, Attribute, AttributeCertificate, AttributeCertificateInfo, AuthorityInformationAccess, AuthorityKeyIdentifier, BasicConstraints, CertificateList, CertificatePair, CertificatePolicies, ContentInfo, CRLDistPoint, DERObject, DigestInfo, DisplayText, DistributionPoint, DistributionPointName, DSAParameter, ECPrivateKeyStructure, ExtendedKeyUsage, GeneralName, GeneralNames, GeneralSubtree, Holder, IetfAttrSyntax, IssuerSerial, IssuingDistributionPoint, NameConstraints, NoticeReference, ObjectDigestInfo, PolicyInformation, PolicyMappings, PolicyQualifierInfo, PrivateKeyInfo, PrivateKeyUsagePeriod, RoleSyntax, RSAPrivateKeyStructure, RSAPublicKeyStructure, SubjectDirectoryAttributes, SubjectKeyIdentifier, SubjectPublicKeyInfo, Target, TargetInformation, Targets, TBSCertificateStructure, TBSCertList, TBSCertList.CRLEntry, Time, UserNotice, V2Form, X509Attribute, X509CertificateStructure, X509Extensions, X509Name
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]Return the DER encoding of the object, null if the DER encoding can not be made.byte[]byte[]getEncoded(String encoding) inthashCode()abstract DERObject
-
Field Details
-
DER
- See Also:
-
BER
- See Also:
-
-
Constructor Details
-
ASN1Encodable
public ASN1Encodable()
-
-
Method Details
-
getEncoded
- Throws:
IOException
-
getEncoded
- Throws:
IOException
-
getDEREncoded
public byte[] getDEREncoded()Return the DER encoding of the object, null if the DER encoding can not be made.- Returns:
- a DER byte array, null otherwise.
-
hashCode
-
equals
-
getDERObject
- Specified by:
getDERObjectin interfaceDEREncodable
-
toASN1Object
-