public class KeyStoreManager extends Object
| Constructor and Description |
|---|
KeyStoreManager(KeyStore keyStore)
Constructs an instance of the KeyStoreManager.
|
| Modifier and Type | Method and Description |
|---|---|
Certificate |
getCertificate(String certAlias)
Gets the certificate from the KeyStore with the given alias.
|
KeyStore |
getKeyStore()
Gets the managed
KeyStore. |
PrivateKey |
getPrivateKey(String keyAlias,
String privateKeyPassword)
Gets the Private Key from the KeyStore with the given alias.
|
PublicKey |
getPublicKey(String keyAlias)
Gets the Public Key from the KeyStore with the given alias.
|
X509Certificate |
getX509Certificate(String certAlias)
Gets a X509Certificate from the KeyStore with the given alias.
|
public Certificate getCertificate(String certAlias)
certAlias - The Certificate Alias.public X509Certificate getX509Certificate(String certAlias)
certAlias - The Certificate Alias.public PublicKey getPublicKey(String keyAlias)
keyAlias - The Public Key Alias.public PrivateKey getPrivateKey(String keyAlias, String privateKeyPassword)
keyAlias - The Private Key Alias.privateKeyPassword - The private key passwordCopyright © 2025 Open Identity Platform Community. All rights reserved.