Package org.forgerock.openam.secrets
Interface KeyStoreKeyIdProvider
- 
 @EvolvingAll public interface KeyStoreKeyIdProvider This interface allows customization of the key ID values associated with public keys stored inKeyStoreSecretStores.- Since:
- AM 7.0.0
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetKeyId(String keyUse, String alias, PublicKey publicKey, Optional<Certificate> certificate)Determine the key ID for the provided public key.
 
- 
- 
- 
Method Detail- 
getKeyIdString getKeyId(String keyUse, String alias, PublicKey publicKey, Optional<Certificate> certificate) Determine the key ID for the provided public key. The key ID value should be calculated consistently, that is: for the same key use, internal ID, public key combination this method should always return the same value.- Parameters:
- keyUse- Whether the key in question is used for signing or encryption.
- alias- The keystore alias for this key.
- publicKey- The public key.
- certificate- The public certificate.
- Returns:
- The key ID of the provided public key.
 
 
- 
 
-