CredentialIssuer
Server implementation to issue credentials using OID4VCI.
Implemented from OpenID for Verifiable Credential Issuance 1.0 from 2025-09-16.
Constructors
Properties
Metadata about the credential issuer in SD-JWT VC
Serve this result serialized at the path formed by inserting the string /.well-known/openid-credential-issuer (see OpenIdConstants.WellKnownPaths.CredentialIssuer) into the Credential Issuer Identifier between the host component and the path component, if any. Use application/json (see at.asitplus.wallet.lib.data.MediaTypes.Application.JSON) as the Content-Type header (see io.ktor.http.HttpHeaders.ContentType) in the response. See also signedMetadata.
Functions
Verifies the authorizationHeader to contain a token from authorizationService, verifies the proof sent by the client (must contain a nonce sent from authorizationService), and issues credentials to the client by calling credentialDataProvider.
Provides a fresh nonce for credential proofs and a DPoP nonce for DPoP proofs. Requests from the client are HTTP POST.
Serve this result serialized at the path formed by inserting the string /.well-known/openid-credential-issuer (see OpenIdConstants.WellKnownPaths.CredentialIssuer) into the Credential Issuer Identifier between the host component and the path component, if any. Use this only when the client accepts (see Accept header io.ktor.http.HttpHeaders.Accept) the media type application/jwt (see at.asitplus.wallet.lib.data.MediaTypes.Application.JWT), otherwise serve metadata.