SdJwtTypeMetadataDocument

Separation between the originally received bytes and the decoded content allows for integrity verification against vct#integrity and extends#integrity.

When fetched over HTTP, originalBytes are the raw response bytes, which is what integrity metadata is defined over. When deserialized from a JSON string (e.g. in tests or a registry), originalBytes are derived from the re-serialized JsonElement and may differ from the original source bytes if the input had extra whitespace or different key ordering.

Constructors

Link copied to clipboard
constructor(originalBytes: ByteArray, definition: SdJwtTypeMetadataDefinition)

Types

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard

Functions

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