Class Overview
A specification of KeyStoreKeyingDataProvider
for file-system keystores.
The protection parameter to access the entry is a PasswordProtection
with a password obtained directly from the KeyStorePasswordProvider
.
Summary
[Expand]
Inherited Methods |
From class
xades4j.providers.impl.KeyStoreKeyingDataProvider
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
xades4j.providers.KeyingDataProvider
abstract
List<X509Certificate>
|
getSigningCertificateChain()
Gets the signing certificate chain to be used in an ongoing signature operation.
|
abstract
PrivateKey
|
getSigningKey(X509Certificate signingCert)
Gets the signing key that matches a signing certificate.
|
|
Public Constructors
Parameters
keyStoreType
| the type of the keystore (jks, pkcs12, etc) |
keyStorePath
| the file-system path of the keystore |
certificateSelector
| the selector of signing certificate |
keyStorePasswordProvider
| the provider of the keystore loading password |
entryPasswordProvider
| the provider of entry passwords |
returnFullChain
| indicates of the full certificate chain should be returned, if available |
Protected Methods
protected
KeyStore.ProtectionParameter
getKeyProtection
(String entryAlias, X509Certificate entryCert, KeyStoreKeyingDataProvider.KeyEntryPasswordProvider entryPasswordProvider)
Gets a protection parameter to access the specified entry.
Parameters
entryAlias
| the alias of the entry that is being accessed |
entryCert
| the cerificate in the entry |
entryPasswordProvider
| the password provider that should be used to
get the actual password (may be null ) |