Parser

class Parser(timeLeewaySeconds: Long = 300, epochMillisecondsForValidation: Long? = null)

Parses Verifiable Credentials and Verifiable Presentations. Does not verify the cryptographic authenticity of the data. Does not verify the revocation status of the data.

Constructors

Link copied to clipboard
constructor(timeLeewaySeconds: Long = 300, epochMillisecondsForValidation: Long? = null)

Types

Link copied to clipboard
sealed class ParseVcResult
Link copied to clipboard
sealed class ParseVpResult

Functions

Link copied to clipboard

Parses a Verifiable Credential in SD-JWT format

Link copied to clipboard

Parses a Verifiable Credential in JWS format

Link copied to clipboard
fun parseVpJws(input: String, challenge: String, localIdentifier: String): Parser.ParseVpResult

Parses a Verifiable Presentation in JWS format

fun parseVpJws(it: String, vpJws: VerifiablePresentationJws, kid: String? = null, challenge: String, localIdentifier: String): Parser.ParseVpResult