ManifestSignatureInformation.VerifySignature Method (ActivationContext, ManifestKinds, X509RevocationFlag, X509RevocationMode)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gathers and verifies information about the signatures of manifests that belong to a specified activation context and manifest type, and allows certificates to be selected for revocation.

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

static member VerifySignature : 
        application:ActivationContext *
        manifests:ManifestKinds *
        revocationFlag:X509RevocationFlag *
        revocationMode:X509RevocationMode -> ManifestSignatureInformationCollection


Type: System.ActivationContext

The application context of the manifests. Activation contexts belong to an application and contain multiple manifests.

Type: System.Security.ManifestKinds

The type of manifest. This parameter specifies which manifests in the activation context you want to verify.

Type: System.Security.Cryptography.X509Certificates.X509RevocationFlag

One of the enumeration values that specifies which certificates in the chain are checked for revocation. The default is ExcludeRoot.

Type: System.Security.Cryptography.X509Certificates.X509RevocationMode

Determines whether the X.509 verification should look online for revocation lists.

Return Value

Type: System.Security.Cryptography.ManifestSignatureInformationCollection

A collection that contains a ManifestSignatureInformation object for each manifest that is verified.

Exception Condition

The application parameter is null.


A value specified for the revocationFlag or revocationMode parameter is invalid.

.NET Framework
Available since 3.5
Return to top