IdentityCard
@Serializable
Constructors
Link copied to clipboard
constructor(data: EncryptedData, frontSide: PassportFile? = null, reverseSide: PassportFile? = null, selfie: PassportFile? = null, translations: List<PassportFile> = emptyList(), hash: PassportElementHash)
Properties
Link copied to clipboard
@SerialName(value = "data")
@Serializable(with = Base64BytesToFromStringSerializer::class)
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "hash")
@Serializable(with = Base64BytesToFromStringSerializer::class)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
fun EncryptedPassportElementWithData.createDataError(field: String, message: String): PassportElementErrorDataField
Link copied to clipboard
fun EncryptedPassportElementTranslatable.createFileError(message: String, unencryptedFileHash: PassportElementHash): PassportElementErrorTranslationFile
Link copied to clipboard
fun EncryptedPassportElementTranslatable.createFilesError(message: String, unencryptedFileHashes: List<PassportElementHash>): PassportElementErrorTranslationFiles
Link copied to clipboard
fun EncryptedPassportElementWithFrontSide.createFrontSideError(message: String, unencryptedFileHash: PassportElementHash): PassportElementErrorFrontSide
Link copied to clipboard
fun EncryptedPassportElementWithReverseSide.createReverseSideError(message: String, unencryptedFileHash: PassportElementHash): PassportElementErrorReverseSide
Link copied to clipboard
fun EncryptedPassportElementWithSelfie.createSelfieError(message: String, unencryptedFileHash: PassportElementHash): PassportElementErrorSelfie
Link copied to clipboard
fun EncryptedPassportElement.createUnspecifiedError(message: String, elementHash: PassportElementHash): PassportElementErrorUnspecified