EncryptedSecurityTokenHandler.KeyInfoSerializer 属性

定义

获取或设置将用于从 <xenc:EncryptedData> 元素序列化和反序列化密钥标识符的 SecurityTokenSerializer

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

适用于