public class IdentityKeyStoreWrapper extends KeyStoreWrapper
log| Constructor and Description |
|---|
IdentityKeyStoreWrapper() |
| Modifier and Type | Method and Description |
|---|---|
java.security.KeyStore |
getIdentityKeyStore()
Abstraction for getting Private Entry KeyStore(Identity)
|
java.security.PrivateKey |
getPrivateKey()
Returns the private key based on initialization data
|
java.security.PrivateKey |
getPrivateKey(java.lang.String alias)
Returns the private key based on initialization data
|
java.security.PrivateKey |
getPrivateKey(java.lang.String alias,
java.lang.String keyPassword)
Returns the private or secret key based on given password and alias
|
void |
init(IdentityKeyStoreInformation information,
java.lang.String keyPassword) |
getDefaultPrivateKey, getKey, getKeyStore, getPublicKey, getPublicKey, getPublicKeyFromCertificate, getSecretKey, getSecretKey, initpublic void init(IdentityKeyStoreInformation information, java.lang.String keyPassword)
public java.security.PrivateKey getPrivateKey(java.lang.String alias,
java.lang.String keyPassword)
alias - The alias of the certificate in the specified keyStorekeyPassword - Password to access private keypublic java.security.PrivateKey getPrivateKey()
public java.security.PrivateKey getPrivateKey(java.lang.String alias)
getPrivateKey in class KeyStoreWrapperalias - The aliaspublic java.security.KeyStore getIdentityKeyStore()
Copyright © 2005-2022 Apache Software Foundation. All Rights Reserved.