org.apache.karaf.jaas.config
Interface KeystoreInstance
- All Known Implementing Classes:
- ResourceKeystoreInstance
public interface KeystoreInstance
Based on http://svn.apache.org/repos/asf/geronimo/trunk/modules/management/
src/java/org/apache/geronimo/management/geronimo/KeystoreInstance.java
getName
String getName()
getRank
int getRank()
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
- Throws:
NoSuchAlgorithmException
UnrecoverableKeyException
KeyStoreException
KeystoreIsLocked
getTrustManager
TrustManager[] getTrustManager(String algorithm)
throws KeyStoreException,
NoSuchAlgorithmException,
KeystoreIsLocked
- Throws:
KeyStoreException
NoSuchAlgorithmException
KeystoreIsLocked
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.