PKCS7.SignedDataCertCount
-------------------------

Queries number of signing certificates.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Certificates](component_Certificates.md) | [9.1](newinversion91.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "PKCS7.SignedDataCertCount"; PKCS7 Reference ) 

**MBS**( **"PKCS7.SignedDataCertCount";** /\* Queries number of signing certificates. \*/  
**$PKCS7 Reference**) /\* The reference to the PKCS#7.e.g. $pkcs7 \*/ 

### Parameters

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

### Result

Returns number or error.

### Description

Queries number of signing certificates.  
### Examples

Show number of certificates:

 Set Variable \[ $pkcs7 ; Value: MBS ( "PKCS7.ReadFromFile"; "/Users/cs/Desktop/IT12345.xml.p7m" ) \]   
Show Custom Dialog \[ "Content" ; MBS ( "PKCS7.SignedDataCertCount"; $pkcs7 ) \]   
Set Variable \[ $r ; Value: MBS ( "PKCS7.Release"; $pkcs7 ) \]  
### See also

- [PKCS7.ReadFromFile](PKCS7ReadFromFile.md)
- [PKCS7.Release](PKCS7Release.md)
- [PKCS7.SignedDataCert](PKCS7SignedDataCert.md)
- [PKCS7.SignedDataContent](PKCS7SignedDataContent.md)

This function checks for a license.

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

  
[PKCS7.SignedDataCert](PKCS7SignedDataCert.md) - [PKCS7.SignedDataContent](PKCS7SignedDataContent.md)

[HTML Version](PKCS7SignedDataCertCount.shtml)