public class XmlAsymmetricKeyImpl extends XmlKeyImpl
| Modifier and Type | Field and Description |
|---|---|
static String |
DSIG_PREFIX |
fac| Constructor and Description |
|---|
XmlAsymmetricKeyImpl(JceConfiguration config,
JceAsymmetricKeyInfo keyInfo) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
decrypt(InputStream content) |
InputStream |
encrypt(InputStream content,
XmlEncryptionAlgorithm algorithm,
String elementPath) |
KeyInfo |
getKeyInfo(KeyStore.PrivateKeyEntry keyEntry) |
InputStream |
sign(InputStream content,
XmlSignDigestAlgorithm digestAlgorithm,
XmlCanonicalizationAlgorithm canonicalizationAlgorithm,
XmlSignatureType type,
String elementPath) |
boolean |
validate(InputStream content,
String elementPath) |
public static final String DSIG_PREFIX
public XmlAsymmetricKeyImpl(JceConfiguration config, JceAsymmetricKeyInfo keyInfo)
public InputStream encrypt(InputStream content, XmlEncryptionAlgorithm algorithm, String elementPath)
encrypt in class XmlKeyImplpublic InputStream decrypt(InputStream content)
decrypt in class XmlKeyImplpublic InputStream sign(InputStream content, XmlSignDigestAlgorithm digestAlgorithm, XmlCanonicalizationAlgorithm canonicalizationAlgorithm, XmlSignatureType type, String elementPath)
sign in class XmlKeyImplpublic boolean validate(InputStream content, String elementPath)
validate in class XmlKeyImplpublic KeyInfo getKeyInfo(KeyStore.PrivateKeyEntry keyEntry)
Copyright © 2019 MuleSoft, Inc.. All rights reserved.