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
ConstructorsConstructorDescriptionASN1ObjectIdentifierBC(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.ASN1ObjectIdentifierGets actual org.bouncycastle object being wrapped.getId()Calls actualgetIdmethod for the wrapped ASN1ObjectIdentifier object.Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1PrimitiveBC
getEncoded, getEncoded, getPrimitiveMethods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1PrimitiveMethods 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-ASN1ObjectIdentifierto be wrapped
-
-
Method Details
-
getASN1ObjectIdentifier
public org.bouncycastle.asn1.ASN1ObjectIdentifier getASN1ObjectIdentifier()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ASN1ObjectIdentifier.
-
getId
Calls actualgetIdmethod for the wrapped ASN1ObjectIdentifier object.- Specified by:
-
getIdin interfaceIASN1ObjectIdentifier - Returns:
- string ID.
-