PassportData

@Serializable
data class PassportData(val data: List<EncryptedPassportElement>, val credentials: EncryptedCredentials)

Constructors

Link copied to clipboard
constructor(data: List<EncryptedPassportElement>, credentials: EncryptedCredentials)

Properties

Link copied to clipboard
@SerialName(value = "credentials")
val credentials: EncryptedCredentials
Link copied to clipboard
@SerialName(value = "data")
val data: List<EncryptedPassportElement>

Functions

Link copied to clipboard
inline fun <T> PassportData.doInDecryptionContextWithPKCS8Key(pkcs8Key: PrivateKey, expectedNonce: String? = null, crossinline block: SecureData.() -> T): T
inline fun <T> PassportData.doInDecryptionContextWithPKCS8Key(pkcs8Key: String, expectedNonce: String? = null, crossinline block: SecureData.() -> T): T