|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KeyStore
A simple keystore supporting the retrieval and storage of public keys and public/private key pairs. A key store may choose whether to allow the updating of existing keys.
Method Summary | |
---|---|
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. |
Method Detail |
---|
PrivateKey getPrivateKey(String alias)
alias
- Key alias
PublicKey getPublicKey(String alias)
alias
- Key alias
KeyPair getKeyPair(String alias)
alias
- Key alias
void storeKeyPair(String alias, KeyPair keyPair)
alias
- Key aliaskeyPair
- Key pair to storevoid storePublicKey(String alias, PublicKey publicKey)
alias
- Key aliaspublicKey
- Key pair to store
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |