public interface EncryptionService
X509Certificate
,
whereas decrypt uses
the private key stored in a key store.Modifier and Type | Method and Description |
---|---|
byte[] |
decrypt(byte[] toDecrypt) |
byte[] |
encrypt(byte[] toEncrypt)
Encrypt a byte[] by using a
X509Certificate |
byte[] encrypt(byte[] toEncrypt)
X509Certificate
toEncrypt
- byte[] to encryptbyte[] decrypt(byte[] toDecrypt)
toDecrypt
- byte[] to decryptCopyright © 2013-2018–2019 SeedStack. All rights reserved.