OtherNamepublic class OtherName extends Object The class encapsulates the ASN.1 DER encoding/decoding work
with OtherName structure which is a subpart of GeneralName
(as specified in RFC 3280 -
Internet X.509 Public Key Infrastructure.
Certificate and Certificate Revocation List (CRL) Profile.
http://www.ietf.org/rfc/rfc3280.txt):
OtherName ::= SEQUENCE {
type-id OBJECT IDENTIFIER,
value [0] EXPLICIT ANY DEFINED BY type-id
}
|
Fields Summary |
---|
private String | typeID | private byte[] | value | private byte[] | encoding | public static final org.apache.harmony.security.asn1.ASN1Sequence | ASN1ASN.1 DER X.509 OtherName encoder/decoder class. |
Constructors Summary |
---|
public OtherName(String typeID, byte[] value)TODO
this(typeID, value, null);
| private OtherName(String typeID, byte[] value, byte[] encoding)
this.typeID = typeID;
this.value = value;
this.encoding = encoding;
|
Methods Summary |
---|
public byte[] | getEncoded()Returns ASN.1 encoded form of this X.509 OtherName value.
if (encoding == null) {
encoding = ASN1.encode(this);
}
return encoding;
| public java.lang.String | getTypeID()Returns the value of typeID field of the structure.
return typeID;
| public byte[] | getValue()Returns the value of value field of the structure.
return value;
|
|