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.Merlin
NAME_CONSTRAINTS_OID
 
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, certFactMap, keystore
 
Constructor Summary
SecuredCrypto(Properties props)
           
SecuredCrypto(Properties props, ClassLoader cl)
           
 
Method Summary
protected  Properties decryptProperties(Properties props)
           
protected  String decryptString(String value)
           
protected  String[] getPassKeys()
           
protected  AbstractDecrypter loadDecrypter(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
createKeyStoreErrorMessage, 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(Properties props)
              throws org.apache.ws.security.components.crypto.CredentialException,
                     IOException
Throws:
org.apache.ws.security.components.crypto.CredentialException
IOException

SecuredCrypto

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

loadDecrypter

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

decryptProperties

protected Properties decryptProperties(Properties props)

decryptString

protected String decryptString(String value)

getPassKeys

protected String[] getPassKeys()


Copyright © 2004-2013. All Rights Reserved.