public class BCKeyStoreFactory extends Object implements KeyStoreFactory
| Constructor and Description |
|---|
BCKeyStoreFactory() |
| Modifier and Type | Method and Description |
|---|---|
KeyStore |
generateKeyStore(String keyAlias,
String commonName,
char[] keystorePassword,
char[] keyPassword) |
KeyStore |
loadKeyStore(File file,
char[] password) |
@NotNull public KeyStore generateKeyStore(String keyAlias, @NotNull String commonName, @Nullable char[] keystorePassword, @NotNull char[] keyPassword) throws KeyStoreException, CertificateException
generateKeyStore in interface KeyStoreFactoryKeyStoreExceptionCertificateException@NotNull public KeyStore loadKeyStore(@NotNull File file, @NotNull char[] password) throws KeyStoreException, IOException, NoSuchAlgorithmException, CertificateException
loadKeyStore in interface KeyStoreFactoryKeyStoreExceptionIOExceptionNoSuchAlgorithmExceptionCertificateExceptionCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.