tryDecryptAttachment method

Future<Uint8List?> tryDecryptAttachment(
  1. Document document,
  2. Uint8List encryptedAttachment, {
  3. bool decryptedAttachmentValidator(
    1. Uint8List
    )?,
})

Implementation

Future<Uint8List?> tryDecryptAttachment(Document document, Uint8List encryptedAttachment, { bool Function(Uint8List)? decryptedAttachmentValidator }) async {
	return await CardinalSdkPlatformInterface.instance.apis.document.tryDecryptAttachment(
		_sdkId,
		document,
		encryptedAttachment,
		decryptedAttachmentValidator,
	);
}