語言

SignerInfo.RemoveUnsignedAttribute(AsnEncodedData) 方法

定義

移除當前文件中指定的屬性。

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

參數

unsignedAttributeasnEncodedData
AsnEncodedData

ASN.1 編碼屬性則從文件中移除。

例外狀況

找不到原始簽署者。

-或-

屬性未找到。

-或-

ASN1 損壞了資料。

備註

文件在移除後會重新編碼。

適用於