public class DerValue extends Object
ASN1/DER for the
Kerberos desktop authentication module. It parses the byte array
into [Tag, Length, Data] form.| Constructor and Description |
|---|
DerValue(byte[] data)
Construct from a byte-array.
|
DerValue(ByteArrayInputStream input)
Construct from a byte input stream.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData()
Get the data.
|
int |
getLength()
Get the length.
|
byte |
getTag()
Get the tag.
|
static String |
printByte(byte code)
Print the byte as a hex string.
|
static String |
printByteArray(byte[] token,
int from,
int len)
Convert a byte array to a hex string.
|
public DerValue(byte[] data)
data - The data.public DerValue(ByteArrayInputStream input)
input - The data.public byte getTag()
public int getLength()
public byte[] getData()
public static String printByte(byte code)
code - The byte.public static String printByteArray(byte[] token, int from, int len)
token - The array.from - Starting point.len - End point.Copyright © 2025 Open Identity Platform Community. All rights reserved.