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, KeyPurposeIdBCFips, KeyTransRecipientInfoBCFips, KeyUsageBCFips, MessageImprintBCFips, OCSPResponseBCFips, OCSPResponseStatusBCFips, OriginatorInfoBCFips, OtherHashAlgAndValueBCFips, PrivateKeyInfoBCFips, RecipientIdentifierBCFips, RecipientInfoBCFips, ResponseBytesBCFips, RSASSAPSSParamsBCFips, SignaturePolicyIdBCFips, SignaturePolicyIdentifierBCFips, SigningCertificateBCFips, SigningCertificateV2BCFips, SigPolicyQualifierInfoBCFips, SubjectKeyIdentifierBCFips, SubjectPublicKeyInfoBCFips, TBSCertificateBCFips, TimeBCFips, TSTInfoBCFips, X500NameBCFips

public class ASN1EncodableBCFips extends Object implements IASN1Encodable
Wrapper class for ASN1Encodable.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ASN1EncodableBCFips(org.bouncycastle.asn1.ASN1Encodable encodable)
    Creates new wrapper instance for ASN1Encodable.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Indicates whether some other object is "equal to" this one.
    org.bouncycastle.asn1.ASN1Encodable
    Gets actual org.bouncycastle object being wrapped.
    int
    Returns a hash code value based on the wrapped object.
    boolean
    isNull()
    Checks if wrapped object is null.
    Calls actual toASN1Primitive method for the wrapped ASN1Encodable object.
    Delegates toString method call to the wrapped object.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ASN1EncodableBCFips

      public ASN1EncodableBCFips (org.bouncycastle.asn1.ASN1Encodable encodable)
      Creates new wrapper instance for ASN1Encodable.
      Parameters:
      encodable - ASN1Encodable to be wrapped
  • Method Details

    • getEncodable

      public org.bouncycastle.asn1.ASN1Encodable getEncodable()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped ASN1Encodable.
    • toASN1Primitive

      public IASN1Primitive toASN1Primitive()
      Calls actual toASN1Primitive method for the wrapped ASN1Encodable object.
      Specified by:
      toASN1Primitive in interface IASN1Encodable
      Returns:
      IASN1Primitive wrapped ASN1Primitive object.
    • isNull

      public boolean isNull()
      Checks if wrapped object is null.
      Specified by:
      isNull in interface IASN1Encodable
      Returns:
      true if null is wrapped, false otherwise.
    • equals

      public boolean equals (Object o)
      Indicates whether some other object is "equal to" this one. Compares wrapped objects.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Returns a hash code value based on the wrapped object.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Delegates toString method call to the wrapped object.
      Overrides:
      toString in class Object