org.keycloak.keys.loader

## Class HardcodedPublicKeyLoader

- java.lang.Object
- - org.keycloak.keys.loader.HardcodedPublicKeyLoader

- All Implemented Interfaces:
    PublicKeyLoader

      public class HardcodedPublicKeyLoader
      extends Object
      implements PublicKeyLoader

  Author:
    hmlnarik

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HardcodedPublicKeyLoader(String kid, String pem)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected KeyWrapper` | `getSavedPublicKey()`
    `Map<String,KeyWrapper>` | `loadKeys()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### HardcodedPublicKeyLoader

          public HardcodedPublicKeyLoader(String kid,
                                          String pem)

  - ### Method Detail

    - #### loadKeys

          public Map<String,KeyWrapper> loadKeys()
                                          throws Exception

      Specified by:
        `loadKeys` in interface `PublicKeyLoader`
      Throws:
        `Exception`

    - #### getSavedPublicKey

          protected KeyWrapper getSavedPublicKey()

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