Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

PKCS7.SignedDataContent

Queries content signed.

Component Version macOS Windows Linux Server iOS SDK
Certificates 9.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "PKCS7.SignedDataContent"; PKCS7 Reference { ; Encoding } )   More

Parameters

Parameter Description Example Flags
PKCS7 Reference The reference to the PKCS#7. $pkcs7
Encoding The text encoding for result.
Default is native.
Can be hex or base64 for binary data.
Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ.
"UTF8" Optional

Result

Returns text or error.

Description

Queries content signed.
In Italy digitally signed e-invoices in CAdES format include an embedded XML payload in a signed P7M file.

Examples

Read XML embedded in p7m file:

Set Variable [ $pkcs7 ; Value: MBS( "PKCS7.ReadFromFile"; "/Users/cs/Desktop/IT12345.xml.p7m" ) ]
Show Custom Dialog [ "Content" ; MBS( "PKCS7.SignedDataContent"; $pkcs7; "UTF-8" ) ]
Set Variable [ $r ; Value: MBS( "PKCS7.Release"; $pkcs7) ]

See also

This function checks for a license.

Created 6th March 2019, last changed 21st July 2019


PKCS7.SignedDataCertCount - PKey.Bits

💬 Ask a question or report a problem