public class JCEEncrypter extends Object implements Encrypter
| Constructor and Description |
|---|
JCEEncrypter(String transformation,
EncryptionKeyFactory keyFactory) |
JCEEncrypter(String transformation,
EncryptionKeyFactory keyFactory,
boolean useRandomIV) |
JCEEncrypter(String transformation,
String provider,
EncryptionKeyFactory keyFactory) |
JCEEncrypter(String transformation,
String provider,
EncryptionKeyFactory keyFactory,
boolean useRandomIV) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] content)
Decrypts the given data
|
byte[] |
encrypt(byte[] content)
Encrypts the given data
|
protected AlgorithmParameterSpec |
getAlgorithmParameterSpec(IvParameterSpec ivParam) |
public JCEEncrypter(String transformation, EncryptionKeyFactory keyFactory)
public JCEEncrypter(String transformation, String provider, EncryptionKeyFactory keyFactory)
public JCEEncrypter(String transformation, EncryptionKeyFactory keyFactory, boolean useRandomIV)
public JCEEncrypter(String transformation, String provider, EncryptionKeyFactory keyFactory, boolean useRandomIV)
public byte[] decrypt(byte[] content)
throws MuleEncryptionException
Encrypterdecrypt in interface EncrypterMuleEncryptionExceptionpublic byte[] encrypt(byte[] content)
throws MuleEncryptionException
Encrypterencrypt in interface EncrypterMuleEncryptionExceptionprotected AlgorithmParameterSpec getAlgorithmParameterSpec(IvParameterSpec ivParam)
Copyright © 2022 MuleSoft, Inc.. All rights reserved.