Class EncryptionKeySerde
- java.lang.Object
-
- de.adorsys.opba.protocol.facade.services.EncryptionKeySerde
-
@Service public class EncryptionKeySerde extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEncryptionKeySerde.PubAndPrivKeyContainerstatic classEncryptionKeySerde.SecretKeyWithIvContainer
-
Constructor Summary
Constructors Constructor Description EncryptionKeySerde()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringasString(SecretKeyWithIv secretKeyWithIv)SecretKeyWithIvfromString(String fromString)SecretKeyWithIvread(InputStream is)PubAndPrivKeyreadKey(InputStream is)voidwrite(SecretKeyWithIv value, OutputStream os)voidwriteKey(PublicKey publicKey, PrivateKey privKey, OutputStream os)
-
-
-
Method Detail
-
asString
public String asString(SecretKeyWithIv secretKeyWithIv)
-
fromString
public SecretKeyWithIv fromString(String fromString)
-
write
public void write(SecretKeyWithIv value, OutputStream os)
-
read
public SecretKeyWithIv read(InputStream is)
-
writeKey
public void writeKey(PublicKey publicKey, PrivateKey privKey, OutputStream os)
-
readKey
public PubAndPrivKey readKey(InputStream is)
-
-