public interface KeyStore
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String keyId) |
PrivateKey |
getPrivateKey(String keyId) |
PublicKey |
getPublicKey(String keyId) |
void |
store(String alias,
KeyPair keyPair)
Stores the
key argument under the alias argument in this KeyStore. |
void store(String alias, KeyPair keyPair)
key argument under the alias argument in this KeyStore.alias - key aliaskeyPair - the key pair to storeKeyStoreException - in case of an error while saving the keyPrivateKey getPrivateKey(String keyId)
void delete(String keyId)
Copyright © 2015–2019. All rights reserved.