uk.ac.soton.itinnovation.grid.utils.wss4j.handler
Class GriaMerlin

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 uk.ac.soton.itinnovation.grid.utils.wss4j.handler.GriaMerlin
All Implemented Interfaces:
org.apache.ws.security.components.crypto.Crypto

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


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, keystore
 
Constructor Summary
GriaMerlin(Identity identity)
           
 
Method Summary
 PrivateKey getPrivateKey(String alias, String password)
           
 
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
getAliasKrbKey, getCryptoProvider, getDefaultX509Alias, getPasswordKrbKey, load, loadCAcerts
 
Methods inherited from class org.apache.ws.security.components.crypto.CryptoBase
getAliasesForDN, getAliasForX509Cert, getAliasForX509Cert, getAliasForX509Cert, getAliasForX509Cert, getAliasForX509CertThumb, getCertificateFactory, getCertificates, getKeyStore, getSKIBytesFromCert, loadCertificate, setKeyStore, splitAndTrim
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GriaMerlin

public GriaMerlin(Identity identity)
           throws org.apache.ws.security.components.crypto.CredentialException,
                  IOException
Throws:
org.apache.ws.security.components.crypto.CredentialException
IOException
Method Detail

getPrivateKey

public PrivateKey getPrivateKey(String alias,
                                String password)
                         throws Exception
Specified by:
getPrivateKey in interface org.apache.ws.security.components.crypto.Crypto
Overrides:
getPrivateKey in class org.apache.ws.security.components.crypto.CryptoBase
Throws:
Exception


Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.