WriteProtection.CryptographicAlgorithmType Свойство
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Тип алгоритма шифрования
Представляет следующий атрибут в схеме: 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 Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по