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, IIssuingDistributionPoint, IKeyPurposeId, IKeyTransRecipientInfo, IKeyUsage, IMessageImprint, IOCSPResponse, IOCSPResponseStatus, IOriginatorInfo, IOtherHashAlgAndValue, IPKIFailureInfo, IPrivateKeyInfo, IReasonFlags, IRecipientIdentifier, IRecipientInfo, IResponseBytes, IRSASSAPSSParams, ISignaturePolicyId, ISignaturePolicyIdentifier, ISigningCertificate, ISigningCertificateV2, ISigPolicyQualifierInfo, ISubjectKeyIdentifier, ISubjectPublicKeyInfo, ITBSCertificate, ITime, ITSTInfo, IX500Name
- All Known Implementing Classes:
AlgorithmIdentifierBC, ASN1BitStringBC, ASN1EncodableBC, ASN1EnumeratedBC, ASN1GeneralizedTimeBC, ASN1IntegerBC, ASN1ObjectIdentifierBC, ASN1OctetStringBC, ASN1PrimitiveBC, ASN1SequenceBC, ASN1SetBC, ASN1TaggedObjectBC, ASN1UTCTimeBC, AttributeBC, AuthorityKeyIdentifierBC, BasicConstraintsBC, BasicOCSPResponseBC, ContentInfoBC, CRLDistPointBC, CRLReasonBC, DERIA5StringBC, DERNullBC, DEROctetStringBC, DERSequenceBC, DERSetBC, DERTaggedObjectBC, DistributionPointBC, DistributionPointNameBC, EncryptedContentInfoBC, EnvelopedDataBC, ESSCertIDBC, ESSCertIDv2BC, ExtendedKeyUsageBC, ExtensionBC, ExtensionsBC, GeneralNameBC, GeneralNamesBC, IssuerAndSerialNumberBC, IssuingDistributionPointBC, KeyPurposeIdBC, KeyTransRecipientInfoBC, KeyUsageBC, MessageImprintBC, OCSPResponseBC, OCSPResponseStatusBC, OriginatorInfoBC, OtherHashAlgAndValueBC, PKIFailureInfoBC, PrivateKeyInfoBC, ReasonFlagsBC, RecipientIdentifierBC, RecipientInfoBC, ResponseBytesBC, RSASSAPSSParamsBC, SignaturePolicyIdBC, SignaturePolicyIdentifierBC, SigningCertificateBC, SigningCertificateV2BC, SigPolicyQualifierInfoBC, SubjectKeyIdentifierBC, SubjectPublicKeyInfoBC, TBSCertificateBC, TimeBC, TSTInfoBC, X500NameBC
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 TypeMethodDescriptionbooleanisNull()Checks if wrapped object is null.Calls actualtoASN1Primitivemethod for the wrapped ASN1Encodable object.
-
Method Details
-
toASN1Primitive
IASN1Primitive toASN1Primitive()Calls actualtoASN1Primitivemethod for the wrapped ASN1Encodable object.- Returns:
IASN1Primitivewrapped ASN1Primitive object.
-
isNull
boolean isNull()Checks if wrapped object is null.- Returns:
- true if
nullis wrapped, false otherwise.
-