org.codehaus.xfire.security.wss4j.crypto
Class SecuredCrypto

java.lang.Object
  extended by org.apache.ws.security.components.crypto.CryptoBase
      extended by org.apache.ws.security.components.crypto.AbstractCrypto
          extended by org.apache.ws.security.components.crypto.Merlin
              extended by org.codehaus.xfire.security.wss4j.crypto.SecuredCrypto
All Implemented Interfaces:
org.apache.ws.security.components.crypto.Crypto

public class SecuredCrypto
extends org.apache.ws.security.components.crypto.Merlin

Author:
Tomasz Sztelak

Field Summary
 
Fields inherited from class org.apache.ws.security.components.crypto.AbstractCrypto
certFact, properties
 
Fields inherited from class org.apache.ws.security.components.crypto.CryptoBase
cacerts, keystore
 
Constructor Summary
SecuredCrypto(java.util.Properties props)
           
SecuredCrypto(java.util.Properties props, java.lang.ClassLoader cl)
           
 
Method Summary
protected  java.util.Properties decryptProperties(java.util.Properties props)
           
protected  java.lang.String decryptString(java.lang.String value)
           
protected  java.lang.String[] getPassKeys()
           
protected  AbstractDecrypter loadDecrypter(java.util.Map props)
           
 
Methods inherited from class org.apache.ws.security.components.crypto.Merlin
getCertificateData, getX509Certificates, validateCertPath
 
Methods inherited from class org.apache.ws.security.components.crypto.AbstractCrypto
getCryptoProvider, getDefaultX509Alias, load
 
Methods inherited from class org.apache.ws.security.components.crypto.CryptoBase
getAliasesForDN, getAliasForX509Cert, getAliasForX509Cert, getAliasForX509Cert, getAliasForX509Cert, getAliasForX509CertThumb, getCertificateFactory, getCertificates, getKeyStore, getPrivateKey, getSKIBytesFromCert, loadCertificate, setKeyStore, splitAndTrim
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecuredCrypto

public SecuredCrypto(java.util.Properties props)
              throws org.apache.ws.security.components.crypto.CredentialException,
                     java.io.IOException
Throws:
org.apache.ws.security.components.crypto.CredentialException
java.io.IOException

SecuredCrypto

public SecuredCrypto(java.util.Properties props,
                     java.lang.ClassLoader cl)
              throws org.apache.ws.security.components.crypto.CredentialException,
                     java.io.IOException
Throws:
org.apache.ws.security.components.crypto.CredentialException
java.io.IOException
Method Detail

loadDecrypter

protected AbstractDecrypter loadDecrypter(java.util.Map props)
                                   throws java.lang.ClassNotFoundException,
                                          java.lang.InstantiationException,
                                          java.lang.IllegalAccessException
Parameters:
props -
Returns:
Throws:
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException

decryptProperties

protected java.util.Properties decryptProperties(java.util.Properties props)

decryptString

protected java.lang.String decryptString(java.lang.String value)

getPassKeys

protected java.lang.String[] getPassKeys()


Copyright © 2004-2009. All Rights Reserved.