@FunctionalInterface
public static interface SecurityManager.EncryptedKeyStoreFunction
SecurityManager.getEncryptedKeyStoreWorker(java.lang.String, java.lang.String, java.lang.String, com.goldencode.p2j.main.ServerKeyStore.Store)
to threads
which have proper server context.Modifier and Type | Method and Description |
---|---|
byte[] |
getEncryptedKeyStore(java.lang.String alias,
java.lang.String ksPassword,
java.lang.String kePassword,
ServerKeyStore.Store type)
Get an encrypted key store with the SSL private key.
|
byte[] getEncryptedKeyStore(java.lang.String alias, java.lang.String ksPassword, java.lang.String kePassword, ServerKeyStore.Store type)
alias
- The alias.ksPassword
- Password used to encrypt the key store.kePassword
- Password used to encrypt the key entry within the store.type
- The store typenull
if the alias does not exist or
the store could not be generated.