Class SupportedCredentialConfiguration
java.lang.Object
org.keycloak.protocol.oid4vc.model.SupportedCredentialConfiguration
A supported credential, as used in the Credentials Issuer Metadata in OID4VCI
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionReturn the verifiable credential type.booleanfromDotNotation(String credentialId, Map<String, String> dotNotated) getId()getScope()getVct()inthashCode()setCredentialBuildConfig(CredentialBuildConfig credentialBuildConfig) setCredentialDefinition(CredentialDefinition credentialDefinition) setCredentialSigningAlgValuesSupported(List<String> credentialSigningAlgValuesSupported) setCryptographicBindingMethodsSupported(List<String> cryptographicBindingMethodsSupported) setCryptographicSuitesSupported(List<String> cryptographicSuitesSupported) setDisplay(List<DisplayObject> display) setProofTypesSupported(ProofTypesSupported proofTypesSupported)  
- 
Field Details
- 
DOT_SEPARATOR
- See Also:
 
 - 
VERIFIABLE_CREDENTIAL_TYPE_KEY
- See Also:
 
 - 
CREDENTIAL_BUILD_CONFIG_KEY
- See Also:
 
 
 - 
 - 
Constructor Details
- 
SupportedCredentialConfiguration
public SupportedCredentialConfiguration() 
 - 
 - 
Method Details
- 
getFormat
 - 
deriveType
Return the verifiable credential type. Sort of confusing in the specification. For sdjwt, we have a "vct" claim. See: https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html#name-credential-request-6 For iso mdl (not yet supported) we have a "doctype" See: https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html#name-credential-request-5 For jwt_vc and ldp_vc, we will be inferring from the "credential_definition" See: https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html#name-credential-request-3- Returns:
 
 - 
deriveConfiId
 - 
setFormat
 - 
getScope
 - 
setScope
 - 
getCryptographicBindingMethodsSupported
 - 
setCryptographicBindingMethodsSupported
public SupportedCredentialConfiguration setCryptographicBindingMethodsSupported(List<String> cryptographicBindingMethodsSupported)  - 
getCryptographicSuitesSupported
 - 
setCryptographicSuitesSupported
public SupportedCredentialConfiguration setCryptographicSuitesSupported(List<String> cryptographicSuitesSupported)  - 
getDisplay
 - 
setDisplay
 - 
getId
 - 
setId
 - 
getCredentialSigningAlgValuesSupported
 - 
setCredentialSigningAlgValuesSupported
public SupportedCredentialConfiguration setCredentialSigningAlgValuesSupported(List<String> credentialSigningAlgValuesSupported)  - 
getClaims
 - 
setClaims
 - 
getVct
 - 
setVct
 - 
getCredentialDefinition
 - 
setCredentialDefinition
public SupportedCredentialConfiguration setCredentialDefinition(CredentialDefinition credentialDefinition)  - 
getProofTypesSupported
 - 
setProofTypesSupported
public SupportedCredentialConfiguration setProofTypesSupported(ProofTypesSupported proofTypesSupported)  - 
getCredentialBuildConfig
 - 
setCredentialBuildConfig
public SupportedCredentialConfiguration setCredentialBuildConfig(CredentialBuildConfig credentialBuildConfig)  - 
toDotNotation
 - 
fromDotNotation
public static SupportedCredentialConfiguration fromDotNotation(String credentialId, Map<String, String> dotNotated)  - 
equals
 - 
hashCode
public int hashCode() 
 -