Edit

Share via


SignerInfo.RemoveCounterSignature Method

Definition

Removes the specified countersignature from the CounterSignerInfos collection.

Overloads

RemoveCounterSignature(Int32)

The RemoveCounterSignature(Int32) method removes the countersignature at the specified index of the CounterSignerInfos collection.

RemoveCounterSignature(SignerInfo)

The RemoveCounterSignature(SignerInfo) method removes the countersignature for the specified SignerInfo object.

RemoveCounterSignature(Int32)

Source:
SignerInfo.cs
Source:
SignerInfo.cs
Source:
SignerInfo.cs

The RemoveCounterSignature(Int32) method removes the countersignature at the specified index of the CounterSignerInfos collection.

public:
 void RemoveCounterSignature(int index);
public void RemoveCounterSignature (int index);
member this.RemoveCounterSignature : int -> unit
Public Sub RemoveCounterSignature (index As Integer)

Parameters

index
Int32

The zero-based index of the countersignature to remove.

Exceptions

A cryptographic operation could not be completed.

Applies to

RemoveCounterSignature(SignerInfo)

Source:
SignerInfo.cs
Source:
SignerInfo.cs
Source:
SignerInfo.cs

The RemoveCounterSignature(SignerInfo) method removes the countersignature for the specified SignerInfo object.

public:
 void RemoveCounterSignature(System::Security::Cryptography::Pkcs::SignerInfo ^ counterSignerInfo);
public void RemoveCounterSignature (System.Security.Cryptography.Pkcs.SignerInfo counterSignerInfo);
member this.RemoveCounterSignature : System.Security.Cryptography.Pkcs.SignerInfo -> unit
Public Sub RemoveCounterSignature (counterSignerInfo As SignerInfo)

Parameters

counterSignerInfo
SignerInfo

A SignerInfo object that represents the countersignature being removed.

Exceptions

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

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

A cryptographic operation could not be completed.

Applies to