|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.asn1.der.DERObject
org.apache.asn1.der.DERString
public abstract class DERString
Interface for DER string objects.
Field Summary |
---|
Fields inherited from class org.apache.asn1.der.DERObject |
---|
APPLICATION, BIT_STRING, BMP_STRING, BOOLEAN, CONSTRUCTED, ENUMERATED, EXTERNAL, GENERAL_STRING, GENERALIZED_TIME, GRAPHIC_STRING, IA5_STRING, INTEGER, NULL, NUMERIC_STRING, OBJECT_IDENTIFIER, OCTET_STRING, PRINTABLE_STRING, SEQUENCE, SET, T61_STRING, tag, TAGGED, TERMINATOR, UNIVERSAL_STRING, UTC_TIME, UTF8_STRING, value, VIDEOTEX_STRING, VISIBLE_STRING |
Constructor Summary | |
---|---|
DERString(int tag,
byte[] value)
Basic DERObject constructor. |
Method Summary | |
---|---|
protected static java.lang.String |
byteArrayToString(byte[] bytes)
Utility method for converting byte arrays to Strings. |
java.lang.String |
getString()
Lazy accessor. |
protected static byte[] |
stringToByteArray(java.lang.String string)
Utility method for converting Strings to bytes. |
Methods inherited from class org.apache.asn1.der.DERObject |
---|
encode, equals, getOctets, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
DERString(int tag, byte[] value)
Method Detail |
---|
public java.lang.String getString()
protected static java.lang.String byteArrayToString(byte[] bytes)
bytes
-
protected static byte[] stringToByteArray(java.lang.String string)
string
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |