SignerInfo.RemoveCounterSignature 方法
定义
从 CounterSignerInfos 集合中移除指定的副署。Removes the specified countersignature from the CounterSignerInfos collection.
重载
| RemoveCounterSignature(Int32) |
RemoveCounterSignature(Int32) 方法移除 CounterSignerInfos 集合中指定索引处的副署。The RemoveCounterSignature(Int32) method removes the countersignature at the specified index of the CounterSignerInfos collection. |
| RemoveCounterSignature(SignerInfo) |
RemoveCounterSignature(SignerInfo) 方法移除指定 SignerInfo 对象的副署。The RemoveCounterSignature(SignerInfo) method removes the countersignature for the specified SignerInfo object. |
RemoveCounterSignature(Int32)
RemoveCounterSignature(Int32) 方法移除 CounterSignerInfos 集合中指定索引处的副署。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)
参数
- index
- Int32
要移除的副署的索引(从零开始)。The zero-based index of the countersignature to remove.
例外
未能完成加密操作。A cryptographic operation could not be completed.
适用于
RemoveCounterSignature(SignerInfo)
RemoveCounterSignature(SignerInfo) 方法移除指定 SignerInfo 对象的副署。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)
参数
- counterSignerInfo
- SignerInfo
表示被移除的副署的 SignerInfo 对象。A SignerInfo object that represents the countersignature being removed.
例外
向不接受空引用作为有效参数的方法传递了一个空引用。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.