Class ASN1ObjectIdentifierBC

All Implemented Interfaces:
IASN1Encodable, IASN1ObjectIdentifier, IASN1Primitive

public class ASN1ObjectIdentifierBC extends ASN1PrimitiveBC implements IASN1ObjectIdentifier
Wrapper class for ASN1ObjectIdentifier.
  • Constructor Details

    • ASN1ObjectIdentifierBC

      public ASN1ObjectIdentifierBC (String identifier)
      Creates new wrapper instance for ASN1ObjectIdentifier.
      Parameters:
      identifier - string to create ASN1ObjectIdentifier
    • ASN1ObjectIdentifierBC

      public ASN1ObjectIdentifierBC (org.bouncycastle.asn1.ASN1ObjectIdentifier identifier)
      Creates new wrapper instance for ASN1ObjectIdentifier.
      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

      public String getId()
      Calls actual getId method for the wrapped ASN1ObjectIdentifier object.
      Specified by:
      getId in interface IASN1ObjectIdentifier
      Returns:
      string ID.