Apache CXF API

org.apache.cxf.xkms.crypto.provider
Class XkmsCryptoProviderFactory

java.lang.Object
  extended by org.apache.cxf.xkms.crypto.provider.XkmsCryptoProviderFactory
All Implemented Interfaces:
CryptoProviderFactory

public class XkmsCryptoProviderFactory
extends Object
implements CryptoProviderFactory

For usage in OSGi this factory will be published as a service. Outside OSGi it can be used directly


Constructor Summary
XkmsCryptoProviderFactory(XKMSPortType xkmsConsumer)
           
 
Method Summary
 org.apache.wss4j.common.crypto.Crypto create()
          Create without fallback crypto
 org.apache.wss4j.common.crypto.Crypto create(org.apache.wss4j.common.crypto.Crypto fallbackCrypto)
          Create with fallback crypto
 org.apache.wss4j.common.crypto.Crypto create(Message message)
          Create with merlin fallback settings retrieved from cxf message
 org.apache.wss4j.common.crypto.Crypto create(String keystorePropsPath)
          Create with overridden keystoreProperties to create default Crypto
 org.apache.wss4j.common.crypto.Crypto create(XKMSPortType xkmsClient, org.apache.wss4j.common.crypto.Crypto fallbackCrypto)
          Create with overridden XKMSPortType and fallbackCrypto
 org.apache.wss4j.common.crypto.Crypto create(XKMSPortType xkmsClient, org.apache.wss4j.common.crypto.Crypto fallbackCrypto, boolean allowX509FromJKS)
          Create with overridden XKMSPortType, fallbackCrypto and control of getting X509 from local keystore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XkmsCryptoProviderFactory

public XkmsCryptoProviderFactory(XKMSPortType xkmsConsumer)
Method Detail

create

public org.apache.wss4j.common.crypto.Crypto create(Message message)
Description copied from interface: CryptoProviderFactory
Create with merlin fallback settings retrieved from cxf message

Specified by:
create in interface CryptoProviderFactory
Returns:

create

public org.apache.wss4j.common.crypto.Crypto create()
Description copied from interface: CryptoProviderFactory
Create without fallback crypto

Specified by:
create in interface CryptoProviderFactory
Returns:
xkms crypto

create

public org.apache.wss4j.common.crypto.Crypto create(org.apache.wss4j.common.crypto.Crypto fallbackCrypto)
Description copied from interface: CryptoProviderFactory
Create with fallback crypto

Specified by:
create in interface CryptoProviderFactory
Returns:

create

public org.apache.wss4j.common.crypto.Crypto create(XKMSPortType xkmsClient,
                                                    org.apache.wss4j.common.crypto.Crypto fallbackCrypto)
Description copied from interface: CryptoProviderFactory
Create with overridden XKMSPortType and fallbackCrypto

Specified by:
create in interface CryptoProviderFactory
Returns:

create

public org.apache.wss4j.common.crypto.Crypto create(XKMSPortType xkmsClient,
                                                    org.apache.wss4j.common.crypto.Crypto fallbackCrypto,
                                                    boolean allowX509FromJKS)
Description copied from interface: CryptoProviderFactory
Create with overridden XKMSPortType, fallbackCrypto and control of getting X509 from local keystore

Specified by:
create in interface CryptoProviderFactory
Returns:

create

public org.apache.wss4j.common.crypto.Crypto create(String keystorePropsPath)
Description copied from interface: CryptoProviderFactory
Create with overridden keystoreProperties to create default Crypto

Specified by:
create in interface CryptoProviderFactory
Returns:

Apache CXF API

Apache CXF