Export (0) Print
Expand All

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

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

Parameters

application
Type: System.ActivationContext

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

manifests
Type: System.Security.ManifestKinds

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

revocationFlag
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.

revocationMode
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.

ExceptionCondition
ArgumentNullException

The application parameter is a null reference (Nothing in Visual Basic).

ArgumentOutOfRangeException

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

.NET Framework

Supported in: 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft