DecodedJws

class DecodedJws(val header: JwsHeader, val payload: ByteArray, val signature: ByteArray, val parts: List<String>, val signerDid: String? = null)

DecodedJws is a compact JWS decoded into its parts.

Constructors

Link copied to clipboard
constructor(header: JwsHeader, payload: ByteArray, signature: ByteArray, parts: List<String>, signerDid: String? = null)

Properties

Link copied to clipboard

The JWS header

Link copied to clipboard

All parts that make up JWS. Each part is a base64url encoded string

Link copied to clipboard

The JWS payload

Link copied to clipboard

The JWS signature

Link copied to clipboard
val signerDid: String? = null

Functions

Link copied to clipboard
fun verify()

Verify the JWS signature is valid.