![]() |
|
Contents |
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 }
Public Member Functions | |
| OtherName (String typeID, byte[] value) | |
| TODO. | |
| String | getTypeID () |
| Returns the value of typeID field of the structure. | |
| byte[] | getValue () |
| Returns the value of value field of the structure. | |
| byte[] | getEncoded () |
| Returns ASN.1 encoded form of this X.509 OtherName value. | |
Static Public Attributes | |
| static final ASN1Sequence | ASN1 |
| ASN.1 DER X.509 OtherName encoder/decoder class. | |
Private Member Functions | |
| OtherName (String typeID, byte[] value, byte[] encoding) | |
Private Attributes | |
| String | typeID |
| byte[] | value |
| byte[] | encoding |
| OtherName | ( | String | typeID, | |
| byte[] | value | |||
| ) |
TODO.
| typeID,: | String | |
| value,: | byte[] |
| OtherName | ( | String | typeID, | |
| byte[] | value, | |||
| byte[] | encoding | |||
| ) | [private] |
| String getTypeID | ( | ) |
Returns the value of typeID field of the structure.
| byte [] getValue | ( | ) |
Returns the value of value field of the structure.
| byte [] getEncoded | ( | ) |
Returns ASN.1 encoded form of this X.509 OtherName value.
String typeID [private] |
byte [] value [private] |
byte [] encoding [private] |
final ASN1Sequence ASN1 [static] |
Initial value:
new ASN1Sequence(new ASN1Type[] { ASN1Oid.getInstance(), new ASN1Explicit(0, ASN1Any.getInstance()) }) { protected Object getDecodedObject(BerInputStream in) { Object[] values = (Object[]) in.content; return new OtherName(ObjectIdentifier.toString((int[]) values[0]), (byte[]) values[1], in.getEncoded()); } protected void getValues(Object object, Object[] values) { OtherName on = (OtherName) object; values[0] = ObjectIdentifier.toIntArray(on.typeID); values[1] = on.value; } }