Enum Class LDSignatureType

java.lang.Object
java.lang.Enum<LDSignatureType>
org.keycloak.protocol.oid4vc.issuance.signing.vcdm.LDSignatureType
All Implemented Interfaces:
Serializable, Comparable<LDSignatureType>, Constable

public enum LDSignatureType extends Enum<LDSignatureType>
Enum containing the w3c-registered Signature Suites
Author:
Stefan Wiedemann
  • Enum Constant Details

    • ED_25519_SIGNATURE_2018

      public static final LDSignatureType ED_25519_SIGNATURE_2018
    • ED_25519_SIGNATURE_2020

      public static final LDSignatureType ED_25519_SIGNATURE_2020
    • ECDSA_SECP_256K1_SIGNATURE_2019

      public static final LDSignatureType ECDSA_SECP_256K1_SIGNATURE_2019
    • RSA_SIGNATURE_2018

      public static final LDSignatureType RSA_SIGNATURE_2018
    • JSON_WEB_SIGNATURE_2020

      public static final LDSignatureType JSON_WEB_SIGNATURE_2020
    • JCS_ED_25519_SIGNATURE_2020

      public static final LDSignatureType JCS_ED_25519_SIGNATURE_2020
  • Method Details

    • values

      public static LDSignatureType[] 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 LDSignatureType 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
    • getValue

      public String getValue()
    • getByValue

      public static LDSignatureType getByValue(String value)