public interface KeyStoreParameters extends AuthenticationParameters, SourceProvider
KeyStore which
holds the public or private keys to sign or verify a Repository
by an Authentication.
Unless stated otherwise, all no-argument methods need to return consistent objects so that caching them is not required. A returned object is considered to be consistent if it compares equal or at least behaves identical to any previously returned object.
| Modifier and Type | Method and Description |
|---|---|
String |
alias()
Returns the alias of the entry in the key store.
|
char[] |
keyPassword()
Returns a new char array with the password for accessing the private key
in the key entry.
|
Source |
source()
Returns the nullable input source for the key store.
|
char[] |
storePassword()
Returns a new char array with the password for verifying the integrity
of the key store.
|
String |
storeType()
Returns the type of the key store,
for example
"JCEKS" or "JKS". |
String alias()
char[] keyPassword()
It is the caller's responsibility to wipe the contents of the char array
after use, e.g. by a call to Arrays.fill(char[], char).
@CheckForNull Source source()
source in interface SourceProvidernull if and only if the key store type does not
require loading from an input stream.char[] storePassword()
It is the caller's responsibility to wipe the contents of the char array
after use, e.g. by a call to Arrays.fill(char[], char).
Copyright © 2005–2017 Schlichtherle IT Services. All rights reserved.