Package-level declarations

Types

Link copied to clipboard
data class CredentialError(val docType: DocType, val errorCode: ErrorCode)

Represents an error for a specific credential.

Link copied to clipboard
data class IssuerInfo(val commonName: String, val trustedIssuerCertificateId: String)

Contains information identifying the issuer of a mobile credential.

Link copied to clipboard
data class MobileCredential(val id: String, val deviceKeyId: String, val verificationResult: MobileCredentialVerificationResult? = null, val issuerInfo: IssuerInfo, val docType: String, val validityInfo: MobileCredentialValidity, val claims: Map<String, Map<String, MobileCredentialElement>>, val branding: Branding? = null)

Represents an issued mobile credential.

Link copied to clipboard
Link copied to clipboard
data class MobileCredentialPresentation(val issuerInfo: IssuerInfo, val docType: DocType, val validityInfo: MobileCredentialValidity, val claimErrors: Map<NameSpace, Map<DataElementIdentifier, ErrorCode>>?, val claims: Map<NameSpace, Map<DataElementIdentifier, MobileCredentialElement>>?, val branding: Branding?)

Represents a mobile credential presentation.

Link copied to clipboard
data class MobileCredentialRequest(val docType: DocType, val namespaces: NameSpaces)

Represents a mobile credentials presentation request.

Link copied to clipboard
data class MobileCredentialResponse(val credentials: List<MobileCredentialPresentation>?, val credentialErrors: List<CredentialError>?)

Represents a response to a mobile credentials presentation request.

Link copied to clipboard
data class MobileCredentialValidity(val validFrom: <Error class: unknown class>, val validUntil: <Error class: unknown class>)

Represents a mobile credential validity information. Note: The corresponding iOS SDK element is Validity.

Link copied to clipboard
data class MobileCredentialVerificationResult(val verified: Boolean, val failureType: MobileCredentialVerificationFailureType? = null)

Represents a mobile credential verification result.

Link copied to clipboard
data class TrustedIssuerCertificate(val id: String, val pem: String, val commonName: String, val verificationResult: TrustedIssuerCertificateVerificationResult? = null)

Represents a trusted issuer certificate conforming to the IACA profile as per ISO 18013-5.

Represents a trusted issuer certificate verification result.