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

PKCS7.SignedDataCert

Queries signing certificate with given index.

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

Parameters

Parameter Description Example
PKCS7 Reference The reference to the PKCS#7. $pkcs7

Result

Returns X509 reference number or error.

Description

Queries signing certificate with given index.

Examples

Show certificate used to sign:

Set Variable [ $pkcs7 ; Value: MBS( "PKCS7.ReadFromFile"; "/Users/cs/Desktop/IT12345.xml.p7m" ) ]
Set Variable [ $x509 ; Value: MBS( "PKCS7.SignedDataCert"; $pkcs7; 0 ) ]
Show Custom Dialog [ "Content" ; MBS( "X509.Description"; $x509 ) ]
Set Variable [ $x509 ; Value: MBS( "X509.Release"; $x509 ) ]
Set Variable [ $r ; Value: MBS( "PKCS7.Release"; $pkcs7) ]

See also

This function checks for a license.

Created 6th March 2019, last changed 6th March 2019


PKCS7.ReleaseAll - PKCS7.SignedDataCertCount