SignerInfo.RemoveUnsignedAttribute(AsnEncodedData) 方法

定义

从当前文档中删除指定属性。Removes the specified attribute from the current document.

public:
 void RemoveUnsignedAttribute(System::Security::Cryptography::AsnEncodedData ^ asnEncodedData);
public void RemoveUnsignedAttribute (System.Security.Cryptography.AsnEncodedData asnEncodedData);
member this.RemoveUnsignedAttribute : System.Security.Cryptography.AsnEncodedData -> unit
Public Sub RemoveUnsignedAttribute (asnEncodedData As AsnEncodedData)

参数

asnEncodedData
AsnEncodedData

要从文档中删除的 ASN.1 编码属性。The ASN.1 encoded attribute to remove from the document.

例外

找不到原始签名者。Cannot find the original signer.

- 或 --or-

找不到属性。Attribute not found.

- 或 --or-

ASN1 损坏数据。ASN1 corrupted data.

注解

删除后,会重新对文档进行编码。The document is re-encoded after the removal.

适用于