Package org.bouncycastle.util
Interface Encodable
- All Known Implementing Classes:
AccessDescription,AlgorithmIdentifier,AltSignatureAlgorithm,AltSignatureValue,ASN1Absent,ASN1ApplicationSpecific,ASN1BitString,ASN1Boolean,ASN1Enumerated,ASN1External,ASN1GeneralizedTime,ASN1Integer,ASN1Null,ASN1Object,ASN1ObjectIdentifier,ASN1OctetString,ASN1Primitive,ASN1Sequence,ASN1Set,ASN1TaggedObject,ASN1UTCTime,AttCertIssuer,AttCertValidityPeriod,Attribute,Attribute,AttributeCertificate,AttributeCertificateInfo,AttributeTypeAndValue,AuthenticatedSafe,AuthorityInformationAccess,AuthorityKeyIdentifier,BasicConstraints,BasicOCSPResponse,BERApplicationSpecific,BEROctetString,BERSequence,BERSet,BERTaggedObject,BiometricData,CAST5CBCParameters,CertBag,CertID,Certificate,CertificateList,CertificatePair,CertificatePolicies,CertificationRequest,CertificationRequestInfo,CertPolicyId,CertStatus,ContentInfo,CRLBag,CRLDistPoint,CrlID,CRLNumber,CRLReason,DERApplicationSpecific,DERBitString,DERBMPString,DERExternal,DERGeneralizedTime,DERGeneralString,DERGraphicString,DERIA5String,DERNull,DERNumericString,DEROctetString,DERPrintableString,DERSequence,DERSet,DERT61String,DERTaggedObject,DERUniversalString,DERUTCTime,DERUTF8String,DERVideotexString,DERVisibleString,DHParameter,DHPublicKey,DigestInfo,DirectoryString,DisplayText,DistributionPoint,DistributionPointName,DLApplicationSpecific,DLBitString,DLExternal,DLSequence,DLSet,DLTaggedObject,DomainParameters,DSAParameter,DSTU4145BinaryField,DSTU4145ECBinary,DSTU4145Params,DSTU4145PublicKey,ECGOST3410ParamSetParameters,ECPrivateKey,ElGamalParameter,EncryptedData,EncryptedObjectStoreData,EncryptedPrivateKeyData,EncryptedPrivateKeyInfo,EncryptedSecretKeyData,EncryptionScheme,ExtendedKeyUsage,Extension,Extensions,GeneralName,GeneralNames,GeneralSubtree,Gost2814789EncryptedKey,Gost2814789KeyWrapParameters,GOST28147Parameters,GOST3410ParamSetParameters,GOST3410PublicKeyAlgParameters,GostR3410KeyTransport,GostR3410TransportParameters,Holder,IDEACBCPar,IetfAttrSyntax,Iso4217CurrencyCode,IssuerAndSerialNumber,IssuerSerial,IssuingDistributionPoint,KeyDerivationFunc,KeyPurposeId,KeySpecificInfo,KeyUsage,KMACwithSHAKE128_params,KMACwithSHAKE256_params,MacData,MonetaryValue,NameConstraints,NameOrPseudonym,NetscapeCertType,NetscapeRevocationURL,NoticeReference,ObjectData,ObjectDataSequence,ObjectDigestInfo,ObjectStore,ObjectStoreData,ObjectStoreIntegrityCheck,OCSPRequest,OCSPResponse,OCSPResponseStatus,OtherInfo,OtherName,PBEParameter,PBES2Parameters,PBKDF2Params,PbkdMacIntegrityCheck,PersonalData,Pfx,PKCS12PBEParams,PolicyConstraints,PolicyInformation,PolicyMappings,PolicyQualifierId,PolicyQualifierInfo,PrivateKeyInfo,PrivateKeyUsagePeriod,PublicKeyAndChallenge,QCStatement,RC2CBCParameter,RDN,ReasonFlags,Request,ResponderID,ResponseBytes,ResponseData,RevokedInfo,RoleSyntax,RSAESOAEPparams,RSAPrivateKey,RSAPublicKey,RSASSAPSSparams,SafeBag,ScryptParams,SecretKeyData,SemanticsInformation,ServiceLocator,Signature,SignatureCheck,SignedData,SignedPublicKeyAndChallenge,SignerInfo,SingleResponse,SubjectAltPublicKeyInfo,SubjectDirectoryAttributes,SubjectKeyIdentifier,SubjectPublicKeyInfo,Target,TargetInformation,Targets,TBSCertificate,TBSCertList,TBSCertList.CRLEntry,TBSRequest,Time,TypeOfBiometricData,UserNotice,V2Form,ValidationParams,VerisignCzagExtension,X500Name,X962Parameters,X9Curve,X9ECParameters,X9ECPoint,X9FieldElement,X9FieldID
public interface Encodable
Interface implemented by objects that can be converted into byte arrays.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]Return a byte array representing the implementing object.
-
Method Details
-
getEncoded
Return a byte array representing the implementing object.- Returns:
- a byte array representing the encoding.
- Throws:
IOException- if an issue arises generation the encoding.
-