java.lang.Object | |
↳ | xades4j.providers.impl.KeyStoreKeyingDataProvider |
Known Direct Subclasses |
A KeyStore-based implementation of KeyingDataProvider
. The keystore is
loaded on first access (thread-safe).
The following procedure is done to get the signing certificate:
SigningCertSelector
to choose the certificate and thus the entryThe following procedure is done to get the signing key:
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
KeyStoreKeyingDataProvider.KeyEntryPasswordProvider | Provides a password to access a keystore entry. | ||||||||||
KeyStoreKeyingDataProvider.KeyStoreBuilderCreator | Gets a builder that will create the keystore instance. | ||||||||||
KeyStoreKeyingDataProvider.KeyStorePasswordProvider | Provides a password to load the keystore. | ||||||||||
KeyStoreKeyingDataProvider.SigningCertSelector | Used to select a certificate from the available certificates. |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the signing certificate chain to be used in an ongoing signature operation.
| |||||||||||
Gets the signing key that matches a signing certificate.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets a protection parameter to access the specified entry.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
xades4j.providers.KeyingDataProvider
|
returnFullChain | return the full certificate chain, if available |
---|
Gets the signing certificate chain to be used in an ongoing signature operation. At least the signing certificate must be present. Other certificates may be present, possibly up to the trust anchor.
Gets the signing key that matches a signing certificate. The certificate
supplied to this method is ALWAYS the first of the collection returned in
the previous call to getSigningCertificateChain
.
signingCert | the certificate for which the corresponding key should be returned |
---|
signingCert
Gets a protection parameter to access the specified entry.
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 ) |