Class ASN1ObjectIdentifier

All Implemented Interfaces:
ASN1Encodable

public class ASN1ObjectIdentifier
extends DERObjectIdentifier
  • Constructor Details

    • ASN1ObjectIdentifier

      public ASN1ObjectIdentifier​(String identifier)
  • Method Details

    • branch

      public ASN1ObjectIdentifier branch​(String branchID)
      Return an OID that creates a branch under the current one.
      Parameters:
      branchID - node numbers for the new branch.
      Returns:
      the OID for the new created branch.
    • on

      public boolean on​(ASN1ObjectIdentifier stem)
      Return true if this oid is an extension of the passed in branch, stem.
      Parameters:
      stem - the arc or branch that is a possible parent.
      Returns:
      true if the branch is on the passed in stem, false otherwise.