Class ExtendedKeyUsageBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.x509.ExtendedKeyUsageBC
- All Implemented Interfaces:
IASN1Encodable
,IExtendedKeyUsage
Wrapper class for
ExtendedKeyUsage
.-
Constructor Summary
ConstructorsConstructorDescriptionExtendedKeyUsageBC
(IKeyPurposeId purposeId) Creates new wrapper instance forExtendedKeyUsage
.ExtendedKeyUsageBC
(IKeyPurposeId[] purposeIds) Creates new wrapper instance forExtendedKeyUsage
.ExtendedKeyUsageBC
(org.bouncycastle.asn1.x509.ExtendedKeyUsage extendedKeyUsage) Creates new wrapper instance forExtendedKeyUsage
. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.x509.ExtendedKeyUsage
Gets actual org.bouncycastle object being wrapped.private static org.bouncycastle.asn1.x509.KeyPurposeId[]
unwrapPurposeIds
(IKeyPurposeId[] purposeIds) 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
-
Constructor Details
-
ExtendedKeyUsageBC
public ExtendedKeyUsageBC(org.bouncycastle.asn1.x509.ExtendedKeyUsage extendedKeyUsage) Creates new wrapper instance forExtendedKeyUsage
.- Parameters:
extendedKeyUsage
-ExtendedKeyUsage
to be wrapped
-
ExtendedKeyUsageBC
Creates new wrapper instance forExtendedKeyUsage
.- Parameters:
purposeId
- KeyPurposeId wrapper
-
ExtendedKeyUsageBC
Creates new wrapper instance forExtendedKeyUsage
.- Parameters:
purposeIds
- KeyPurposeId wrappers array
-
-
Method Details
-
getExtendedKeyUsage
public org.bouncycastle.asn1.x509.ExtendedKeyUsage getExtendedKeyUsage()Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
ExtendedKeyUsage
.
-
unwrapPurposeIds
private static org.bouncycastle.asn1.x509.KeyPurposeId[] unwrapPurposeIds(IKeyPurposeId[] purposeIds)
-