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
    • SunJCE

      public static final SecurityProvider SunJCE
      The SunJCE SecurityProvider
    • SunRsaSign

      public static final SecurityProvider SunRsaSign
      The SunRsaSign SecurityProvider
    • SunEC

      public static final SecurityProvider SunEC
      The SunEC SecurityProvider
    • SunJSSE

      public static final SecurityProvider SunJSSE
      The SunJSSE SecurityProvider
    • SunMSCAPI

      public static final SecurityProvider SunMSCAPI
      The SunMSCAPI SecurityProvider
    • SunPKCS11

      public static final SecurityProvider SunPKCS11
      The SunPKCS11 SecurityProvider
    • ApacheShiro

      public static final SecurityProvider ApacheShiro
      The Apache Shiro SecurityProvider
    • Cryptix

      public static final SecurityProvider Cryptix
      The Cryptix SecurityProvider
    • Kura

      public static final SecurityProvider Kura
      The Eclipse Kura SecurityProvider
    • Conscrypt

      public static final SecurityProvider Conscrypt
      The Conscrypt SecurityProvider
    • IBMJCE

      public static final SecurityProvider IBMJCE
      The IBMJCE SecurityProvider
    • IBMJSSE2

      public static final SecurityProvider IBMJSSE2
      The IBMJSSE2 SecurityProvider
    • IBMJCEFIPS

      public static final SecurityProvider IBMJCEFIPS
      The IBMJCEFIPS SecurityProvider
    • UNKNOWN

      public static final SecurityProvider UNKNOWN
      The Unknown SecurityProvider
  • 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
    • fromName

      public static SecurityProvider fromName(String name)
      Resolves the security provider by name.
      Parameters:
      name - the name of the security provider
      Returns:
      the corresponding SecurityProvider or UNKNOWN if not found