## Uses of Class
org.keycloak.crypto.KeyUse

- Packages that use KeyUse
  Package | Description
  --- | ---
  org.keycloak.crypto |
  org.keycloak.jose.jwk |
  org.keycloak.keys |
  org.keycloak.models |
  org.keycloak.representations.idm |

- - ### Uses of KeyUse in org.keycloak.crypto

    Methods in org.keycloak.crypto that return KeyUse
    Modifier and Type | Method and Description
    --- | ---
    `KeyUse` | KeyWrapper.`getUse()`
    `static KeyUse` | KeyUse.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static KeyUse[]` | KeyUse.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

    Methods in org.keycloak.crypto with parameters of type KeyUse
    Modifier and Type | Method and Description
    --- | ---
    `void` | KeyWrapper.`setUse(KeyUse use)`

  - ### Uses of KeyUse in org.keycloak.jose.jwk

    Methods in org.keycloak.jose.jwk with parameters of type KeyUse
    Modifier and Type | Method and Description
    --- | ---
    `JWK` | JWKBuilder.`rsa(Key key, KeyUse keyUse)`
    `JWK` | JWKBuilder.`rsa(Key key, List<X509Certificate> certificates, KeyUse keyUse)`

  - ### Uses of KeyUse in org.keycloak.keys

    Methods in org.keycloak.keys with parameters of type KeyUse
    Modifier and Type | Method and Description
    --- | ---
    `default boolean` | KeyProviderFactory.`createFallbackKeys(KeycloakSession session, KeyUse keyUse, String algorithm)`
    `boolean` | GeneratedRsaKeyProviderFactory.`createFallbackKeys(KeycloakSession session, KeyUse keyUse, String algorithm)`
    `boolean` | GeneratedHmacKeyProviderFactory.`createFallbackKeys(KeycloakSession session, KeyUse keyUse, String algorithm)`
    `boolean` | GeneratedEcdsaKeyProviderFactory.`createFallbackKeys(KeycloakSession session, KeyUse keyUse, String algorithm)`
    `boolean` | GeneratedAesKeyProviderFactory.`createFallbackKeys(KeycloakSession session, KeyUse keyUse, String algorithm)`
    `protected KeyWrapper` | AbstractRsaKeyProvider.`createKeyWrapper(KeyPair keyPair, X509Certificate certificate, KeyUse keyUse)`
    `protected KeyWrapper` | AbstractRsaKeyProvider.`createKeyWrapper(KeyPair keyPair, X509Certificate certificate, List<X509Certificate> certificateChain, KeyUse keyUse)`
    `KeyWrapper` | DefaultKeyManager.`getActiveKey(RealmModel realm, KeyUse use, String algorithm)`
    `KeyWrapper` | DefaultKeyManager.`getKey(RealmModel realm, String kid, KeyUse use, String algorithm)`
    `Stream<KeyWrapper>` | DefaultKeyManager.`getKeysStream(RealmModel realm, KeyUse use, String algorithm)`

    Constructors in org.keycloak.keys with parameters of type KeyUse
    Constructor and Description
    `AbstractGeneratedSecretKeyProvider(ComponentModel model, KeyUse use, String type, String algorithm)`

  - ### Uses of KeyUse in org.keycloak.models

    Methods in org.keycloak.models with parameters of type KeyUse
    Modifier and Type | Method and Description
    --- | ---
    `KeyWrapper` | KeyManager.`getActiveKey(RealmModel realm, KeyUse use, String algorithm)`
    `KeyWrapper` | KeyManager.`getKey(RealmModel realm, String kid, KeyUse use, String algorithm)`
    `default List<KeyWrapper>` | KeyManager.`getKeys(RealmModel realm, KeyUse use, String algorithm)` Deprecated. Use `getKeysStream` instead.
    `Stream<KeyWrapper>` | KeyManager.`getKeysStream(RealmModel realm, KeyUse use, String algorithm)` Returns all `KeyWrapper` for the given realm that match given criteria.

  - ### Uses of KeyUse in org.keycloak.representations.idm

    Methods in org.keycloak.representations.idm that return KeyUse
    Modifier and Type | Method and Description
    --- | ---
    `KeyUse` | KeysMetadataRepresentation.KeyMetadataRepresentation.`getUse()`

    Methods in org.keycloak.representations.idm with parameters of type KeyUse
    Modifier and Type | Method and Description
    --- | ---
    `void` | KeysMetadataRepresentation.KeyMetadataRepresentation.`setUse(KeyUse use)`

Copyright © 2021 JBoss by Red Hat. All rights reserved.