public class ASN1ObjectIdentifier extends DERObjectIdentifier
Constructor and Description |
---|
ASN1ObjectIdentifier(java.lang.String identifier) |
Modifier and Type | Method and Description |
---|---|
ASN1ObjectIdentifier |
branch(java.lang.String branchID)
Return an OID that creates a branch under the current one.
|
boolean |
on(ASN1ObjectIdentifier stem)
Return true if this oid is an extension of the passed in branch, stem.
|
getBody, getId, getInstance, getInstance, hashCode, toString
equals, fromByteArray, toASN1Primitive
getEncoded, getEncoded, hasEncodedTagValue, toASN1Object
public ASN1ObjectIdentifier branch(java.lang.String branchID)
branchID
- node numbers for the new branch.public boolean on(ASN1ObjectIdentifier stem)
stem
- the arc or branch that is a possible parent.