public interface KeyStore
Modifier and Type | Method and Description |
---|---|
KeyPair |
getKeyPair(String alias)
Returns a key pair for a specified alias.
|
PrivateKey |
getPrivateKey(String alias) |
PublicKey |
getPublicKey(String alias) |
void |
storeKeyPair(String alias,
KeyPair keyPair)
Stores a key pair against a key alias.
|
void |
storePublicKey(String alias,
PublicKey publicKey)
Stores a public key against a key alias.
|
PrivateKey getPrivateKey(String alias)
alias
- Key aliasPublicKey getPublicKey(String alias)
alias
- Key aliasKeyPair getKeyPair(String alias)
alias
- Key aliasvoid storeKeyPair(String alias, KeyPair keyPair)
alias
- Key aliaskeyPair
- Key pair to storeCopyright © 2003–2015 Atlassian. All rights reserved.