Class ASN1EncodableBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
- All Implemented Interfaces:
-
IASN1Encodable
- Direct Known Subclasses:
-
AlgorithmIdentifierBCFips,ASN1PrimitiveBCFips,AttributeBCFips,AuthorityKeyIdentifierBCFips,BasicConstraintsBCFips,BasicOCSPResponseBCFips,ContentInfoBCFips,CRLDistPointBCFips,CRLReasonBCFips,DistributionPointBCFips,DistributionPointNameBCFips,EncryptedContentInfoBCFips,EnvelopedDataBCFips,ESSCertIDBCFips,ESSCertIDv2BCFips,ExtendedKeyUsageBCFips,ExtensionBCFips,ExtensionsBCFips,GeneralNameBCFips,GeneralNamesBCFips,IssuerAndSerialNumberBCFips,IssuingDistributionPointBCFips,KeyPurposeIdBCFips,KeyTransRecipientInfoBCFips,KeyUsageBCFips,MessageImprintBCFips,OCSPResponseBCFips,OCSPResponseStatusBCFips,OriginatorInfoBCFips,OtherHashAlgAndValueBCFips,PrivateKeyInfoBCFips,RecipientIdentifierBCFips,RecipientInfoBCFips,ResponseBytesBCFips,RSASSAPSSParamsBCFips,SignaturePolicyIdBCFips,SignaturePolicyIdentifierBCFips,SigningCertificateBCFips,SigningCertificateV2BCFips,SigPolicyQualifierInfoBCFips,SubjectKeyIdentifierBCFips,SubjectPublicKeyInfoBCFips,TBSCertificateBCFips,TimeBCFips,TSTInfoBCFips,X500NameBCFips
Wrapper class for
ASN1Encodable.
-
Constructor Summary
ConstructorsConstructorDescriptionASN1EncodableBCFips(org.bouncycastle.asn1.ASN1Encodable encodable) Creates new wrapper instance forASN1Encodable. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.org.bouncycastle.asn1.ASN1EncodableGets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.booleanisNull()Checks if wrapped object is null.Calls actualtoASN1Primitivemethod for the wrapped ASN1Encodable object.toString()DelegatestoStringmethod call to the wrapped object.
-
Constructor Details
-
ASN1EncodableBCFips
public ASN1EncodableBCFips(org.bouncycastle.asn1.ASN1Encodable encodable) Creates new wrapper instance forASN1Encodable.- Parameters:
-
encodable-ASN1Encodableto be wrapped
-
-
Method Details
-
getEncodable
public org.bouncycastle.asn1.ASN1Encodable getEncodable()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1Encodable.
-
toASN1Primitive
Calls actualtoASN1Primitivemethod for the wrapped ASN1Encodable object.- Specified by:
-
toASN1Primitivein interfaceIASN1Encodable - Returns:
-
IASN1Primitivewrapped ASN1Primitive object.
-
isNull
public boolean isNull()Checks if wrapped object is null.- Specified by:
-
isNullin interfaceIASN1Encodable - Returns:
-
true if
nullis wrapped, false otherwise.
-
equals
Indicates whether some other object is "equal to" this one. Compares wrapped objects. -
hashCode
public int hashCode()Returns a hash code value based on the wrapped object. -
toString
DelegatestoStringmethod call to the wrapped object.
-