WriteProtection.CryptographicAlgorithmType 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
加密算法类型
表示架构中的以下属性:w:cryptAlgorithmType
[DocumentFormat.OpenXml.SchemaAttr(23, "cryptAlgorithmType")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.CryptAlgorithmValues> CryptographicAlgorithmType { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.CryptAlgorithmValues> CryptographicAlgorithmType { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "cryptAlgorithmType")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.CryptAlgorithmValues>? CryptographicAlgorithmType { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:cryptAlgorithmType")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.CryptAlgorithmValues>? CryptographicAlgorithmType { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.CryptAlgorithmValues>? CryptographicAlgorithmType { get; set; }
member this.CryptographicAlgorithmType : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.CryptAlgorithmValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "cryptAlgorithmType")>]
member this.CryptographicAlgorithmType : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.CryptAlgorithmValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:cryptAlgorithmType")>]
member this.CryptographicAlgorithmType : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.CryptAlgorithmValues> with get, set
Public Property CryptographicAlgorithmType As EnumValue(Of CryptAlgorithmValues)
属性值
返回 EnumValue<T>。
- 属性
注解
使用此类时,ECMA 国际标准 ECMA-376 中的以下信息可能很有用。
指定此保护使用的加密算法的类型。 Office Open XML Standard 的初始版本仅支持单一类型 , typeAny
但将来的版本可能会根据需要扩展此类型。
请考虑 WordprocessingML 文档,其中一个保护元素中存储了以下信息:
<w:… w:cryptAlgorithmClass="hash"
w:cryptAlgorithmType="typeAny"
w:cryptAlgorithmSid="1"
w:hash="9oN7nWkCAyEZib1RomSJTjmPpCY=" />
的cryptAlgorithmType
typeAny
属性值指定可能已将任何类型的算法用于密码。
此属性的可能值由 ST_AlgType
简单类型定义。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈