Companion

object Companion

Functions

Link copied to clipboard
fun <T> create(type: String? = null, issuer: String, subject: String, data: T, issuanceDate: Date = Date(), expirationDate: Date? = null, credentialStatus: <Error class: unknown class>? = null, credentialSchema: CredentialSchema? = null, evidence: List<Any>? = null): VerifiableCredential

Create a VerifiableCredential based on the provided parameters.

Link copied to clipboard

Parses a JSON string into a VerifiableCredential instance.

Link copied to clipboard

Parses a JWT into a VerifiableCredential instance.

Link copied to clipboard
fun verify(vcJwt: String)

Verifies the integrity and authenticity of a Verifiable Credential (VC) encoded as a JSON Web Token (JWT).