Package org.forgerock.secrets.keystore
Interface KeyStoreSecretStore.StableIdProvider
-
- Enclosing class:
- KeyStoreSecretStore
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface KeyStoreSecretStore.StableIdProvider
An interface to allow the consuming application to provide the stable ID for the secret.- See Also:
Secret.getStableId()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
stableIdFor(KeyStoreSecretStore.KeyDetails keyDetails, Class<? extends Secret> secretType)
Produce the secret's stable ID.
-
-
-
Method Detail
-
stableIdFor
String stableIdFor(KeyStoreSecretStore.KeyDetails keyDetails, Class<? extends Secret> secretType)
Produce the secret's stable ID.- Parameters:
keyDetails
- Details of the key.secretType
- The type of secret.- Returns:
- The stable ID.
-
-