-
- All Superinterfaces:
TrustStoreDescriptor
- All Known Subinterfaces:
KeyStoreDescriptor.KeyStoreDescriptorBuilder
- All Known Implementing Classes:
KeyStoreDescriptorBuilderImpl
,KeyStoreDescriptorImpl
public interface KeyStoreDescriptor extends TrustStoreDescriptor
Describes the data required to access aKeyStore
.TheKeyStore
is used to decide which authentication credentials should be sent to the remote host for authentication during SSL handshake. If you are an SSL Server you will use a private key during key exchange algorithm and send certificates corresponding to your public keys to client, this certificate is acquired fromKeyStore
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
KeyStoreDescriptor.KeyStoreDescriptorBuilder
The mutableKeyStoreDescriptor.KeyStoreDescriptorBuilder
extends theKeyStoreDescriptor
with manipulator methods.-
Nested classes/interfaces inherited from interface org.refcodes.security.TrustStoreDescriptor
TrustStoreDescriptor.TrustStoreDescriptorBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getKeyPassword()
Retrieves the key's password.-
Methods inherited from interface org.refcodes.security.TrustStoreDescriptor
getStoreFile, getStorePassword, getStoreType
-
-
-
-
Method Detail
-
getKeyPassword
String getKeyPassword()
Retrieves the key's password.- Returns:
- The key password.
-
-