共用方式為


EncryptedSecurityTokenHandler.KeyInfoSerializer 屬性

定義

取得或設定 SecurityTokenSerializer,它會用來序列化和還原序列化 <xenc:EncryptedData> 項目中的金鑰識別項。

public:
 property System::IdentityModel::Selectors::SecurityTokenSerializer ^ KeyInfoSerializer { System::IdentityModel::Selectors::SecurityTokenSerializer ^ get(); void set(System::IdentityModel::Selectors::SecurityTokenSerializer ^ value); };
public System.IdentityModel.Selectors.SecurityTokenSerializer KeyInfoSerializer { get; set; }
member this.KeyInfoSerializer : System.IdentityModel.Selectors.SecurityTokenSerializer with get, set
Public Property KeyInfoSerializer As SecurityTokenSerializer

屬性值

將用來讀取和寫入金鑰識別項的權杖序列化程式。

例外狀況

嘗試將屬性設為 null

適用於