Partager via


WriteProtection.CryptographicProviderType Propriété

Définition

Type de fournisseur de chiffrement

Représente l’attribut suivant dans le schéma : w :cryptProviderType

[DocumentFormat.OpenXml.SchemaAttr(23, "cryptProviderType")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.CryptProviderValues> CryptographicProviderType { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.CryptProviderValues> CryptographicProviderType { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "cryptProviderType")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.CryptProviderValues>? CryptographicProviderType { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:cryptProviderType")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.CryptProviderValues>? CryptographicProviderType { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.CryptProviderValues>? CryptographicProviderType { get; set; }
member this.CryptographicProviderType : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.CryptProviderValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "cryptProviderType")>]
member this.CryptographicProviderType : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.CryptProviderValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:cryptProviderType")>]
member this.CryptographicProviderType : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.CryptProviderValues> with get, set
Public Property CryptographicProviderType As EnumValue(Of CryptProviderValues)

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 de fournisseur de chiffrement à utiliser.

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

<w:… w:cryptProviderType="rsaAES"  
  w:hash="9oN7nWkCAyEZib1RomSJTjmPpCY=" />  

La cryptProviderType valeur d’attribut de rsaAES spécifie que le type de fournisseur de chiffrement doit être un fournisseur Standard de chiffrement avancé.

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

S’applique à