EncryptedDocuments
A structure for holding encrypted documents returned in a DeviceResponse.
Types
Link copied to clipboard
class Builder(sessionTranscript: DataItem, encryptionParameters: EncryptionParameters, docRequestId: 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()): EncryptedDocumentsPlaintext
Decrypts the encrypted documents.