be.fgov.ehealth.etee.crypto.eid.utils

## Class SecurityConfiguration

- java.lang.Object
- - be.fgov.ehealth.etee.crypto.eid.utils.SecurityConfiguration

-     public final class SecurityConfiguration
      extends java.lang.Object

  This utility class will setup your environment to have all cryptographic functions working for eIDs. It will add the required security providers in correct order to `Security`.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static java.lang.String` | `DEFAULT_PROVIDER_NAME` The name of the default security provider
    `static java.lang.String` | `DEFAULT_PROVIDER_NOT_CONFIGURED` Error message to be thrown, when the default security provider isn't configured in `Security`.

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `configure()` Configure your environment to work with eIDs in eHealth CryptoLib.
    `static java.security.Provider` | `getEIDProvider()`

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

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

- - ### Field Detail

    - #### DEFAULT_PROVIDER_NAME

          public static final java.lang.String DEFAULT_PROVIDER_NAME

      The name of the default security provider
      See Also:
        Constant Field Values

    - #### DEFAULT_PROVIDER_NOT_CONFIGURED

          public static final java.lang.String DEFAULT_PROVIDER_NOT_CONFIGURED

      Error message to be thrown, when the default security provider isn't configured in `Security`.
      See Also:
        Constant Field Values

  - ### Method Detail

    - #### getEIDProvider

          public static java.security.Provider getEIDProvider()

    - #### configure

          public static void configure()

      Configure your environment to work with eIDs in eHealth CryptoLib.

Copyright © 2025 eHealth. All rights reserved.