Package xades4j.providers.impl
Interface KeyStoreKeyingDataProvider.SigningCertificateSelector
- Enclosing class:
- KeyStoreKeyingDataProvider
public static interface KeyStoreKeyingDataProvider.SigningCertificateSelector
Used to select a certificate from the available certificates. All the
X509Certificates in private key entries are passed.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionselectCertificate
(List<KeyStoreKeyingDataProvider.SigningCertificateSelector.Entry> availableCertificates) single()
Creates a certificate selector that returns the only certificate available in the key store.
-
Method Details
-
selectCertificate
KeyStoreKeyingDataProvider.SigningCertificateSelector.Entry selectCertificate(List<KeyStoreKeyingDataProvider.SigningCertificateSelector.Entry> availableCertificates) -
single
Creates a certificate selector that returns the only certificate available in the key store. If the key store contains more than one private key entry, an exception is thrown.- Returns:
- the certificate selector
-