Package-level declarations

Types

Link copied to clipboard
@Serializable
data class CredentialCreationOptions

Parent for DC API issuance requests

Link copied to clipboard
@Serializable
data class DigitalCredentialCreateRequest(val protocol: IssuanceProtocolIdentifier, val data: CredentialOffer)

The DigitalCredentialCreateRequest dictionary represents an issuance request. It is used to specify an issuance protocol and some request data, to communicate the issuance request between the issuer and the holder.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Serializable
data class DigitalCredentialOfferReturnData(val status: String)
Link copied to clipboard
@Serializable
value class IssuanceProtocolIdentifier(val protocol: String)

Functions

Link copied to clipboard

Decodes Digital Credentials API issuance options from their JSON representation.

Link copied to clipboard

Decodes issuance options and returns their only credential offer.

Link copied to clipboard

Returns the only credential offer in these options. (Currently only one offer is supported)