EncryptedDocuments
A structure for holding encrypted documents returned in a DeviceResponse.
Types
Link copied to clipboard
class Builder(sessionTranscript: DataItem, encryptionParameters: EncryptionParameters, docRequestIds: List<Int>)
A builder for EncryptedDocuments.
Properties
Functions
Link copied to clipboard
suspend fun decrypt(recipientPrivateKey: AsymmetricKey, encryptionParameters: EncryptionParameters, sessionTranscript: DataItem, transactionDataList: List<List<TransactionData<*>>> = emptyList(), atTime: Instant = Clock.System.now(), deviceRequest: DeviceRequest? = null, documentTypeRepository: DocumentTypeRepository? = null): EncryptedDocumentsPlaintext
Decrypts the encrypted documents.