public class OtherName extends ASN1Object
OtherName ::= SEQUENCE {
type-id OBJECT IDENTIFIER,
value [0] EXPLICIT ANY DEFINED BY type-id }
| Constructor and Description |
|---|
OtherName(ASN1ObjectIdentifier typeID,
ASN1Encodable value)
Base constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static OtherName |
getInstance(java.lang.Object obj)
OtherName factory method.
|
ASN1ObjectIdentifier |
getTypeID() |
ASN1Encodable |
getValue() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectpublic OtherName(ASN1ObjectIdentifier typeID, ASN1Encodable value)
typeID - the type of the other name.value - the ANY object that represents the value.public static OtherName getInstance(java.lang.Object obj)
obj - the object used to construct an instance of
OtherName. It must be an instance of OtherName
or ASN1Sequence.OtherName built from the
supplied object.java.lang.IllegalArgumentException - if the object passed
to the factory is not an instance of OtherName or something that
can be converted into an appropriate ASN1Sequence.public ASN1ObjectIdentifier getTypeID()
public ASN1Encodable getValue()
public ASN1Primitive toASN1Primitive()
ASN1ObjecttoASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object