Class JwtSigningService

java.lang.Object
org.keycloak.protocol.oid4vc.issuance.signing.SigningService<String>
org.keycloak.protocol.oid4vc.issuance.signing.JwtSigningService
All Implemented Interfaces:
VerifiableCredentialsSigningService<String>, Provider

public class JwtSigningService extends SigningService<String>
VerifiableCredentialsSigningService implementing the JWT_VC format. It returns a string, containing the Signed JWT-Credential
Author:
Stefan Wiedemann
  • Field Details

    • issuerDid

      protected final String issuerDid
  • Constructor Details

  • Method Details

    • signCredential

      public String signCredential(VCIssuanceContext vcIssuanceContext)
      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