|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.objsys.asn1j.runtime.Asn1Value
public class Asn1Value
This class provides methods for parsing and formatting text in ASN.1 value notation.
Constructor Summary | |
---|---|
Asn1Value()
|
Method Summary | |
---|---|
static byte[] |
parseString(java.lang.String value)
This overloaded version of the parseString method sets the numbits holder value to null. |
static byte[] |
parseString(java.lang.String value,
IntHolder numbits)
This static method parses the given ASN.1 value text (either a binary or hex data string) and returns the value in a binary byte array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Asn1Value()
Method Detail |
---|
public static byte[] parseString(java.lang.String value, IntHolder numbits) throws Asn1ValueParseException
value
- The ASN.1 value specification textnumbits
- Holder to receive number of bits in string
Asn1ValueParseException
public static byte[] parseString(java.lang.String value) throws Asn1ValueParseException
value
- The ASN.1 value specification text
Asn1ValueParseException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |