Class PrivateKeyRecordSerDe
java.lang.Object
org.gridgain.internal.security.key.store.serde.PrivateKeyRecordSerDe
Utility class for serializing and deserializing
PrivateKeyRecord.-
Method Summary
Modifier and TypeMethodDescriptionstatic PrivateKeyRecorddeserialize(byte[] bytes) DeserializesPrivateKeyRecordfrom byte array.static byte[]serialize(PrivateKeyRecord record) SerializesPrivateKeyRecordto byte array.
-
Method Details
-
serialize
SerializesPrivateKeyRecordto byte array.- Parameters:
record- Private key record.- Returns:
- Serialized private key record.
-
deserialize
DeserializesPrivateKeyRecordfrom byte array.- Parameters:
bytes- Serialized private key record.- Returns:
- Private key record.
-