Package org.bouncycastle.util
Interface Encodable
-
- All Known Implementing Classes:
AlgorithmIdentifier,ASN1Boolean,ASN1Enumerated,ASN1GeneralizedTime,ASN1Integer,ASN1Null,ASN1Object,ASN1ObjectIdentifier,ASN1OctetString,ASN1Primitive,ASN1Sequence,ASN1Set,ASN1TaggedObject,ASN1UTCTime,AttCertIssuer,AttCertValidityPeriod,Attribute,Attribute,AttributeCertificate,AttributeCertificateInfo,Attributes,AttributeTypeAndValue,AuthenticatedSafe,AuthorityKeyIdentifier,AuthorityKeyIdentifierStructure,BasicConstraints,BERApplicationSpecific,BERConstructedOctetString,BEROctetString,BERSequence,BERSet,BERTaggedObject,CertBag,Certificate,CertificateList,CertificationRequest,CertificationRequestInfo,ContentInfo,ContentInfo,CRLBag,CRLDistPoint,CRLNumber,CRLReason,DERApplicationSpecific,DERBitString,DERBMPString,DERBoolean,DEREnumerated,DERExternal,DERGeneralizedTime,DERGeneralString,DERIA5String,DERInteger,DERNull,DERNumericString,DERObjectIdentifier,DEROctetString,DERPrintableString,DERSequence,DERSet,DERT61String,DERTaggedObject,DERUniversalString,DERUTCTime,DERUTF8String,DERVisibleString,DHDomainParameters,DHParameter,DHPublicKey,DHValidationParms,DigestInfo,DirectoryString,DistributionPoint,DistributionPointName,DLSequence,DLSet,DLTaggedObject,DSAParameter,ECPrivateKey,ECPrivateKeyStructure,EncryptedData,EncryptedPrivateKeyInfo,EncryptionScheme,ExtendedKeyUsage,Extension,Extensions,GCMParameters,GeneralName,GeneralNames,GeneralSubtree,Holder,IssuerAndSerialNumber,IssuerAndSerialNumber,IssuerSerial,IssuingDistributionPoint,KeyDerivationFunc,KeyPurposeId,KeyUsage,MacData,NameConstraints,NetscapeCertRequest,NetscapeCertType,NetscapeRevocationURL,ObjectDigestInfo,PBEParameter,PBES2Algorithms,PBES2Parameters,PBKDF2Params,Pfx,PKCS10CertificationRequest,PKCS12PBEParams,PolicyConstraints,PolicyInformation,PrivateKeyInfo,RDN,ReasonFlags,RSAESOAEPparams,RSAPrivateKey,RSAPrivateKeyStructure,RSAPublicKey,RSAPublicKeyStructure,RSASSAPSSparams,SafeBag,SignedData,SignedData,SignerIdentifier,SignerInfo,SubjectKeyIdentifier,SubjectPublicKeyInfo,TBSCertificate,TBSCertificateStructure,TBSCertList,TBSCertList.CRLEntry,Time,Time,V2Form,VerisignCzagExtension,X500Name,X509Attribute,X509CertificateStructure,X509Extensions,X509Name,X509Principal,X962Parameters,X9Curve,X9ECParameters,X9ECPoint,X9FieldElement,X9FieldID
public interface EncodableInterface implemented by objects that can be converted into byte arrays.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]getEncoded()Return a byte array representing the implementing object.
-
-
-
Method Detail
-
getEncoded
byte[] getEncoded() throws IOExceptionReturn a byte array representing the implementing object.- Returns:
- a byte array representing the encoding.
- Throws:
IOException- if an issue arises generation the encoding.
-
-