SignedCms.RemoveSignature Method (SignerInfo)

 
System_CAPS_noteNote

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

The RemoveSignature method removes the signature for the specified SignerInfo object.

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

public void RemoveSignature(
	SignerInfo signerInfo
)

Parameters

signerInfo
Type: System.Security.Cryptography.Pkcs.SignerInfo

A SignerInfo object that represents the countersignature being removed.

Exception Condition
ArgumentNullException

A null reference was passed to a method that does not accept it as a valid argument.

ArgumentOutOfRangeException

The value of an argument was outside the allowable range of values as defined by the called method.

CryptographicException

A cryptographic operation could not be completed.

.NET Framework
Available since 2.0
Return to top
Show: