Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

CmsSignedDataVerifier

OfficeIMO.Security

Namespace
OfficeIMO.Security
Assembly
OfficeIMO.Security
Source revision
ba882f6b0d07 with working tree changes
Modifiers
static

Verifies encapsulated and detached CMS SignedData with explicit trust-policy results.

Inheritance

  • object
  • CmsSignedDataVerifier

Methods

public static CmsVerificationResult Verify(byte[] encodedCms, CmsVerificationOptions? options = null) #

Verifies an encapsulated CMS SignedData object.

Parameters

encodedCms byte[] required
options OfficeIMO.Security.CmsVerificationOptions? = null optional

Returns

CmsVerificationResult
public static CmsVerificationResult VerifyDetached(byte[] encodedCms, byte[] detachedContent, CmsVerificationOptions? options = null) #

Verifies a detached CMS SignedData object against the exact supplied content bytes.

Parameters

encodedCms byte[] required
detachedContent byte[] required
options OfficeIMO.Security.CmsVerificationOptions? = null optional

Returns

CmsVerificationResult