cmsReadSigDataToBytes
Read the content from a CMS signed-data object directly into a byte array.
Syntax
[VBA]
Public Function cmsReadSigDataToBytes ( _
szFileIn As String, _
Optional nOptions As Long = 0 _
) As Byte()
Parameters
- szFileIn
- Name of file containing CMS signed-data object (binary or base64-encoded) or the data as a base64 or PEM string.
- nOptions
- For future use.
Return Value
Byte(): Byte array containing the content or a zero-length array if error.
Remarks
Use this if the content contains non-ASCII characters, e.g. UTF-8 encoded.