org.apache.servicemix.jbi.security.keystore
Interface KeystoreInstance

All Known Implementing Classes:
FileKeystoreInstance

public interface KeystoreInstance

Based on http://svn.apache.org/repos/asf/geronimo/trunk/modules/management/ src/java/org/apache/geronimo/management/geronimo/KeystoreInstance.java

Version:
$Rev: $ $Date: $

Method Summary
 Certificate getCertificate(String alias)
           
 String getCertificateAlias(Certificate cert)
           
 Certificate[] getCertificateChain(String alias)
           
 KeyManager[] getKeyManager(String algorithm, String keyAlias)
           
 String getName()
           
 PrivateKey getPrivateKey(String alias)
           
 TrustManager[] getTrustManager(String algorithm)
           
 boolean isKeyLocked(String keyAlias)
           
 boolean isKeystoreLocked()
           
 String[] listPrivateKeys()
           
 String[] listTrustCertificates()
           
 

Method Detail

getName

String getName()

listPrivateKeys

String[] listPrivateKeys()

listTrustCertificates

String[] listTrustCertificates()

getCertificate

Certificate getCertificate(String alias)

getCertificateAlias

String getCertificateAlias(Certificate cert)

getCertificateChain

Certificate[] getCertificateChain(String alias)

getPrivateKey

PrivateKey getPrivateKey(String alias)

isKeystoreLocked

boolean isKeystoreLocked()

isKeyLocked

boolean isKeyLocked(String keyAlias)

getKeyManager

KeyManager[] getKeyManager(String algorithm,
                           String keyAlias)
                           throws NoSuchAlgorithmException,
                                  UnrecoverableKeyException,
                                  KeyStoreException,
                                  KeystoreIsLocked,
                                  KeystoreIsLocked
Throws:
NoSuchAlgorithmException
UnrecoverableKeyException
KeyStoreException
KeystoreIsLocked

getTrustManager

TrustManager[] getTrustManager(String algorithm)
                               throws KeyStoreException,
                                      NoSuchAlgorithmException,
                                      KeystoreIsLocked
Throws:
KeyStoreException
NoSuchAlgorithmException
KeystoreIsLocked


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.