Class KeyPurposeIdBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.x509.KeyPurposeIdBC
- All Implemented Interfaces:
IASN1Encodable, IKeyPurposeId
Wrapper class for
KeyPurposeId.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final KeyPurposeIdBCprivate static final KeyPurposeIdBC -
Constructor Summary
ConstructorsConstructorDescriptionKeyPurposeIdBC(org.bouncycastle.asn1.x509.KeyPurposeId keyPurposeId) Creates new wrapper instance forKeyPurposeId. -
Method Summary
Modifier and TypeMethodDescriptionGetsid_kp_OCSPSigningconstant for the wrapped KeyPurposeId.static KeyPurposeIdBCGets wrapper instance.org.bouncycastle.asn1.x509.KeyPurposeIdGets actual org.bouncycastle object being wrapped.Methods inherited from class ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toStringMethods inherited from interface IASN1Encodable
isNull, toASN1Primitive
-
Field Details
-
INSTANCE
-
ID_KP_OCSP_SIGNING
-
-
Constructor Details
-
KeyPurposeIdBC
public KeyPurposeIdBC(org.bouncycastle.asn1.x509.KeyPurposeId keyPurposeId) Creates new wrapper instance forKeyPurposeId.- Parameters:
keyPurposeId-KeyPurposeIdto be wrapped
-
-
Method Details
-
getInstance
-
getKeyPurposeId
public org.bouncycastle.asn1.x509.KeyPurposeId getKeyPurposeId()Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
KeyPurposeId.
-
getIdKpOCSPSigning
Getsid_kp_OCSPSigningconstant for the wrapped KeyPurposeId.- Specified by:
getIdKpOCSPSigningin interfaceIKeyPurposeId- Returns:
- KeyPurposeId.id_kp_OCSPSigning value.
-