Interface CredentialSigner<T>
- All Superinterfaces:
 Provider
- All Known Implementing Classes:
 AbstractCredentialSigner,JwtCredentialSigner,LDCredentialSigner,SdJwtCredentialSigner
Interface to be used for signing verifiable credentials.
- 
Method Summary
Modifier and TypeMethodDescriptiondefault voidclose()signCredential(CredentialBody credentialBody, CredentialBuildConfig credentialBuildConfig) Takes a verifiable credential and signs it according to the implementation. 
- 
Method Details
- 
close
default void close() - 
signCredential
T signCredential(CredentialBody credentialBody, CredentialBuildConfig credentialBuildConfig) throws CredentialSignerException Takes a verifiable credential and signs it according to the implementation. Depending on the type of the CredentialSigner, it will return a signed representation of the credential that be returned at the credential request endpoint.- Parameters:
 credentialBody- a partially built credential representation, awaiting to be signedcredentialBuildConfig- additional configurations for building the credential- Returns:
 - a signed representation
 - Throws:
 CredentialSignerException
 
 -