ManifestSignatureInformation.VerifySignature ManifestSignatureInformation.VerifySignature ManifestSignatureInformation.VerifySignature ManifestSignatureInformation.VerifySignature Method

Definition

Gathers and verifies information about the signatures of the specified manifests.

Overloads

VerifySignature(ActivationContext) VerifySignature(ActivationContext) VerifySignature(ActivationContext) VerifySignature(ActivationContext)

Gathers and verifies information about the signatures of manifests that belong to a specified activation context.

VerifySignature(ActivationContext, ManifestKinds) VerifySignature(ActivationContext, ManifestKinds) VerifySignature(ActivationContext, ManifestKinds) VerifySignature(ActivationContext, ManifestKinds)

Gathers and verifies information about the signatures of manifests that belong to a specified activation context and manifest type.

VerifySignature(ActivationContext, ManifestKinds, X509RevocationFlag, X509RevocationMode) VerifySignature(ActivationContext, ManifestKinds, X509RevocationFlag, X509RevocationMode) VerifySignature(ActivationContext, ManifestKinds, X509RevocationFlag, X509RevocationMode) VerifySignature(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.

VerifySignature(ActivationContext) VerifySignature(ActivationContext) VerifySignature(ActivationContext) VerifySignature(ActivationContext)

Gathers and verifies information about the signatures of manifests that belong to a specified activation context.

public:
 static System::Security::Cryptography::ManifestSignatureInformationCollection ^ VerifySignature(ActivationContext ^ application);
public static System.Security.Cryptography.ManifestSignatureInformationCollection VerifySignature (ActivationContext application);
static member VerifySignature : ActivationContext -> System.Security.Cryptography.ManifestSignatureInformationCollection
Public Shared Function VerifySignature (application As ActivationContext) As ManifestSignatureInformationCollection

Parameters

application
ActivationContext ActivationContext ActivationContext ActivationContext

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

Returns

Exceptions

VerifySignature(ActivationContext, ManifestKinds) VerifySignature(ActivationContext, ManifestKinds) VerifySignature(ActivationContext, ManifestKinds) VerifySignature(ActivationContext, ManifestKinds)

Gathers and verifies information about the signatures of manifests that belong to a specified activation context and manifest type.

public:
 static System::Security::Cryptography::ManifestSignatureInformationCollection ^ VerifySignature(ActivationContext ^ application, System::Security::ManifestKinds manifests);
public static System.Security.Cryptography.ManifestSignatureInformationCollection VerifySignature (ActivationContext application, System.Security.ManifestKinds manifests);
static member VerifySignature : ActivationContext * System.Security.ManifestKinds -> System.Security.Cryptography.ManifestSignatureInformationCollection
Public Shared Function VerifySignature (application As ActivationContext, manifests As ManifestKinds) As ManifestSignatureInformationCollection

Parameters

application
ActivationContext ActivationContext ActivationContext ActivationContext

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

manifests
ManifestKinds ManifestKinds ManifestKinds ManifestKinds

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

Returns

Exceptions

VerifySignature(ActivationContext, ManifestKinds, X509RevocationFlag, X509RevocationMode) VerifySignature(ActivationContext, ManifestKinds, X509RevocationFlag, X509RevocationMode) VerifySignature(ActivationContext, ManifestKinds, X509RevocationFlag, X509RevocationMode) VerifySignature(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.

public:
 static System::Security::Cryptography::ManifestSignatureInformationCollection ^ VerifySignature(ActivationContext ^ application, System::Security::ManifestKinds manifests, System::Security::Cryptography::X509Certificates::X509RevocationFlag revocationFlag, System::Security::Cryptography::X509Certificates::X509RevocationMode revocationMode);
[System.Security.SecurityCritical]
public static System.Security.Cryptography.ManifestSignatureInformationCollection VerifySignature (ActivationContext application, System.Security.ManifestKinds manifests, System.Security.Cryptography.X509Certificates.X509RevocationFlag revocationFlag, System.Security.Cryptography.X509Certificates.X509RevocationMode revocationMode);
static member VerifySignature : ActivationContext * System.Security.ManifestKinds * System.Security.Cryptography.X509Certificates.X509RevocationFlag * System.Security.Cryptography.X509Certificates.X509RevocationMode -> System.Security.Cryptography.ManifestSignatureInformationCollection
Public Shared Function VerifySignature (application As ActivationContext, manifests As ManifestKinds, revocationFlag As X509RevocationFlag, revocationMode As X509RevocationMode) As ManifestSignatureInformationCollection

Parameters

application
ActivationContext ActivationContext ActivationContext ActivationContext

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

manifests
ManifestKinds ManifestKinds ManifestKinds ManifestKinds

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

revocationFlag
X509RevocationFlag X509RevocationFlag X509RevocationFlag X509RevocationFlag

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

revocationMode
X509RevocationMode X509RevocationMode X509RevocationMode X509RevocationMode

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

Returns

Exceptions

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

Applies to