[Table of Contents] [docx version]
PresentationML Reference Material - Table of Contents
ST_AlgClass (Cryptographic Algorithm Classes)
This simple type specifies the possible classes of cryptographic algorithm used by protection. [Note: The initial version of this Office Open XML Standard only supports a single version - hash - but future versions may expand this as necessary. end note]
[Example: Consider a PresentationML document with the following information stored in its protection element:
<p:… p:cryptAlgorithmClass="hash"
p:cryptAlgorithmType="typeAny"
p:cryptAlgorithmSid="1"
p:hashData="9oN7nWkCAyEZib1RomSJTjmPpCY=" />
The cryptAlgorithmClass attribute value of hash specifies that the algorithm used for the password is a hashing algorithm. 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 |
hash (Hash Algorithm Class) |
A hash class algorithm is used. |
invalid (Invalid Algorithm Class) |
An algorithm with an invalid class is used. |
Referenced By |
modifyVerifier@cryptAlgorithmClass (§4.3.1.17) |
The following XML Schema fragment defines the contents of this simple type:
<simpleType name="ST_AlgClass">
<restriction base="xsd:string">
<enumeration value="hash"/>
<enumeration value="invalid"/>
</restriction>
</simpleType>