org.bouncycastle.asn1
public class DERObjectIdentifier extends ASN1Object
Constructor Summary | |
---|---|
DERObjectIdentifier(String identifier) |
Method Summary | |
---|---|
String | getId() |
static DERObjectIdentifier | getInstance(Object obj)
return an OID from the passed in object
|
static DERObjectIdentifier | getInstance(ASN1TaggedObject obj, boolean explicit)
return an Object Identifier from a tagged object.
|
int | hashCode() |
String | toString() |
Throws: IllegalArgumentException if the object cannot be converted.
Parameters: obj the tagged object holding the object we want explicit true if the object is meant to be explicitly tagged false otherwise.
Throws: IllegalArgumentException if the tagged object cannot be converted.