Class SdJwtSigningService

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

public class SdJwtSigningService extends SigningService<String>
VerifiableCredentialsSigningService implementing the SD_JWT_VC format. It returns a String, containing the signed SD-JWT

Author:
Stefan Wiedemann
  • Field Details

    • issuerDid

      protected final String issuerDid
  • Constructor Details

  • Method Details

    • signCredential

      public String signCredential(VerifiableCredential verifiableCredential)
      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:
      verifiableCredential - the credential to sign
      Returns:
      a signed representation