Enum Class ClientIdentifier

java.lang.Object
java.lang.Enum<ClientIdentifier>
org.keycloak.broker.oid4vp.ClientIdentifier
All Implemented Interfaces:
Serializable, Comparable<ClientIdentifier>, Constable

public enum ClientIdentifier extends Enum<ClientIdentifier>
The OID4VP verifier client_id: a prefix that tells the wallet how to establish trust in the request, followed by a value derived from the verifier signing certificate.

TODO add the remaining certificate based prefixes such as x509_san_dns.

See Also:
  • Enum Constant Details

  • Method Details

    • values

      public static ClientIdentifier[] 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 ClientIdentifier 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
    • value

      protected abstract String value(X509Certificate leafCertificate)
    • forCertificate

      public String forCertificate(X509Certificate leafCertificate)