public class XkmsCryptoProvider
extends org.apache.wss4j.common.crypto.CryptoBase
Constructor and Description |
---|
XkmsCryptoProvider(XKMSPortType xkmsConsumer) |
XkmsCryptoProvider(XKMSPortType xkmsConsumer,
org.apache.wss4j.common.crypto.Crypto fallbackCrypto) |
XkmsCryptoProvider(XKMSPortType xkmsConsumer,
org.apache.wss4j.common.crypto.Crypto fallbackCrypto,
boolean allowX509FromJKS) |
XkmsCryptoProvider(XKMSPortType xkmsConsumer,
org.apache.wss4j.common.crypto.Crypto fallbackCrypto,
XKMSClientCache xkmsClientCache,
boolean allowX509FromJKS) |
Modifier and Type | Method and Description |
---|---|
PrivateKey |
getPrivateKey(String identifier,
String password) |
PrivateKey |
getPrivateKey(X509Certificate certificate,
CallbackHandler callbackHandler) |
X509Certificate[] |
getX509Certificates(org.apache.wss4j.common.crypto.CryptoType cryptoType) |
String |
getX509Identifier(X509Certificate cert) |
void |
verifyTrust(PublicKey publicKey) |
void |
verifyTrust(X509Certificate[] certs,
boolean enableRevocation,
Collection<Pattern> subjectCertConstraints) |
createBCX509Name, getBytesFromCertificates, getCertificateFactory, getCertificatesFromBytes, getCryptoProvider, getDefaultX509Identifier, getSKIBytesFromCert, loadCertificate, matches, setCertificateFactory, setCryptoProvider, setDefaultX509Identifier, verifyDirectTrust
public XkmsCryptoProvider(XKMSPortType xkmsConsumer)
public XkmsCryptoProvider(XKMSPortType xkmsConsumer, org.apache.wss4j.common.crypto.Crypto fallbackCrypto)
public XkmsCryptoProvider(XKMSPortType xkmsConsumer, org.apache.wss4j.common.crypto.Crypto fallbackCrypto, boolean allowX509FromJKS)
public XkmsCryptoProvider(XKMSPortType xkmsConsumer, org.apache.wss4j.common.crypto.Crypto fallbackCrypto, XKMSClientCache xkmsClientCache, boolean allowX509FromJKS)
public X509Certificate[] getX509Certificates(org.apache.wss4j.common.crypto.CryptoType cryptoType) throws org.apache.wss4j.common.ext.WSSecurityException
org.apache.wss4j.common.ext.WSSecurityException
public String getX509Identifier(X509Certificate cert) throws org.apache.wss4j.common.ext.WSSecurityException
org.apache.wss4j.common.ext.WSSecurityException
public PrivateKey getPrivateKey(X509Certificate certificate, CallbackHandler callbackHandler) throws org.apache.wss4j.common.ext.WSSecurityException
org.apache.wss4j.common.ext.WSSecurityException
public PrivateKey getPrivateKey(String identifier, String password) throws org.apache.wss4j.common.ext.WSSecurityException
org.apache.wss4j.common.ext.WSSecurityException
public void verifyTrust(X509Certificate[] certs, boolean enableRevocation, Collection<Pattern> subjectCertConstraints) throws org.apache.wss4j.common.ext.WSSecurityException
org.apache.wss4j.common.ext.WSSecurityException
public void verifyTrust(PublicKey publicKey) throws org.apache.wss4j.common.ext.WSSecurityException
org.apache.wss4j.common.ext.WSSecurityException
Apache CXF