org.keycloak.common.util

## Class KeystoreUtil

- java.lang.Object
- - org.keycloak.common.util.KeystoreUtil

-     public class KeystoreUtil
      extends Object

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `KeystoreUtil.KeystoreFormat`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `KeystoreUtil()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static KeyPair` | `loadKeyPairFromKeystore(String keystoreFile, String storePassword, String keyPassword, String keyAlias, KeystoreUtil.KeystoreFormat format)`
    `static KeyStore` | `loadKeyStore(String filename, String password)`

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

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

- - ### Constructor Detail

    - #### KeystoreUtil

          public KeystoreUtil()

  - ### Method Detail

    - #### loadKeyStore

          public static KeyStore loadKeyStore(String filename,
                                              String password)
                                       throws Exception

      Throws:
        `Exception`

    - #### loadKeyPairFromKeystore

          public static KeyPair loadKeyPairFromKeystore(String keystoreFile,
                                                        String storePassword,
                                                        String keyPassword,
                                                        String keyAlias,
                                                        KeystoreUtil.KeystoreFormat format)

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