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