SdJwtTypeMetadataDocument
data class SdJwtTypeMetadataDocument(val originalBytes: ByteArray, val definition: SdJwtTypeMetadataDefinition)(source)
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.