org.jboss.net.axis.security
Class JBoss14Crypto

java.lang.Object
  extended byorg.apache.ws.security.components.crypto.AbstractCrypto
      extended byorg.apache.ws.security.components.crypto.Merlin
          extended byorg.jboss.net.axis.security.JBoss14Crypto
All Implemented Interfaces:
org.apache.ws.security.components.crypto.Crypto, JBossCrypto

public class JBoss14Crypto
extends org.apache.ws.security.components.crypto.Merlin
implements JBossCrypto

Title:
JBoss14Crypto

Description:
Crypto implementation that can be instantiated with a given keystore (presumably obtained from the SecurityDomain) rather than the properties file expected by Merlin.

Version:
$Revision: 1.3 $
Author:
Jason Essington

Field Summary
 
Fields inherited from class org.apache.ws.security.components.crypto.AbstractCrypto
certFact, keystore, properties
 
Constructor Summary
JBoss14Crypto(KeyStore keystore)
           
 
Method Summary
 String getAliasForX500Principal(X500Principal dn)
           
 
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
getAliasesForDN, getAliasForX509Cert, getAliasForX509Cert, getAliasForX509Cert, getAliasForX509Cert, getAliasForX509CertThumb, getCertificateFactory, getCertificates, getDefaultX509Alias, getKeyStore, getPrivateKey, getSKIBytesFromCert, load, loadCertificate, setKeyStore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.ws.security.components.crypto.Crypto
getAliasesForDN, getAliasForX509Cert, getAliasForX509Cert, getAliasForX509Cert, getAliasForX509Cert, getAliasForX509CertThumb, getCertificateData, getCertificateFactory, getCertificates, getDefaultX509Alias, getKeyStore, getPrivateKey, getSKIBytesFromCert, getX509Certificates, loadCertificate, validateCertPath
 

Constructor Detail

JBoss14Crypto

public JBoss14Crypto(KeyStore keystore)
              throws Exception
Method Detail

getAliasForX500Principal

public String getAliasForX500Principal(X500Principal dn)
                                throws Exception
Specified by:
getAliasForX500Principal in interface JBossCrypto
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.