public final class KeyStoreSecretStore.KeyDetails extends Object
Modifier and Type | Method and Description |
---|---|
String |
getAlias()
Get the alias that this key is stored using in the keystore.
|
Certificate |
getCertificate()
Get the
Certificate instance for the public component of this key. |
PublicKey |
getPublicKey()
Get the
PublicKey component of this key. |
Key |
getSecretKey()
Get the
Key instance for the secret component of this key. |
public String getAlias()
public Key getSecretKey() throws NoSuchSecretException
Key
instance for the secret component of this key.Key
.NoSuchSecretException
- If the key entry cannot be unlocked.public Certificate getCertificate()
Certificate
instance for the public component of this key.Certificate.
public PublicKey getPublicKey()
PublicKey
component of this key.PublicKey
.Copyright © 2010-2018, ForgeRock All Rights Reserved.