Interface VerifiableCredentialsSigningService<T>

All Superinterfaces:
Provider
All Known Implementing Classes:
JwtProofBasedSigningService, JwtSigningService, LDSigningService, SdJwtSigningService, SigningService

public interface VerifiableCredentialsSigningService<T> extends Provider
Interface to be used for signing verifiable credentials.
Author:
Stefan Wiedemann
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the identifier of this service instance, can be either the format alone, or the combination between format, credential type and credential configuration id.
    static String
    locator(String format, VerifiableCredentialType credentialType, CredentialConfigId vcConfigId)
    We are forcing a structure with 3 components.
    signCredential(VCIssuanceContext vcIssuanceContext)
    Takes a verifiable credential and signs it according to the implementation.

    Methods inherited from interface org.keycloak.provider.Provider

    close
  • Field Details

  • Method Details

    • signCredential

      T signCredential(VCIssuanceContext vcIssuanceContext) throws VCIssuerException
      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
      Throws:
      VCIssuerException
    • locator

      String locator()
      Returns the identifier of this service instance, can be either the format alone, or the combination between format, credential type and credential configuration id.
      Returns:
    • locator

      static String locator(String format, VerifiableCredentialType credentialType, CredentialConfigId vcConfigId)
      We are forcing a structure with 3 components. format::type::configId. We assume format is always set, as implementation of this interface always know their format.
      Parameters:
      format -
      credentialType -
      vcConfigId -
      Returns: