Package-level declarations

Types

Link copied to clipboard
data class DelegatingSdJwtTypeMetadataDocumentResolver(val documentRetriever: SdJwtTypeMetadataDocumentRetriever, val integrityChecker: SdJwtTypeMetadataDocumentIntegrityChecker = SdJwtTypeMetadataDocumentIntegrityChecker.DEFAULT) : SdJwtTypeMetadataDocumentResolver
Link copied to clipboard
class KtorSdJwtTypeMetadataDocumentRetriever(val httpClient: HttpClient, val clock: Clock, val json: Json = Json.Default, val integrityChecker: SdJwtTypeMetadataDocumentIntegrityChecker = SdJwtTypeMetadataDocumentIntegrityChecker.DEFAULT) : SdJwtTypeMetadataDocumentRetriever
Link copied to clipboard
@Serializable
value class Rfc5646LanguageTag(val caseInsensitiveString: CaseInsensitiveString)

https://www.rfc-editor.org/rfc/rfc5646.html

Link copied to clipboard
@Serializable
data class SdJwtTypeMetadata(val vct: SdJwtVcType, val name: String? = null, val description: String? = null, val display: SdJwtTypeMetadataTypeDisplayInformationList? = null, val claims: SdJwtTypeMetadataClaimInformationList? = null)
Link copied to clipboard
@Serializable
data class SdJwtTypeMetadataClaimInformation(val path: SdJwtTypeMetadataClaimInformationPath, val display: SdJwtTypeMetadataClaimInformationDisplayMetadataList? = null, val isMandatory: Boolean? = null, val selectiveDisclosureConstraints: SelectiveDisclosureConstraints? = null, val svgId: SvgContentPlaceholder? = null)

4.6. Claim Metadata

@Serializable
data class SdJwtTypeMetadataClaimInformationDisplayMetadata(val locale: Rfc5646LanguageTag, val label: String, val description: String? = null)
Link copied to clipboard
@Serializable
data class SdJwtTypeMetadataDefinition(val vct: SdJwtVcType, val name: String? = null, val description: String? = null, val extends: SdJwtVcType? = null, val extendsIntegrity: W3cSubresourceIntegrityMetadata? = null, val display: SdJwtTypeMetadataTypeDisplayInformationList? = null, val claims: SdJwtTypeMetadataClaimInformationList? = null)

Metadata for an SD-JWT VC Type According to https://www.ietf.org/archive/id/draft-ietf-oauth-sd-jwt-vc-16.html#name-display-metadata

Link copied to clipboard

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

Link copied to clipboard
@Serializable
data class SdJwtTypeMetadataTypeDisplayInformation(val locale: Rfc5646LanguageTag, val name: String, val description: String? = null, val rendering: SdJwtTypeMetadataTypeDisplayInformationRenderingMetadata? = null)
Link copied to clipboard
@Serializable
value class SdJwtVcType(val string: String)

This specification defines the new JWT claim vct (for verifiable credential type). Its value MUST be a case-sensitive string serving as an identifier for the type of the SD-JWT VC. The vct value MUST be a Collision-Resistant Name as defined in Section 2 of RFC7515.

Link copied to clipboard
@Serializable
value class SvgContentPlaceholder(val string: String)
Link copied to clipboard
@Serializable
data class SvgTemplate(val uri: Rfc3986UniformResourceIdentifier, val uriIntegrity: W3cSubresourceIntegrityMetadata? = null, val properties: SvgTemplateProperties? = null)
Link copied to clipboard
@Serializable
data class SvgTemplateProperties(val imageOrientation: SvgTemplatePropertyImageOrientation? = null, val colorScheme: SvgTemplatePropertyColorScheme? = null, val contrast: SvgTemplatePropertyContrast? = null)
Link copied to clipboard
data class UnorderedMultiSet<T>(list: List<T>) : Iterable<T>

Basically used as proxy for equality check in data classes, where the order of a list does not impact equality, but the number of occurances does.

Link copied to clipboard
@Serializable
value class W3cCssRgbColor(val string: String)

Basic syntax validation for https://www.w3.org/TR/css-color-3/#rgb-color

Link copied to clipboard
Link copied to clipboard

The value MUST be an "integrity metadata" string as defined in Section 3 of W3C.SRI. If an integrity property is present for a particular claim, the Consumer of the respective document MUST verify the integrity of the retrieved document as defined in Section 3.3.5 of W3C.SRI.