Interface Encodable

All Known Implementing Classes:
AccessDescription, Accuracy, AdditionalInformationSyntax, Admissions, AdmissionSyntax, AlgorithmIdentifier, ASN1Absent, ASN1ApplicationSpecific, ASN1BitString, ASN1Boolean, ASN1Enumerated, ASN1External, ASN1GeneralizedTime, ASN1Integer, ASN1Null, ASN1Object, ASN1ObjectIdentifier, ASN1OctetString, ASN1Primitive, ASN1Sequence, ASN1Set, ASN1TaggedObject, ASN1UTCTime, AttCertIssuer, AttCertValidityPeriod, Attribute, Attribute, Attribute, AttributeCertificate, AttributeCertificateInfo, Attributes, AttributeTypeAndValue, AttributeTypeAndValue, AuthenticatedData, AuthenticatedSafe, AuthEnvelopedData, AuthorityInformationAccess, AuthorityKeyIdentifier, BasicConstraints, BasicOCSPResponse, BERApplicationSpecific, BEROctetString, BERSequence, BERSet, BERTaggedObject, BiometricData, CAKeyUpdAnnContent, CAST5CBCParameters, CCMParameters, CertBag, CertConfirmContent, CertEtcToken, CertHash, CertId, CertID, Certificate, CertificateBody, CertificateHolderAuthorization, CertificateList, CertificatePair, CertificatePolicies, CertificationRequest, CertificationRequestInfo, CertifiedKeyPair, CertOrEncCert, CertPolicyId, CertRepMessage, CertReqMessages, CertReqMsg, CertRequest, CertResponse, CertStatus, CertStatus, CertTemplate, Challenge, CMPCertificate, CMSAlgorithmProtection, CommitmentTypeIndication, CommitmentTypeQualifier, CompleteRevocationRefs, CompressedData, ContentHints, ContentIdentifier, ContentInfo, ContentInfo, Controls, CRLAnnContent, CRLBag, CRLDistPoint, CrlID, CrlIdentifier, CrlListID, CRLNumber, CrlOcspRef, CRLReason, CrlValidatedID, CscaMasterList, CVCertificate, CVCertificateRequest, Data, DataGroupHash, DeclarationOfMajority, DERApplicationSpecific, DERBitString, DERBMPString, DERExternal, DERGeneralizedTime, DERGeneralString, DERGraphicString, DERIA5String, DERNull, DERNumericString, DEROctetString, DERPrintableString, DERSequence, DERSet, DERT61String, DERTaggedObject, DERUniversalString, DERUTCTime, DERUTF8String, DERVideotexString, DERVisibleString, DHParameter, DHPublicKey, DigestedData, DigestInfo, DirectoryString, DisplayText, DistributionPoint, DistributionPointName, DLApplicationSpecific, DLBitString, DLExternal, DLSequence, DLSet, DLTaggedObject, DomainParameters, DSAParameter, DSTU4145BinaryField, DSTU4145ECBinary, DSTU4145Params, DSTU4145PublicKey, DVCSCertInfo, DVCSErrorNotice, DVCSRequest, DVCSRequestInformation, DVCSResponse, DVCSTime, ECCCMSSharedInfo, ECDSAPublicKey, ECGOST3410ParamSetParameters, ECPrivateKey, ElGamalParameter, EncKeyWithID, EncryptedContentInfo, EncryptedData, EncryptedData, EncryptedKey, EncryptedObjectStoreData, EncryptedPrivateKeyData, EncryptedPrivateKeyInfo, EncryptedSecretKeyData, EncryptedValue, EncryptionScheme, EnvelopedData, ErrorMsgContent, ESSCertID, ESSCertIDv2, Evidence, ExtendedKeyUsage, Extension, Extensions, GCMParameters, GeneralName, GeneralNames, GeneralSubtree, GenericHybridParameters, GenMsgContent, GenRepContent, GOST28147Parameters, GOST3410ParamSetParameters, GOST3410PublicKeyAlgParameters, Holder, IDEACBCPar, IetfAttrSyntax, InfoTypeAndValue, Iso4217CurrencyCode, IssuerAndSerialNumber, IssuerAndSerialNumber, IssuerSerial, IssuingDistributionPoint, KEKIdentifier, KEKRecipientInfo, KeyAgreeRecipientIdentifier, KeyAgreeRecipientInfo, KeyDerivationFunc, KeyPurposeId, KeyRecRepContent, KeySpecificInfo, KeyTransRecipientInfo, KeyUsage, LDSSecurityObject, LDSVersionInfo, MacData, MessageImprint, MetaData, MonetaryLimit, MonetaryValue, MQVuserKeyingMaterial, NameConstraints, NameOrPseudonym, NamingAuthority, NetscapeCertType, NetscapeRevocationURL, NoticeReference, ObjectData, ObjectDataSequence, ObjectDigestInfo, ObjectStore, ObjectStoreData, ObjectStoreIntegrityCheck, OcspIdentifier, OcspListID, OCSPRequest, OCSPResponse, OcspResponsesID, OCSPResponseStatus, OOBCertHash, OptionalValidity, OriginatorIdentifierOrKey, OriginatorInfo, OriginatorPublicKey, OtherCertID, OtherHash, OtherHashAlgAndValue, OtherInfo, OtherKeyAttribute, OtherName, OtherRecipientInfo, OtherRevocationInfoFormat, OtherRevRefs, OtherRevVals, OtherSigningCertificate, PasswordRecipientInfo, PathProcInput, PBEParameter, PBES2Parameters, PBKDF2Params, PbkdMacIntegrityCheck, PBMParameter, PersonalData, Pfx, PKCS12PBEParams, PKIArchiveOptions, PKIBody, PKIConfirmContent, PKIFailureInfo, PKIFreeText, PKIHeader, PKIMessage, PKIMessages, PKIPublicationInfo, PKIStatus, PKIStatusInfo, PKMACValue, PolicyConstraints, PolicyInformation, PolicyMappings, PolicyQualifierId, PolicyQualifierInfo, PollRepContent, PollReqContent, POPODecKeyChallContent, POPODecKeyRespContent, POPOPrivKey, POPOSigningKey, POPOSigningKeyInput, PrivateKeyInfo, PrivateKeyUsagePeriod, ProcurationSyntax, ProfessionInfo, ProofOfPossession, ProtectedPart, PublicKeyAndChallenge, PublicKeyDataObject, QCStatement, RC2CBCParameter, RDN, ReasonFlags, RecipientEncryptedKey, RecipientIdentifier, RecipientInfo, RecipientKeyIdentifier, Request, RequestedCertificate, ResponderID, ResponseBytes, ResponseData, Restriction, RevAnnContent, RevDetails, RevocationValues, RevokedInfo, RevRepContent, RevReqContent, RoleSyntax, RSAESOAEPparams, RsaKemParameters, RSAPrivateKey, RSAPublicKey, RSAPublicKey, 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, SMIMECapabilitiesAttribute, SMIMECapability, SMIMEEncryptionKeyPreferenceAttribute, SPUserNotice, SubjectDirectoryAttributes, SubjectKeyIdentifier, SubjectPublicKeyInfo, SubsequentMessage, Target, TargetEtcChain, TargetInformation, Targets, TBSCertificate, TBSCertList, TBSCertList.CRLEntry, TBSRequest, Time, Time, TimeStampAndCRL, TimeStampedData, TimeStampReq, TimeStampResp, TimeStampTokenEvidence, TSTInfo, TypeOfBiometricData, UnsignedInteger, 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 Type
    Method
    Description
    byte[]
    Return a byte array representing the implementing object.
  • Method Details

    • getEncoded

      byte[] getEncoded() throws IOException
      Return a byte array representing the implementing object.
      Returns:
      a byte array representing the encoding.
      Throws:
      IOException - if an issue arises generation the encoding.