public interface KeyStoreKeyIdProvider
KeyStoreSecretStore
s.This type (including all methods, constructors and fields) is continuing to evolve and so should be expected to change, potentially in backwards-incompatible ways even in a minor release. Changes are documented at the time of product release.
Modifier and Type | Method and Description |
---|---|
String |
getKeyId(KeyUse keyUse,
String alias,
PublicKey publicKey,
Optional<Certificate> certificate)
Determine the key ID for the provided public key.
|
String getKeyId(KeyUse keyUse, String alias, PublicKey publicKey, Optional<Certificate> certificate)
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.Copyright © 2010-2018, ForgeRock All Rights Reserved.