public final class KeyPairModel extends Object
KeyPairModel, a plugin should define a field in
its PluginConfiguration with a type of KeyPairModel and configure the associated
ConfigurationField to use a ConfigurationModelAccessor of KeyPairAccessor.
A KeyPairModel is guaranteed to be uniquely identified by the id returned from getId()). This field
is also the only field utilized for hashCode() and equals(Object).| Constructor and Description |
|---|
KeyPairModel(String id,
String alias,
KeyStore.PrivateKeyEntry privateKeyEntry)
Construct a
KeyPairModel. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAlias() |
String |
getId() |
KeyStore.PrivateKeyEntry |
getPrivateKeyEntry() |
int |
hashCode() |
String |
toString() |
public KeyPairModel(String id, String alias, KeyStore.PrivateKeyEntry privateKeyEntry)
KeyPairModel.id - the id of the associated key pairalias - the alias for the associated key pairprivateKeyEntry - the key data for the associated key pairpublic String getId()
public String getAlias()
public KeyStore.PrivateKeyEntry getPrivateKeyEntry()
Copyright 2023 Ping Identity Corp. All rights reserved.