public class EncryptionContextSerializer extends Object
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
deserialize(byte[] b)
Deserialize the provided byte array into a map containing key-value pairs comprised of strings.
|
static byte[] |
serialize(Map<String,String> encryptionContext)
Serialize the encryption context provided as a map containing key-value pairs comprised of
strings into a byte array.
|
public static byte[] serialize(Map<String,String> encryptionContext)
encryptionContext
- the map containing the encryption context to serialize.public static Map<String,String> deserialize(byte[] b)
b
- the bytes to deserialize into a map representing the encryption context.Copyright © 2023. All rights reserved.