Class SupportedProofTypeData
java.lang.Object
org.keycloak.protocol.oid4vc.model.SupportedProofTypeData
Represents the supported proof type data for a given proof type in the OpenID for Verifiable Credential Issuance.
- Author:
- Bertrand Ogen
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for Jackson deserializationSupportedProofTypeData(List<String> signingAlgorithmsSupported, KeyAttestationsRequired keyAttestationsRequired) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanReturns the key attestations required.inthashCode()setKeyAttestationsRequired(KeyAttestationsRequired keyAttestationsRequired) setSigningAlgorithmsSupported(List<String> signingAlgorithmsSupported)
-
Constructor Details
-
SupportedProofTypeData
public SupportedProofTypeData()Default constructor for Jackson deserialization -
SupportedProofTypeData
public SupportedProofTypeData(List<String> signingAlgorithmsSupported, KeyAttestationsRequired keyAttestationsRequired)
-
-
Method Details
-
getSigningAlgorithmsSupported
-
setSigningAlgorithmsSupported
public SupportedProofTypeData setSigningAlgorithmsSupported(List<String> signingAlgorithmsSupported) -
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
-
hashCode
public int hashCode()
-