- All Known Subinterfaces:
Address
- All Known Implementing Classes:
BitString
,DtlsAddress
,GenericAddress
,IpAddress
,OctetString
,Opaque
,SecretOctetString
,SMIAddress
,TcpAddress
,TlsAddress
,TransportIpAddress
,TsmSecurityParameters
,UdpAddress
,VariantVariable
public interface AssignableFromByteArray
The
AssignableFromByteArray
interface describes objects whose
value can be set from a byte array and converted back to a byte array.- Since:
- 1.7
- Version:
- 1.8
- Author:
- Frank Fock
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setValue
(byte[] value) Sets the value of this object from the supplied byte array.byte[]
Returns the value of this object as a byte array.
-
Method Details
-
setValue
void setValue(byte[] value) Sets the value of this object from the supplied byte array.- Parameters:
value
- a byte array.
-
toByteArray
byte[] toByteArray()Returns the value of this object as a byte array.- Returns:
- a byte array.
- Since:
- 1.8
-