Class SupportedProofTypeData

java.lang.Object
org.keycloak.protocol.oid4vc.model.SupportedProofTypeData

public class SupportedProofTypeData extends Object
Represents the supported proof type data for a given proof type in the OpenID for Verifiable Credential Issuance.
Author:
Bertrand Ogen
  • Constructor Details

    • SupportedProofTypeData

      public SupportedProofTypeData()
      Default constructor for Jackson deserialization
    • SupportedProofTypeData

      public SupportedProofTypeData(List<String> signingAlgorithmsSupported, KeyAttestationsRequired keyAttestationsRequired)
  • Method Details

    • getSigningAlgorithmsSupported

      public List<String> getSigningAlgorithmsSupported()
    • setSigningAlgorithmsSupported

      public SupportedProofTypeData setSigningAlgorithmsSupported(List<String> signingAlgorithmsSupported)
    • getKeyAttestationsRequired

      public KeyAttestationsRequired getKeyAttestationsRequired()
      Returns the key attestations required. According to the spec: - If the Credential Issuer does not require a key attestation, this parameter MUST NOT be present (should be null). - If both key_storage and user_authentication parameters are absent, the key_attestations_required parameter may be empty (both fields null), indicating a key attestation is needed without additional constraints.
      Returns:
      KeyAttestationsRequired object, or null if attestation is not required
    • setKeyAttestationsRequired

      public SupportedProofTypeData setKeyAttestationsRequired(KeyAttestationsRequired keyAttestationsRequired)
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object