## SignedCms::ComputeSignature method


Creates a signature.

```cpp
void System::Security::Cryptography::Pkcs::SignedCms::ComputeSignature(const SharedPtr<CmsSigner> &signer, bool silent)
```


| Parameter | Type | Description |
| --- | --- | --- |
| signer | const SharedPtr\<CmsSigner\>\& | Signer to use. |
| silent | bool | Whether to suppress asking user for valid certificate if certificate associated with **signer** is not valid. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [CmsSigner](../../cmssigner/)
* Class [SignedCms](../)
* Namespace [System::Security::Cryptography::Pkcs](../../)
* Library [Aspose.PDF for C++](../../../)
