Bruce
Search…
Certificates

Certificate

1
Certificate certificate(
2
KeyStore keystore,
3
String alias
4
);
Copied!
Loads a certificate from a given key store.

Usage example

1
KeyStore keystore = keystore("classpath:keystore.p12", "password".toCharArray(), "PKCS12");
2
Certificate certificate = certificate(keystore, "alice");
Copied!
Last modified 6mo ago
Export as PDF
Copy link