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
public class ASN1ObjectIdentifierBC extends ASN1PrimitiveBC implements IASN1ObjectIdentifier
Wrapper class forASN1ObjectIdentifier.
-
-
Constructor Summary
Constructors Constructor Description ASN1ObjectIdentifierBC(java.lang.String identifier)Creates new wrapper instance forASN1ObjectIdentifier.ASN1ObjectIdentifierBC(org.bouncycastle.asn1.ASN1ObjectIdentifier identifier)Creates new wrapper instance forASN1ObjectIdentifier.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.asn1.ASN1ObjectIdentifiergetASN1ObjectIdentifier()Gets actual org.bouncycastle object being wrapped.java.lang.StringgetId()Calls actualgetIdmethod 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 Detail
-
ASN1ObjectIdentifierBC
public ASN1ObjectIdentifierBC(java.lang.String identifier)
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 Detail
-
getASN1ObjectIdentifier
public org.bouncycastle.asn1.ASN1ObjectIdentifier getASN1ObjectIdentifier()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
ASN1ObjectIdentifier.
-
getId
public java.lang.String getId()
Calls actualgetIdmethod for the wrapped ASN1ObjectIdentifier object.- Specified by:
getIdin interfaceIASN1ObjectIdentifier- Returns:
- string ID.
-
-