Interface IASN1Encodable

All Known Subinterfaces:
IAlgorithmIdentifier, IASN1BitString, IASN1Enumerated, IASN1GeneralizedTime, IASN1Integer, IASN1ObjectIdentifier, IASN1OctetString, IASN1Primitive, IASN1Sequence, IASN1Set, IASN1TaggedObject, IASN1UTCTime, IAttribute, IAuthorityKeyIdentifier, IBasicConstraints, IBasicOCSPResponse, IContentInfo, ICRLDistPoint, ICRLReason, IDERIA5String, IDERNull, IDEROctetString, IDERSequence, IDERSet, IDERTaggedObject, IDistributionPoint, IDistributionPointName, IEncryptedContentInfo, IEnvelopedData, IESSCertID, IESSCertIDv2, IExtendedKeyUsage, IExtension, IExtensions, IGeneralName, IGeneralNames, IIssuerAndSerialNumber, IKeyPurposeId, IKeyTransRecipientInfo, IKeyUsage, IMessageImprint, IOCSPResponse, IOCSPResponseStatus, IOriginatorInfo, IOtherHashAlgAndValue, IPKIFailureInfo, IPrivateKeyInfo, IRecipientIdentifier, IRecipientInfo, IResponseBytes, IRSASSAPSSParams, ISignaturePolicyId, ISignaturePolicyIdentifier, ISigningCertificate, ISigningCertificateV2, ISigPolicyQualifierInfo, ISubjectKeyIdentifier, ISubjectPublicKeyInfo, ITBSCertificate, ITime, ITSTInfo, IX500Name
All Known Implementing Classes:
AlgorithmIdentifierBC, AlgorithmIdentifierBCFips, ASN1BitStringBC, ASN1BitStringBCFips, ASN1EncodableBC, ASN1EncodableBCFips, ASN1EnumeratedBC, ASN1EnumeratedBCFips, ASN1GeneralizedTimeBC, ASN1GeneralizedTimeBCFips, ASN1IntegerBC, ASN1IntegerBCFips, ASN1ObjectIdentifierBC, ASN1ObjectIdentifierBCFips, ASN1OctetStringBC, ASN1OctetStringBCFips, ASN1PrimitiveBC, ASN1PrimitiveBCFips, ASN1SequenceBC, ASN1SequenceBCFips, ASN1SetBC, ASN1SetBCFips, ASN1TaggedObjectBC, ASN1TaggedObjectBCFips, ASN1UTCTimeBC, ASN1UTCTimeBCFips, AttributeBC, AttributeBCFips, AuthorityKeyIdentifierBC, AuthorityKeyIdentifierBCFips, BasicConstraintsBC, BasicConstraintsBCFips, BasicOCSPResponseBC, BasicOCSPResponseBCFips, ContentInfoBC, ContentInfoBCFips, CRLDistPointBC, CRLDistPointBCFips, CRLReasonBC, CRLReasonBCFips, DERIA5StringBC, DERIA5StringBCFips, DERNullBC, DERNullBCFips, DEROctetStringBC, DEROctetStringBCFips, DERSequenceBC, DERSequenceBCFips, DERSetBC, DERSetBCFips, DERTaggedObjectBC, DERTaggedObjectBCFips, DistributionPointBC, DistributionPointBCFips, DistributionPointNameBC, DistributionPointNameBCFips, EncryptedContentInfoBC, EncryptedContentInfoBCFips, EnvelopedDataBC, EnvelopedDataBCFips, ESSCertIDBC, ESSCertIDBCFips, ESSCertIDv2BC, ESSCertIDv2BCFips, ExtendedKeyUsageBC, ExtendedKeyUsageBCFips, ExtensionBC, ExtensionBCFips, ExtensionsBC, ExtensionsBCFips, GeneralNameBC, GeneralNameBCFips, GeneralNamesBC, GeneralNamesBCFips, IssuerAndSerialNumberBC, IssuerAndSerialNumberBCFips, KeyPurposeIdBC, KeyPurposeIdBCFips, KeyTransRecipientInfoBC, KeyTransRecipientInfoBCFips, KeyUsageBC, KeyUsageBCFips, MessageImprintBC, MessageImprintBCFips, OCSPResponseBC, OCSPResponseBCFips, OCSPResponseStatusBC, OCSPResponseStatusBCFips, OriginatorInfoBC, OriginatorInfoBCFips, OtherHashAlgAndValueBC, OtherHashAlgAndValueBCFips, PKIFailureInfoBC, PKIFailureInfoBCFips, PrivateKeyInfoBC, PrivateKeyInfoBCFips, RecipientIdentifierBC, RecipientIdentifierBCFips, RecipientInfoBC, RecipientInfoBCFips, ResponseBytesBC, ResponseBytesBCFips, RSASSAPSSParamsBC, RSASSAPSSParamsBCFips, SignaturePolicyIdBC, SignaturePolicyIdBCFips, SignaturePolicyIdentifierBC, SignaturePolicyIdentifierBCFips, SigningCertificateBC, SigningCertificateBCFips, SigningCertificateV2BC, SigningCertificateV2BCFips, SigPolicyQualifierInfoBC, SigPolicyQualifierInfoBCFips, SubjectKeyIdentifierBC, SubjectKeyIdentifierBCFips, SubjectPublicKeyInfoBC, SubjectPublicKeyInfoBCFips, TBSCertificateBC, TBSCertificateBCFips, TimeBC, TimeBCFips, TSTInfoBC, TSTInfoBCFips, X500NameBC, X500NameBCFips

public interface IASN1Encodable
This interface represents the wrapper for ASN1Encodable that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isNull()
    Checks if wrapped object is null.
    Calls actual toASN1Primitive method for the wrapped ASN1Encodable object.
  • Method Details

    • toASN1Primitive

      IASN1Primitive toASN1Primitive()
      Calls actual toASN1Primitive method for the wrapped ASN1Encodable object.
      Returns:
      IASN1Primitive wrapped ASN1Primitive object.
    • isNull

      boolean isNull()
      Checks if wrapped object is null.
      Returns:
      true if null is wrapped, false otherwise.