Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3    Statistic    FMM    Blog  


Queries content signed.

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


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


Returns text or error.


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


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

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

PKCS7.SignedDataCertCount - PKey.Bits

Feedback: Report problem or ask question.

Start Chat