Interface CredentialBuilder
- All Superinterfaces:
 Provider
- All Known Implementing Classes:
 JwtCredentialBuilder,LDCredentialBuilder,SdJwtCredentialBuilder
- 
Method Summary
Modifier and TypeMethodDescriptionbuildCredentialBody(VerifiableCredential verifiableCredential, CredentialBuildConfig credentialBuildConfig) Builds a verifiable credential of a specific format from the basis of an internal representation of the credential.default voidclose()Returns the credential format supported by the builder. 
- 
Method Details
- 
close
default void close() - 
getSupportedFormat
String getSupportedFormat()Returns the credential format supported by the builder. - 
buildCredentialBody
CredentialBody buildCredentialBody(VerifiableCredential verifiableCredential, CredentialBuildConfig credentialBuildConfig) throws CredentialBuilderException Builds a verifiable credential of a specific format from the basis of an internal representation of the credential.The credential is built incompletely, intended that it would be signed externally.
- Parameters:
 verifiableCredential- an internal representation of the credentialcredentialBuildConfig- additional configurations for building the credential- Returns:
 - the built verifiable credential of the specific format, ready to be signed
 - Throws:
 CredentialBuilderException
 
 -