@Service public class EncryptionKeySerde extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EncryptionKeySerde.PrivateKeyContainer |
static class |
EncryptionKeySerde.SecretKeyWithIvContainer |
Constructor and Description |
---|
EncryptionKeySerde() |
Modifier and Type | Method and Description |
---|---|
String |
asString(SecretKeyWithIv secretKeyWithIv) |
SecretKeyWithIv |
fromString(String fromString) |
SecretKeyWithIv |
read(InputStream is) |
PrivateKey |
readPrivateKey(InputStream is) |
void |
write(SecretKeyWithIv value,
OutputStream os) |
void |
writePrivateKey(PrivateKey value,
OutputStream os) |
public String asString(SecretKeyWithIv secretKeyWithIv)
public SecretKeyWithIv fromString(String fromString)
public void write(SecretKeyWithIv value, OutputStream os)
public SecretKeyWithIv read(InputStream is)
public void writePrivateKey(PrivateKey value, OutputStream os)
public PrivateKey readPrivateKey(InputStream is)
Copyright © 2020. All rights reserved.