public class Asn1Value
extends java.lang.Object
Constructor and Description |
---|
Asn1Value() |
Modifier and Type | Method and Description |
---|---|
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.
|
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 stringAsn1ValueParseException
public static byte[] parseString(java.lang.String value) throws Asn1ValueParseException
value
- The ASN.1 value specification textAsn1ValueParseException