A helper function to convert an encrypted HotDocs package stream to an unencrypted HotDocs package stream.
Namespace: HotDocs.SdkAssembly: HotDocs.Sdk (in HotDocs.Sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- ms
- Type:
System.IO MemoryStream
The encrypted HotDocs package file/stream.
- rsaParamsXml
- Type:
System String
RSA key serialized to XML.
Return Value
Type:
If rsaParamsXml is null or empty or if the input stream ms is not an encrypted HotDocs package, the input stream ms is simply returned. Otherwise, the input stream ms is being copied and decrypted to the returned output stream.
See Also