Interface CertManager
public interface CertManager
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateCertificate(CertData certData) voidexportCert(String alias, boolean add) generateCSR(String alias) voidgenerateKeyStore(String[] aliases, String storePass, OutputStream out) getKs()getPrivateKey(String alias) getSecretKey(String alias) voidvoidimportKey(String alias, PrivateKey privateKey, X509Certificate cert) booleanisTrusted(X509Certificate cert) voidreload()voidvoidresetPassword(String keyStorePassword) voidvoidvoid
-
Method Details
-
getSslKeys
-
getSslKeysList
-
getSessionKeys
-
getSessionKeysList
-
getLocalKeys
-
getLocalKeysList
-
getRemoteCerts
-
getRemoteCertsList
-
getLastMilKeys
-
getLastMilKeysList
-
reload
-
getTrustedCerts
-
getTrustedCertsList
-
getCert
- Throws:
Exception
-
getSecretKey
-
generateCSR
-
exportCert
-
createKey
-
createCertificate
-
generateKeyStore
- Throws:
Exception
-
storeCert
-
remove
-
getPrivateKey
- Throws:
Exception
-
isTrusted
- Throws:
Exception
-
resetPassword
-
importKey
- Throws:
Exception
-
importKey
void importKey(String alias, byte[] key) throws KeyStoreException, NoSuchAlgorithmException, CertificateException, FileNotFoundException, IOException -
storeKey
void storeKey(String name, String keyData) throws KeyStoreException, NoSuchAlgorithmException, CertificateException, FileNotFoundException, IOException -
getKs
KeyStore getKs() -
getKsPassword
String getKsPassword() -
storeKeyStore
void storeKeyStore() throws KeyStoreException, NoSuchAlgorithmException, CertificateException, FileNotFoundException, IOException
-