public class DefaultEncryptor extends Object implements Encryptor
KeyProvider to retrieve the key associated to keyr references.
It use a CryptoAlgorithm to encrypt the data| Constructor and Description |
|---|
DefaultEncryptor(KeyProvider keyProvider,
CryptoAlgorithm cryptoAlgorithm) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
encrypt(byte[] value,
byte[] keyRef)
Encrypt the data.
|
public DefaultEncryptor(KeyProvider keyProvider, CryptoAlgorithm cryptoAlgorithm)
Copyright © 2018. All rights reserved.