Share via


EncryptionMethod.KeyAlgorithm 属性

定义

获取或设置一个统一资源标识符 (URI),该统一资源标识符描述用于 XML 加密的算法。

public:
 property System::String ^ KeyAlgorithm { System::String ^ get(); void set(System::String ^ value); };
public string? KeyAlgorithm { get; set; }
public string KeyAlgorithm { get; set; }
member this.KeyAlgorithm : string with get, set
Public Property KeyAlgorithm As String

属性值

描述用于 XML 加密的算法的统一资源标识符 (URI)。

注解

属性KeyAlgorithm描述用于加密与 元素或 EncryptedKey 元素关联的EncryptedData数据的加密算法的统一资源标识符 (URI) 。

使用万维网联合会 XML 加密语法和处理 规范定义的 URI 标识符之一。 所有 URI 标识符都可以作为 类的 EncryptedXml 静态字段进行访问。

适用于