Uses of Class
org.keycloak.crypto.KeyWrapper
Package
Description
-
Uses of KeyWrapper in org.keycloak.broker.oidc
Modifier and TypeMethodDescriptionprotected KeyWrapper
OIDCIdentityProvider.getIdentityProviderKeyWrapper
(JWSInput jws) -
Uses of KeyWrapper in org.keycloak.crypto
Modifier and TypeMethodDescriptionKeyWrapper.cloneKey()
PublicKeysWrapper.getKeyByKidAndAlg
(String kid, String alg) Find an appropriate key given a KID and algorithm.PublicKeysWrapper.getKeyByPredicate
(Predicate<KeyWrapper> predicate) Returns the first key that matches the predicate.Modifier and TypeMethodDescriptionstatic void
SignatureProvider.checkKeyForSignature
(KeyWrapper key, String algorithm, String type) static void
SignatureProvider.checkKeyForVerification
(KeyWrapper key, String algorithm, String type) AsymmetricSignatureProvider.signer
(KeyWrapper key) ECDSASignatureProvider.signer
(KeyWrapper key) EdDSASignatureProvider.signer
(KeyWrapper key) MacSecretSignatureProvider.signer
(KeyWrapper key) SignatureProvider.signer
(KeyWrapper key) AsymmetricSignatureProvider.verifier
(KeyWrapper key) ECDSASignatureProvider.verifier
(KeyWrapper key) EdDSASignatureProvider.verifier
(KeyWrapper key) MacSecretSignatureProvider.verifier
(KeyWrapper key) SignatureProvider.verifier
(KeyWrapper key) Modifier and TypeMethodDescriptionPublicKeysWrapper.getKeyByPredicate
(Predicate<KeyWrapper> predicate) Returns the first key that matches the predicate.ModifierConstructorDescription -
Uses of KeyWrapper in org.keycloak.keys
Modifier and TypeMethodDescriptionprotected KeyWrapper
AbstractEcKeyProvider.createKeyWrapper
(KeyPair keyPair, String algorithm, KeyUse keyUse, X509Certificate selfSignedCertificate) protected KeyWrapper
AbstractEddsaKeyProvider.createKeyWrapper
(KeyPair keyPair, String curveName) protected KeyWrapper
AbstractRsaKeyProvider.createKeyWrapper
(KeyPair keyPair, X509Certificate certificate, List<X509Certificate> certificateChain, KeyUse keyUse) protected KeyWrapper
AbstractRsaKeyProvider.createKeyWrapper
(KeyPair keyPair, X509Certificate certificate, KeyUse keyUse) DefaultKeyManager.getActiveKey
(RealmModel realm, KeyUse use, String algorithm) PublicKeyStorageProvider.getFirstPublicKey
(String modelKey, String algorithm, PublicKeyLoader loader) Get first found public key to verify messages signed by particular client having several public keys.PublicKeyStorageProvider.getFirstPublicKey
(String modelKey, Predicate<KeyWrapper> predicate, PublicKeyLoader loader) Get the first public key that matches the predicate.DefaultKeyManager.getKey
(RealmModel realm, String kid, KeyUse use, String algorithm) PublicKeyStorageProvider.getPublicKey
(String modelKey, String kid, String algorithm, PublicKeyLoader loader) Get public key to verify messages signed by particular client.protected abstract KeyWrapper
AbstractEcKeyProvider.loadKey
(RealmModel realm, ComponentModel model) protected abstract KeyWrapper
AbstractEddsaKeyProvider.loadKey
(RealmModel realm, ComponentModel model) protected abstract KeyWrapper
AbstractRsaKeyProvider.loadKey
(RealmModel realm, ComponentModel model) protected KeyWrapper
GeneratedEcdhKeyProvider.loadKey
(RealmModel realm, ComponentModel model) protected KeyWrapper
GeneratedEcdsaKeyProvider.loadKey
(RealmModel realm, ComponentModel model) protected KeyWrapper
GeneratedEddsaKeyProvider.loadKey
(RealmModel realm, ComponentModel model) ImportedRsaKeyProvider.loadKey
(RealmModel realm, ComponentModel model) protected KeyWrapper
JavaKeystoreKeyProvider.loadKey
(RealmModel realm, ComponentModel model) Modifier and TypeMethodDescriptionPublicKeyStorageProvider.getKeys
(String modelKey, PublicKeyLoader loader) Getter for all the keys in the model key.AbstractEcKeyProvider.getKeysStream()
AbstractEddsaKeyProvider.getKeysStream()
AbstractGeneratedSecretKeyProvider.getKeysStream()
AbstractRsaKeyProvider.getKeysStream()
DefaultKeyManager.getKeysStream
(RealmModel realm) DefaultKeyManager.getKeysStream
(RealmModel realm, KeyUse use, String algorithm) JavaKeystoreKeyProvider.getKeysStream()
KeyProvider.getKeysStream()
Returns theKeyWrapper
for aKeyProvider
.Modifier and TypeMethodDescriptionPublicKeyStorageProvider.getFirstPublicKey
(String modelKey, Predicate<KeyWrapper> predicate, PublicKeyLoader loader) Get the first public key that matches the predicate. -
Uses of KeyWrapper in org.keycloak.keys.infinispan
Modifier and TypeMethodDescriptionInfinispanPublicKeyStorageProvider.getFirstPublicKey
(String modelKey, String algorithm, PublicKeyLoader loader) InfinispanPublicKeyStorageProvider.getFirstPublicKey
(String modelKey, Predicate<KeyWrapper> predicate, PublicKeyLoader loader) If the key is found in the cache that is returned straight away.InfinispanPublicKeyStorageProvider.getPublicKey
(String modelKey, String kid, String algorithm, PublicKeyLoader loader) Modifier and TypeMethodDescriptionInfinispanPublicKeyStorageProvider.getKeys
(String modelKey, PublicKeyLoader loader) return all keys under the model key.Modifier and TypeMethodDescriptionInfinispanPublicKeyStorageProvider.getFirstPublicKey
(String modelKey, Predicate<KeyWrapper> predicate, PublicKeyLoader loader) If the key is found in the cache that is returned straight away. -
Uses of KeyWrapper in org.keycloak.keys.loader
Modifier and TypeMethodDescriptionstatic KeyWrapper
PublicKeyStorageManager.getClientPublicKeyWrapper
(KeycloakSession session, ClientModel client, JWK.Use keyUse, String algAlgorithm) static KeyWrapper
PublicKeyStorageManager.getClientPublicKeyWrapper
(KeycloakSession session, ClientModel client, JWSInput input) static KeyWrapper
PublicKeyStorageManager.getIdentityProviderKeyWrapper
(KeycloakSession session, RealmModel realm, OIDCIdentityProviderConfig idpConfig, JWSInput input) protected KeyWrapper
HardcodedPublicKeyLoader.getSavedPublicKey()
protected KeyWrapper
OIDCIdentityProviderPublicKeyLoader.getSavedPublicKey()
-
Uses of KeyWrapper in org.keycloak.models
Modifier and TypeMethodDescriptionKeyManager.getActiveKey
(RealmModel realm, KeyUse use, String algorithm) KeyManager.getKey
(RealmModel realm, String kid, KeyUse use, String algorithm) Modifier and TypeMethodDescriptionKeyManager.getKeysStream
(RealmModel realm) Returns allKeyWrapper
for the given realm.KeyManager.getKeysStream
(RealmModel realm, KeyUse use, String algorithm) Returns allKeyWrapper
for the given realm that match given criteria. -
Uses of KeyWrapper in org.keycloak.protocol.oid4vc.issuance.signing
Modifier and TypeMethodDescriptionprotected KeyWrapper
Returns the key stored under kid, or the active key for the given jws algorithm, -
Uses of KeyWrapper in org.keycloak.protocol.saml
Modifier and TypeMethodDescriptionstatic int
SamlService.compareKeys
(KeyWrapper o1, KeyWrapper o2) -
Uses of KeyWrapper in org.keycloak.social.linkedin
Modifier and TypeMethodDescriptionprotected KeyWrapper
LinkedInOIDCIdentityProvider.getIdentityProviderKeyWrapper
(JWSInput jws) -
Uses of KeyWrapper in org.keycloak.util