public class PublicKeyByteSerializer extends java.lang.Object implements ByteSerializer<CLPublicKey>
| Constructor and Description |
|---|
PublicKeyByteSerializer() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<CLPublicKey> |
getType()
Obtains the type of the source to be serialized.
|
byte[] |
toBytes(CLPublicKey source)
Converts an object to a byte array.
|
public byte[] toBytes(CLPublicKey source)
ByteSerializertoBytes in interface ByteSerializer<CLPublicKey>source - the source object to convert to bytespublic java.lang.Class<CLPublicKey> getType()
ByteSerializergetType in interface ByteSerializer<CLPublicKey>