Class KeyPurposeIdBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
com.itextpdf.bouncycastlefips.asn1.x509.KeyPurposeIdBCFips
- All Implemented Interfaces:
-
IASN1Encodable
,IKeyPurposeId
Wrapper class for
KeyPurposeId
.
-
Constructor Summary
ConstructorDescriptionKeyPurposeIdBCFips
(org.bouncycastle.asn1.x509.KeyPurposeId keyPurposeId) Creates new wrapper instance forKeyPurposeId
. -
Method Summary
Modifier and TypeMethodDescriptionGetsid_kp_OCSPSigning
constant for the wrapped KeyPurposeId.static KeyPurposeIdBCFips
Gets wrapper instance.org.bouncycastle.asn1.x509.KeyPurposeId
Gets actual org.bouncycastle object being wrapped.Methods inherited from class com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
equals, getEncodable, hashCode, isNull, toASN1Primitive, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1Primitive
-
Constructor Details
-
KeyPurposeIdBCFips
public KeyPurposeIdBCFips(org.bouncycastle.asn1.x509.KeyPurposeId keyPurposeId) Creates new wrapper instance forKeyPurposeId
.- Parameters:
-
keyPurposeId
-KeyPurposeId
to be wrapped
-
-
Method Details
-
getInstance
Gets wrapper instance.- Returns:
-
KeyPurposeIdBCFips
instance.
-
getKeyPurposeId
public org.bouncycastle.asn1.x509.KeyPurposeId getKeyPurposeId()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
KeyPurposeId
.
-
getIdKpOCSPSigning
Getsid_kp_OCSPSigning
constant for the wrapped KeyPurposeId.- Specified by:
-
getIdKpOCSPSigning
in interfaceIKeyPurposeId
- Returns:
- KeyPurposeId.id_kp_OCSPSigning value.
-