Class KeyPurposeIdBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
-
- com.itextpdf.bouncycastle.asn1.x509.KeyPurposeIdBC
-
- All Implemented Interfaces:
IASN1Encodable
,IKeyPurposeId
public class KeyPurposeIdBC extends ASN1EncodableBC implements IKeyPurposeId
Wrapper class forKeyPurposeId
.
-
-
Field Summary
Fields Modifier and Type Field Description private static KeyPurposeIdBC
ID_KP_OCSP_SIGNING
private static KeyPurposeIdBC
INSTANCE
-
Constructor Summary
Constructors Constructor Description KeyPurposeIdBC(org.bouncycastle.asn1.x509.KeyPurposeId keyPurposeId)
Creates new wrapper instance forKeyPurposeId
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IKeyPurposeId
getIdKpOCSPSigning()
Getsid_kp_OCSPSigning
constant for the wrapped KeyPurposeId.static KeyPurposeIdBC
getInstance()
Gets wrapper instance.org.bouncycastle.asn1.x509.KeyPurposeId
getKeyPurposeId()
Gets actual org.bouncycastle object being wrapped.-
Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
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
-
-
-
-
Field Detail
-
INSTANCE
private static final KeyPurposeIdBC INSTANCE
-
ID_KP_OCSP_SIGNING
private static final KeyPurposeIdBC ID_KP_OCSP_SIGNING
-
-
Method Detail
-
getInstance
public static KeyPurposeIdBC getInstance()
Gets wrapper instance.- Returns:
KeyPurposeIdBC
instance.
-
getKeyPurposeId
public org.bouncycastle.asn1.x509.KeyPurposeId getKeyPurposeId()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
KeyPurposeId
.
-
getIdKpOCSPSigning
public IKeyPurposeId getIdKpOCSPSigning()
Getsid_kp_OCSPSigning
constant for the wrapped KeyPurposeId.- Specified by:
getIdKpOCSPSigning
in interfaceIKeyPurposeId
- Returns:
- KeyPurposeId.id_kp_OCSPSigning value.
-
-