An easy way to get signing certificate from pkcs12 keystore usong alias
-
27-06-2021 - |
سؤال
Can anyone tell me if there is an easy way in xades4j to get a signing certificate from a pkcs12 using his alias ?
المحلول
The KeyStoreKeyingDataProvider.SigningCertSelector interface is missing the entry alias. If you really need it now, you can change the KeyStoreKeyingDataProvider.SigningCertSelector interface and the code on KeyStoreKeyingDataProvider. Probably the SigningCertSelector should receive a list of "pairs" {alias, certificate}.
لا تنتمي إلى StackOverflow