JWTVerifiableCredential

data class JWTVerifiableCredential constructor(val context: Array<String> = arrayOf(), val type: Array<String> = arrayOf(), val credentialSchema: VerifiableCredentialTypeContainer? = null, val credentialSubject: Map<String, String>, val credentialStatus: JWTVerifiableCredential.CredentialStatus? = null, val refreshService: VerifiableCredentialTypeContainer? = null, val evidence: VerifiableCredentialTypeContainer? = null, val termsOfUse: VerifiableCredentialTypeContainer? = null)(source)

A struct representing the verifiable credential in a JWT credential payload.

Constructors

Link copied to clipboard
constructor(context: Array<String> = arrayOf(), type: Array<String> = arrayOf(), credentialSchema: VerifiableCredentialTypeContainer? = null, credentialSubject: Map<String, String>, credentialStatus: JWTVerifiableCredential.CredentialStatus? = null, refreshService: VerifiableCredentialTypeContainer? = null, evidence: VerifiableCredentialTypeContainer? = null, termsOfUse: VerifiableCredentialTypeContainer? = null)

Properties

Link copied to clipboard
@SerialName(value = "@context")
val context: Array<String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Checks if this JWTVerifiableCredential object is equal to the specified object.

Link copied to clipboard
open override fun hashCode(): Int

Calculates the hash code value for the current object. The hash code is computed based on the values of the object's properties.