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 ASN1ObjectIdentifierBC
DATA
private static ASN1ObjectIdentifierBC
ENVELOPED_DATA
private static ASN1ObjectIdentifierBC
ID_AA_ETS_SIG_POLICY_ID
private static ASN1ObjectIdentifierBC
ID_AA_SIGNATURE_TIME_STAMP_TOKEN
private static ASN1ObjectIdentifierBC
ID_SPQ_ETS_URI
private static PKCSObjectIdentifiersBC
INSTANCE
private org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers
pkcsObjectIdentifiers
-
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 boolean
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one.IASN1ObjectIdentifier
getData()
Getsdata
constant for the wrapped PKCSObjectIdentifiers.IASN1ObjectIdentifier
getEnvelopedData()
GetsenvelopedData
constant for the wrapped PKCSObjectIdentifiers.IASN1ObjectIdentifier
getIdAaEtsSigPolicyId()
Getsid_aa_ets_sigPolicyId
constant for the wrapped PKCSObjectIdentifiers.IASN1ObjectIdentifier
getIdAaSignatureTimeStampToken()
Getsid_aa_signatureTimeStampToken
constant for the wrapped PKCSObjectIdentifiers.IASN1ObjectIdentifier
getIdSpqEtsUri()
Getsid_spq_ets_uri
constant for the wrapped PKCSObjectIdentifiers.static PKCSObjectIdentifiersBC
getInstance()
Gets wrapper instance.org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers
getPKCSObjectIdentifiers()
Gets actual org.bouncycastle object being wrapped.int
hashCode()
Returns a hash code value based on the wrapped object.java.lang.String
toString()
DelegatestoString
method 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:
PKCSObjectIdentifiersBC
instance.
-
getPKCSObjectIdentifiers
public org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers getPKCSObjectIdentifiers()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
PKCSObjectIdentifiers
.
-
getIdAaSignatureTimeStampToken
public IASN1ObjectIdentifier getIdAaSignatureTimeStampToken()
Getsid_aa_signatureTimeStampToken
constant for the wrapped PKCSObjectIdentifiers.- Specified by:
getIdAaSignatureTimeStampToken
in interfaceIPKCSObjectIdentifiers
- Returns:
- PKCSObjectIdentifiers.id_aa_signatureTimeStampToken wrapper.
-
getIdAaEtsSigPolicyId
public IASN1ObjectIdentifier getIdAaEtsSigPolicyId()
Getsid_aa_ets_sigPolicyId
constant for the wrapped PKCSObjectIdentifiers.- Specified by:
getIdAaEtsSigPolicyId
in interfaceIPKCSObjectIdentifiers
- Returns:
- PKCSObjectIdentifiers.id_aa_ets_sigPolicyId wrapper.
-
getIdSpqEtsUri
public IASN1ObjectIdentifier getIdSpqEtsUri()
Getsid_spq_ets_uri
constant for the wrapped PKCSObjectIdentifiers.- Specified by:
getIdSpqEtsUri
in interfaceIPKCSObjectIdentifiers
- Returns:
- PKCSObjectIdentifiers.id_spq_ets_uri wrapper.
-
getEnvelopedData
public IASN1ObjectIdentifier getEnvelopedData()
GetsenvelopedData
constant for the wrapped PKCSObjectIdentifiers.- Specified by:
getEnvelopedData
in interfaceIPKCSObjectIdentifiers
- Returns:
- PKCSObjectIdentifiers.envelopedData wrapper.
-
getData
public IASN1ObjectIdentifier getData()
Getsdata
constant for the wrapped PKCSObjectIdentifiers.- Specified by:
getData
in 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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Returns a hash code value based on the wrapped object.- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
DelegatestoString
method call to the wrapped object.- Overrides:
toString
in classjava.lang.Object
-
-