@NotExtensible @ThreadSafety(level=INTERFACE_THREADSAFE) public interface ByteString extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
appendValueTo(ByteStringBuffer buffer)
Appends the value of this byte string to the provided buffer.
|
byte[] |
getValue()
Retrieves a byte array containing the binary value for this byte string.
|
java.lang.String |
stringValue()
Retrieves the value for this byte string as a
String . |
ASN1OctetString |
toASN1OctetString()
Converts this byte string to an ASN.1 octet string.
|
@NotNull byte[] getValue()
@NotNull java.lang.String stringValue()
String
.String
.void appendValueTo(@NotNull ByteStringBuffer buffer)
ByteStringBuffer.append(ByteString)
method, since that
method relies on this method.buffer
- The buffer to which the value should be appended.@NotNull ASN1OctetString toASN1OctetString()