WriteProtection.CryptographicProviderType Property
Cryptographic Provider Type.Represents the attribte in schema: w:cryptProviderType
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Декларация
<SchemaAttrAttribute(, "cryptProviderType")> _
Public Property CryptographicProviderType As EnumValue(Of CryptProviderValues)
Get
Set
'Применение
Dim instance As WriteProtection
Dim value As EnumValue(Of CryptProviderValues)
value = instance.CryptographicProviderType
instance.CryptographicProviderType = value
[SchemaAttrAttribute(, "cryptProviderType")]
public EnumValue<CryptProviderValues> CryptographicProviderType { get; set; }
Property Value
Type: DocumentFormat.OpenXml.EnumValue<CryptProviderValues>
Returns EnumValue<T>.
Remarks
The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.
Specifies the type of cryptographic provider to be used.
Consider a WordprocessingML document with the following information stored in one of its protection elements:
<w:… w:cryptProviderType="rsaAES"
w:hash="9oN7nWkCAyEZib1RomSJTjmPpCY=" />
The cryptProviderType attribute value of rsaAES specifies that the cryptographic provider type shall be an Advanced Encryption Standard provider.
The possible values for this attribute are defined by the ST_CryptProv simple type.