Class PKCSObjectIdentifiersBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.asn1.pcks.PKCSObjectIdentifiersBC
-
- All Implemented Interfaces:
IPKCSObjectIdentifiers
public class PKCSObjectIdentifiersBC extends java.lang.Object implements IPKCSObjectIdentifiers
Wrapper class forPKCSObjectIdentifiers.
-
-
Field Summary
Fields Modifier and Type Field Description private static ASN1ObjectIdentifierBCDATAprivate static ASN1ObjectIdentifierBCENVELOPED_DATAprivate static ASN1ObjectIdentifierBCID_AA_ETS_SIG_POLICY_IDprivate static ASN1ObjectIdentifierBCID_AA_SIGNATURE_TIME_STAMP_TOKENprivate static ASN1ObjectIdentifierBCID_SPQ_ETS_URIprivate static PKCSObjectIdentifiersBCINSTANCEprivate org.bouncycastle.asn1.pkcs.PKCSObjectIdentifierspkcsObjectIdentifiers
-
Constructor Summary
Constructors Constructor Description PKCSObjectIdentifiersBC(org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers pkcsObjectIdentifiers)Creates new wrapper instance forPKCSObjectIdentifiers.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Indicates whether some other object is "equal to" this one.IASN1ObjectIdentifiergetData()Getsdataconstant for the wrapped PKCSObjectIdentifiers.IASN1ObjectIdentifiergetEnvelopedData()GetsenvelopedDataconstant for the wrapped PKCSObjectIdentifiers.IASN1ObjectIdentifiergetIdAaEtsSigPolicyId()Getsid_aa_ets_sigPolicyIdconstant for the wrapped PKCSObjectIdentifiers.IASN1ObjectIdentifiergetIdAaSignatureTimeStampToken()Getsid_aa_signatureTimeStampTokenconstant for the wrapped PKCSObjectIdentifiers.IASN1ObjectIdentifiergetIdSpqEtsUri()Getsid_spq_ets_uriconstant for the wrapped PKCSObjectIdentifiers.static PKCSObjectIdentifiersBCgetInstance()Gets wrapper instance.org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiersgetPKCSObjectIdentifiers()Gets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.java.lang.StringtoString()DelegatestoStringmethod call to the wrapped object.
-
-
-
Field Detail
-
INSTANCE
private static final PKCSObjectIdentifiersBC INSTANCE
-
ID_AA_ETS_SIG_POLICY_ID
private static final ASN1ObjectIdentifierBC ID_AA_ETS_SIG_POLICY_ID
-
ID_AA_SIGNATURE_TIME_STAMP_TOKEN
private static final ASN1ObjectIdentifierBC ID_AA_SIGNATURE_TIME_STAMP_TOKEN
-
ID_SPQ_ETS_URI
private static final ASN1ObjectIdentifierBC ID_SPQ_ETS_URI
-
ENVELOPED_DATA
private static final ASN1ObjectIdentifierBC ENVELOPED_DATA
-
DATA
private static final ASN1ObjectIdentifierBC DATA
-
pkcsObjectIdentifiers
private final org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers pkcsObjectIdentifiers
-
-
Method Detail
-
getInstance
public static PKCSObjectIdentifiersBC getInstance()
Gets wrapper instance.- Returns:
PKCSObjectIdentifiersBCinstance.
-
getPKCSObjectIdentifiers
public org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers getPKCSObjectIdentifiers()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
PKCSObjectIdentifiers.
-
getIdAaSignatureTimeStampToken
public IASN1ObjectIdentifier getIdAaSignatureTimeStampToken()
Getsid_aa_signatureTimeStampTokenconstant for the wrapped PKCSObjectIdentifiers.- Specified by:
getIdAaSignatureTimeStampTokenin interfaceIPKCSObjectIdentifiers- Returns:
- PKCSObjectIdentifiers.id_aa_signatureTimeStampToken wrapper.
-
getIdAaEtsSigPolicyId
public IASN1ObjectIdentifier getIdAaEtsSigPolicyId()
Getsid_aa_ets_sigPolicyIdconstant for the wrapped PKCSObjectIdentifiers.- Specified by:
getIdAaEtsSigPolicyIdin interfaceIPKCSObjectIdentifiers- Returns:
- PKCSObjectIdentifiers.id_aa_ets_sigPolicyId wrapper.
-
getIdSpqEtsUri
public IASN1ObjectIdentifier getIdSpqEtsUri()
Getsid_spq_ets_uriconstant for the wrapped PKCSObjectIdentifiers.- Specified by:
getIdSpqEtsUriin interfaceIPKCSObjectIdentifiers- Returns:
- PKCSObjectIdentifiers.id_spq_ets_uri wrapper.
-
getEnvelopedData
public IASN1ObjectIdentifier getEnvelopedData()
GetsenvelopedDataconstant for the wrapped PKCSObjectIdentifiers.- Specified by:
getEnvelopedDatain interfaceIPKCSObjectIdentifiers- Returns:
- PKCSObjectIdentifiers.envelopedData wrapper.
-
getData
public IASN1ObjectIdentifier getData()
Getsdataconstant for the wrapped PKCSObjectIdentifiers.- Specified by:
getDatain interfaceIPKCSObjectIdentifiers- Returns:
- PKCSObjectIdentifiers.data wrapper.
-
equals
public boolean equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. Compares wrapped objects.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Returns a hash code value based on the wrapped object.- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
DelegatestoStringmethod call to the wrapped object.- Overrides:
toStringin classjava.lang.Object
-
-