Interface CertManager
public interface CertManager
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createCertificate
(CertData certData) void
exportCert
(String alias, boolean add) generateCSR
(String alias) void
generateKeyStore
(String[] aliases, String storePass, OutputStream out) getKs()
getPrivateKey
(String alias) getSecretKey
(String alias) void
void
importKey
(String alias, PrivateKey privateKey, X509Certificate cert) boolean
isTrusted
(X509Certificate cert) void
reload()
void
void
resetPassword
(String keyStorePassword) void
void
void
-
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
-