Method Verify
Verify(X509Certificate2, X509Certificate2Collection)
Verifies the trust of the giver certificate.
Declaration
public static bool Verify(X509Certificate2 signerCert, X509Certificate2Collection signedDataCertificates)
Parameters
Type | Name | Description |
---|---|---|
System.Security.Cryptography.X509Certificates.X509Certificate2 | signerCert | The certificate to verify. |
System.Security.Cryptography.X509Certificates.X509Certificate2Collection | signedDataCertificates | A collection of trusted root certificates. |
Returns
Type | Description |
---|---|
System.Boolean | True in case of trust. |
Remarks
Peruses the local certificate store and the given certificate collection to verify the trust of the
signerCert
.