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: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

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.
"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

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


PKCS7.SignedDataCertCount - PKey.Bits

Feedback: Report problem or ask question.