public abstract class JceKeyImpl extends Object
| Constructor and Description |
|---|
JceKeyImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected static org.mule.runtime.extension.api.exception.ModuleException |
buildOperationException(Exception exception,
String cipherText,
Key key,
int mode) |
protected abstract Cipher |
createCipher(int mode,
JceEncryptionKeyAlgorithmSelection algorithmSelection) |
InputStream |
decrypt(InputStream inputStream,
JceEncryptionKeyAlgorithmSelection algorithmSelection) |
InputStream |
encrypt(InputStream inputStream,
JceEncryptionKeyAlgorithmSelection algorithmSelection) |
static boolean |
isJCEInstalled() |
abstract String |
sign(InputStream content,
JceSignatureKeyAlgorithm algorithm) |
abstract boolean |
validate(InputStream value,
String expected,
JceSignatureKeyAlgorithm algorithm) |
public static boolean isJCEInstalled()
public InputStream encrypt(InputStream inputStream, JceEncryptionKeyAlgorithmSelection algorithmSelection)
public InputStream decrypt(InputStream inputStream, JceEncryptionKeyAlgorithmSelection algorithmSelection)
protected abstract Cipher createCipher(int mode, JceEncryptionKeyAlgorithmSelection algorithmSelection)
public abstract String sign(InputStream content, JceSignatureKeyAlgorithm algorithm)
public abstract boolean validate(InputStream value, String expected, JceSignatureKeyAlgorithm algorithm)
Copyright © 2019 MuleSoft, Inc.. All rights reserved.