|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@NotExtensible @ThreadSafety(level=INTERFACE_THREADSAFE) public interface ByteString
This interface defines a set of methods for treating a value as either a string or byte array.
Method Summary | |
---|---|
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. |
Method Detail |
---|
byte[] getValue()
java.lang.String stringValue()
String
.
String
.void appendValueTo(ByteStringBuffer buffer)
ByteStringBuffer.append(ByteString)
method, since that
method relies on this method.
buffer
- The buffer to which the value should be appended.ASN1OctetString toASN1OctetString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |