## 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 |

- - ### 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)`

  - ### 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)`
    `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.

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