Partager via


WriteProtection.CryptographicAlgorithmType Propriété

Définition

Type d’algorithme de chiffrement

Représente l’attribut suivant dans le schéma : 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)

Valeur de propriété

Retourne EnumValue<T>.

Attributs

Remarques

Les informations suivantes de la norme internationale ECMA ECMA-376 peuvent être utiles lors de l’utilisation de cette classe.

Spécifie le type d’algorithme de chiffrement utilisé par cette protection. La version initiale d’Office Open XML Standard ne prend en charge qu’un seul type, typeAny mais les versions ultérieures peuvent l’étendre si nécessaire.

Prenons l’exemple d’un document WordprocessingML avec les informations suivantes stockées dans l’un de ses éléments de protection :

<w:… w:cryptAlgorithmClass="hash"   
  w:cryptAlgorithmType="typeAny"   
  w:cryptAlgorithmSid="1"  
  w:hash="9oN7nWkCAyEZib1RomSJTjmPpCY=" />  

La cryptAlgorithmType valeur d’attribut de typeAny spécifie que n’importe quel type d’algorithme peut avoir été utilisé pour le mot de passe.

Les valeurs possibles pour cet attribut sont définies par le ST_AlgType type simple.

S’applique à