Class LDSigningService
java.lang.Object
org.keycloak.protocol.oid4vc.issuance.signing.SigningService<VerifiableCredential>
org.keycloak.protocol.oid4vc.issuance.signing.LDSigningService
- All Implemented Interfaces:
VerifiableCredentialsSigningService<VerifiableCredential>
,Provider
VerifiableCredentialsSigningService
implementing the LDP_VC format. It returns a Verifiable Credential,
containing the created LDProof.
- Author:
- Stefan Wiedemann
-
Field Summary
Fields inherited from class org.keycloak.protocol.oid4vc.issuance.signing.SigningService
format, keycloakSession, type
Fields inherited from interface org.keycloak.protocol.oid4vc.issuance.signing.VerifiableCredentialsSigningService
LOCATION_SEPARATOR
-
Constructor Summary
ConstructorDescriptionLDSigningService
(KeycloakSession keycloakSession, String keyId, String algorithmType, String ldpType, TimeProvider timeProvider, Optional<String> kid) -
Method Summary
Modifier and TypeMethodDescriptionsignCredential
(VCIssuanceContext vcIssuanceContext) Takes a verifiable credential and signs it according to the implementation.Methods inherited from class org.keycloak.protocol.oid4vc.issuance.signing.SigningService
close, getKey, getVerifier, locator
-
Constructor Details
-
LDSigningService
public LDSigningService(KeycloakSession keycloakSession, String keyId, String algorithmType, String ldpType, TimeProvider timeProvider, Optional<String> kid)
-
-
Method Details
-
signCredential
Description copied from interface:VerifiableCredentialsSigningService
Takes a verifiable credential and signs it according to the implementation. Depending on the type of the SigningService, it will return a signed representation of the credential- Parameters:
vcIssuanceContext
- verifiable credential to sign and context info- Returns:
- a signed representation
-