Constructor and Description |
---|
HibernateKeyStoreDao() |
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.
|
public PrivateKey getPrivateKey(String alias)
getPrivateKey
in interface KeyStore
alias
- Key aliaspublic PublicKey getPublicKey(String alias)
getPublicKey
in interface KeyStore
alias
- Key aliaspublic KeyPair getKeyPair(String alias)
KeyStore
getKeyPair
in interface KeyStore
alias
- Key aliaspublic void storeKeyPair(String alias, KeyPair keyPair)
KeyStore
storeKeyPair
in interface KeyStore
alias
- Key aliaskeyPair
- Key pair to storepublic void storePublicKey(String alias, PublicKey publicKey)
KeyStore
storePublicKey
in interface KeyStore
alias
- Key aliaspublicKey
- Key pair to storeCopyright © 2003–2017 Atlassian. All rights reserved.