[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

ST_AlgType (Cryptographic Algorithm Types)

This simple type specifies the possible values for the type of cryptographic algorithm used by protection. [Note: The initial version of this Office Open XML Standard only supports a single type - typeAny - but future versions may expand this as necessary. end note]

[Example: Consider a WordprocessingML document with the following information stored in one of its protection elements:

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

The cryptAlgorithmType attribute value of typeAny specifies that any type of algorithm may have been used for the password. end example]

This simple type's contents are a restriction of the XML Schema string datatype.

The following are possible enumeration values for this type:

Enumeration Value

Description

typeAny (Any Type)

Specifies that any type of cryptographic algorithm type may be used.

 

Referenced By

documentProtection@cryptAlgorithmType2.15.1.28); writeProtection@cryptAlgorithmType2.15.1.94)

The following XML Schema fragment defines the contents of this simple type:

<simpleType name="ST_AlgType">

   <restriction base="xsd:string">

   <enumeration value="typeAny"/>

   </restriction>

</simpleType>