Enum Class KeyStoreAlgorithms

java.lang.Object
java.lang.Enum<KeyStoreAlgorithms>
org.seppiko.commons.utils.crypto.KeyStoreAlgorithms
All Implemented Interfaces:
Serializable, Comparable<KeyStoreAlgorithms>, Constable

public enum KeyStoreAlgorithms extends Enum<KeyStoreAlgorithms>
KeyStore algorithm
Author:
Leonard Woo
See Also:
  • Enum Constant Details

    • JCEKS

      public static final KeyStoreAlgorithms JCEKS
      The proprietary keystore implementation provided by the SunJCE provider.
    • JKS

      public static final KeyStoreAlgorithms JKS
      The proprietary keystore implementation provided by the SUN provider.
    • DKS

      public static final KeyStoreAlgorithms DKS
      A domain keystore is a collection of keystores presented as a single logical keystore. It is specified by configuration data whose syntax is described in the DomainLoadStoreParameter class.
    • PKCS11

      public static final KeyStoreAlgorithms PKCS11
      A keystore backed by a PKCS #11 token.
    • PKCS12

      public static final KeyStoreAlgorithms PKCS12
      The transfer syntax for personal identity information as defined in PKCS #12 specified in RFC 7292
  • Method Details

    • values

      public static KeyStoreAlgorithms[] 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 KeyStoreAlgorithms 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
    • getType

      public String getType()
      get algorithm type
      Returns:
      type