Class PKCSObjectIdentifiersBC

java.lang.Object
com.itextpdf.bouncycastle.asn1.pcks.PKCSObjectIdentifiersBC
All Implemented Interfaces:
IPKCSObjectIdentifiers

public class PKCSObjectIdentifiersBC extends Object implements IPKCSObjectIdentifiers
Wrapper class for PKCSObjectIdentifiers.
  • Constructor Details

    • PKCSObjectIdentifiersBC

      public PKCSObjectIdentifiersBC (org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers pkcsObjectIdentifiers)
      Creates new wrapper instance for PKCSObjectIdentifiers.
      Parameters:
      pkcsObjectIdentifiers - PKCSObjectIdentifiers to be wrapped
  • Method Details

    • getInstance

      public static PKCSObjectIdentifiersBC getInstance()
      Gets wrapper instance.
      Returns:
      PKCSObjectIdentifiersBC instance.
    • getPKCSObjectIdentifiers

      public org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers getPKCSObjectIdentifiers()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped PKCSObjectIdentifiers.
    • getIdAaSignatureTimeStampToken

      public IASN1ObjectIdentifier getIdAaSignatureTimeStampToken()
      Gets id_aa_signatureTimeStampToken constant for the wrapped PKCSObjectIdentifiers.
      Specified by:
      getIdAaSignatureTimeStampToken in interface IPKCSObjectIdentifiers
      Returns:
      PKCSObjectIdentifiers.id_aa_signatureTimeStampToken wrapper.
    • getIdAaEtsSigPolicyId

      public IASN1ObjectIdentifier getIdAaEtsSigPolicyId()
      Gets id_aa_ets_sigPolicyId constant for the wrapped PKCSObjectIdentifiers.
      Specified by:
      getIdAaEtsSigPolicyId in interface IPKCSObjectIdentifiers
      Returns:
      PKCSObjectIdentifiers.id_aa_ets_sigPolicyId wrapper.
    • getIdSpqEtsUri

      public IASN1ObjectIdentifier getIdSpqEtsUri()
      Gets id_spq_ets_uri constant for the wrapped PKCSObjectIdentifiers.
      Specified by:
      getIdSpqEtsUri in interface IPKCSObjectIdentifiers
      Returns:
      PKCSObjectIdentifiers.id_spq_ets_uri wrapper.
    • getEnvelopedData

      public IASN1ObjectIdentifier getEnvelopedData()
      Gets envelopedData constant for the wrapped PKCSObjectIdentifiers.
      Specified by:
      getEnvelopedData in interface IPKCSObjectIdentifiers
      Returns:
      PKCSObjectIdentifiers.envelopedData wrapper.
    • getData

      public IASN1ObjectIdentifier getData()
      Gets data constant for the wrapped PKCSObjectIdentifiers.
      Specified by:
      getData in interface IPKCSObjectIdentifiers
      Returns:
      PKCSObjectIdentifiers.data wrapper.
    • 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