WriteProtection.CryptographicAlgorithmSid プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
暗号化ハッシュ アルゴリズム
スキーマ内の次の属性を表します。 w:cryptAlgorithmSid
[DocumentFormat.OpenXml.SchemaAttr(23, "cryptAlgorithmSid")]
public DocumentFormat.OpenXml.Int32Value CryptographicAlgorithmSid { get; set; }
public DocumentFormat.OpenXml.Int32Value CryptographicAlgorithmSid { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "cryptAlgorithmSid")]
public DocumentFormat.OpenXml.Int32Value? CryptographicAlgorithmSid { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:cryptAlgorithmSid")]
public DocumentFormat.OpenXml.Int32Value? CryptographicAlgorithmSid { get; set; }
public DocumentFormat.OpenXml.Int32Value? CryptographicAlgorithmSid { get; set; }
member this.CryptographicAlgorithmSid : DocumentFormat.OpenXml.Int32Value with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "cryptAlgorithmSid")>]
member this.CryptographicAlgorithmSid : DocumentFormat.OpenXml.Int32Value with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:cryptAlgorithmSid")>]
member this.CryptographicAlgorithmSid : DocumentFormat.OpenXml.Int32Value with get, set
Public Property CryptographicAlgorithmSid As Int32Value
プロパティ値
Int32Value を返します。
- 属性
注釈
ECMA 国際 標準 ECMA-376 の次の情報は、このクラスを操作するときに役立ちます。
比較のためにハッシュ値を計算するために属性とユーザー指定のパスワードと salt
共に使用する特定の暗号化ハッシュ アルゴリズムを指定します。
この属性に使用できる値は、次のように解釈されます。
値 | Algorithm |
---|---|
1 |
MD2 |
2 |
MD4 |
3 |
MD5 |
4 |
SHA-1 |
5 |
MAC |
6 |
RIPEMD |
7 |
RIPEMD-160 |
8 |
未定義。 使用しないでください。 |
9 |
Hmac |
10 |
未定義。 使用しないでください。 |
11 |
未定義。 使用しないでください。 |
12 |
SHA-256 |
13 |
SHA-384 |
14 |
SHA-512 |
その他の値 | 未定義。 使用しないでください。 |
次の情報が保護要素のいずれかに格納されている WordprocessingML ドキュメントを検討してください。
<w:… w:cryptAlgorithmClass="hash"
w:cryptAlgorithmType="typeAny"
w:cryptAlgorithmSid="1"
w:hash="9oN7nWkCAyEZib1RomSJTjmPpCY=" />
の1
属性値はcryptAlgorithmSid
、SHA-1 ハッシュ アルゴリズムを使用してユーザー定義パスワードからハッシュを生成することを指定します。
この属性に使用できる値は、単純型によって ST_DecimalNumber
定義されます。