public class EncryptionHandler extends CipherHandler
CipherHandler.WithEncryptionHeader<T>
cipher, provider
Constructor and Description |
---|
EncryptionHandler(MasterKeyProvider provider) |
Modifier and Type | Method and Description |
---|---|
OciCryptoResult |
encrypt(byte[] data,
Map<String,String> context) |
CipherHandler.WithEncryptionHeader<OciCryptoInputStream> |
getEncryptInputStream(InputStream inputStream,
Map<String,String> context) |
generateDataKey, generateIV, getSecretKeySpec, initCipher
public EncryptionHandler(MasterKeyProvider provider)
public CipherHandler.WithEncryptionHeader<OciCryptoInputStream> getEncryptInputStream(InputStream inputStream, Map<String,String> context)
public OciCryptoResult encrypt(byte[] data, Map<String,String> context) throws IOException
IOException
Copyright © 2016–2024. All rights reserved.