Module crypt.api

Enum Class SecurityProvider

java.lang.Object
java.lang.Enum<SecurityProvider>
io.github.astrapi69.crypt.api.provider.SecurityProvider
All Implemented Interfaces:
Serializable, Comparable<SecurityProvider>, Constable

public enum SecurityProvider extends Enum<SecurityProvider>
  • Enum Constant Details

    • BC

      public static final SecurityProvider BC
      The BouncyCastle SecurityProvider
    • SUN

      public static final SecurityProvider SUN
      The sun SecurityProvider
    • UNKNOWN

      public static final SecurityProvider UNKNOWN
      The enum constant 'UNKNOWN' if the security provider is unknown or cannot be resolved
  • Method Details

    • values

      public static SecurityProvider[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SecurityProvider valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null