org.apache.ws.security.components.crypto
Class MerlinDevice

java.lang.Object
  extended by org.apache.ws.security.components.crypto.CryptoBase
      extended by org.apache.ws.security.components.crypto.Merlin
          extended by org.apache.ws.security.components.crypto.MerlinDevice
All Implemented Interfaces:
Crypto

public class MerlinDevice
extends Merlin

A Crypto implementation based on two Java KeyStore objects, one being the keystore, and one being the truststore. This Crypto implementation extends the default Merlin implementation by allowing loading of keystores using a null InputStream - for example on a smart-card device.


Field Summary
 
Fields inherited from class org.apache.ws.security.components.crypto.Merlin
certFact, crlCertStore, CRYPTO_CERT_PROVIDER, CRYPTO_KEYSTORE_PROVIDER, keystore, KEYSTORE_ALIAS, KEYSTORE_FILE, KEYSTORE_PASSWORD, KEYSTORE_PRIVATE_PASSWORD, KEYSTORE_TYPE, LOAD_CA_CERTS, loadCACerts, OLD_KEYSTORE_FILE, privatePasswordSet, properties, truststore, TRUSTSTORE_FILE, TRUSTSTORE_PASSWORD, TRUSTSTORE_TYPE, X509_CRL_FILE
 
Fields inherited from class org.apache.ws.security.components.crypto.CryptoBase
certFactMap, cryptoProvider, defaultAlias, NAME_CONSTRAINTS_OID, SKI_OID
 
Constructor Summary
MerlinDevice()
           
 
Method Summary
 void loadProperties(Properties properties, ClassLoader loader)
           
 
Methods inherited from class org.apache.ws.security.components.crypto.Merlin
getCertificateFactory, getCRLCertStore, getDefaultX509Identifier, getKeyStore, getPrivateKey, getPrivateKey, getTrustStore, getX509Certificates, getX509Identifier, load, loadInputStream, loadProperties, setCRLCertStore, setKeyStore, setTrustStore, verifyTrust, verifyTrust, verifyTrust
 
Methods inherited from class org.apache.ws.security.components.crypto.CryptoBase
createBCX509Name, getBytesFromCertificates, getCertificatesFromBytes, getCryptoProvider, getSKIBytesFromCert, loadCertificate, setCertificateFactory, setCryptoProvider, setDefaultX509Identifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MerlinDevice

public MerlinDevice()
Method Detail

loadProperties

public void loadProperties(Properties properties,
                           ClassLoader loader)
                    throws CredentialException,
                           IOException
Overrides:
loadProperties in class Merlin
Throws:
CredentialException
IOException


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.