Package com.itextpdf.bouncycastle.asn1
Class ASN1ObjectIdentifierBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.ASN1PrimitiveBC
com.itextpdf.bouncycastle.asn1.ASN1ObjectIdentifierBC
- All Implemented Interfaces:
-
IASN1Encodable
,IASN1ObjectIdentifier
,IASN1Primitive
Wrapper class for
ASN1ObjectIdentifier
.
-
Constructor Summary
ConstructorDescriptionASN1ObjectIdentifierBC
(String identifier) Creates new wrapper instance forASN1ObjectIdentifier
.ASN1ObjectIdentifierBC
(org.bouncycastle.asn1.ASN1ObjectIdentifier identifier) Creates new wrapper instance forASN1ObjectIdentifier
. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1ObjectIdentifier
Gets actual org.bouncycastle object being wrapped.getId()
Calls actualgetId
method for the wrapped ASN1ObjectIdentifier object.Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1PrimitiveBC
getEncoded, getEncoded, getPrimitive
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
Methods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Primitive
getEncoded, getEncoded
-
Constructor Details
-
ASN1ObjectIdentifierBC
Creates new wrapper instance forASN1ObjectIdentifier
.- Parameters:
-
identifier
- string to createASN1ObjectIdentifier
-
ASN1ObjectIdentifierBC
public ASN1ObjectIdentifierBC(org.bouncycastle.asn1.ASN1ObjectIdentifier identifier) Creates new wrapper instance forASN1ObjectIdentifier
.- Parameters:
-
identifier
-ASN1ObjectIdentifier
to be wrapped
-
-
Method Details
-
getASN1ObjectIdentifier
public org.bouncycastle.asn1.ASN1ObjectIdentifier getASN1ObjectIdentifier()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1ObjectIdentifier
.
-
getId
Calls actualgetId
method for the wrapped ASN1ObjectIdentifier object.- Specified by:
-
getId
in interfaceIASN1ObjectIdentifier
- Returns:
- string ID.
-