Icon
Document Interop Initiative

Table of Contents

1. Office Digital Signature. 2

1.1. Elements. 2

1.1.1. ApplicationVersion (Application Version). 2

1.1.2. ColorDepth (Color Depth). 2

1.1.3. DelegateSuggestedSigner (Delegate Suggested Signer). 2

1.1.4. DelegateSuggestedSigner2 (Delegate Suggested Signer). 2

1.1.5. DelegateSuggestedSignerEmail (Delegate Suggested Signer E-mail Address). 3

1.1.6. HorizontalResolution (Horizontal Resolution). 3

1.1.7. ManifestHashAlgorithm (Manifest Hash Algorithm). 3

1.1.8. Monitors (Monitor Count). 3

1.1.9. OfficeVersion (Office Version). 3

1.1.10. SetupID (Setup ID). 4

1.1.11. SignatureComments (Signature Comments). 4

1.1.12. SignatureImage (Signature Image). 4

1.1.13. SignatureInfoV1 (Office Digital Signature V1 Info). 5

1.1.14. SignatureProviderDetails (Signature Provider Details). 5

1.1.15. SignatureProviderId (Signature Provider ID). 6

1.1.16. SignatureProviderUrl (Signature Provider URL). 6

1.1.17. SignatureText (Signature Text). 6

1.1.18. SignatureType (Signature Type). 7

1.1.19. VerticalResolution (Vertical Resolution). 7

1.1.20. WindowsVersion (Windows Version). 7

1.2. Simple Types. 8

1.2.1. ST_PositiveInteger (Positive Integer). 8

1.2.2. ST_SignatureComments (Signature Comments). 8

1.2.3. ST_SignatureProviderUrl (Signature Provider URL). 8

1.2.4. ST_SignatureText (Signature Text). 9

1.2.5. ST_SignatureType (Signature Type). 9

1.2.6. ST_UniqueIdentifierWithBraces (Unique Identifier with Braces). 10

1.2.7. ST_Version (Version). 10

 

 

1. Office Digital Signature

The Office Digital Signature is a digital signature used by Office to certify the content of a document and to verify the authenticity of its creator or sender.

1.1. Elements

Office reserves the Object Id of idOfficeObject for its digital signature.  The child of the SignatureProperty in this object shall be a SignatureInfoV1 element.

1.1.1. ApplicationVersion (Application Version)

Specifies the version of the application which created the digital signature.

The possible values for this element are defined by the ST_Version simple type (§1.2.7).

Parent Elements

SignatureInfoV1 (§1.1.13)

The following XML Schema fragment defines the contents of this element:

<simpleType name="ST_Version">

   <restriction base="xsd:string">

       <maxLength value="64"/>

   </restriction>

</simpleType>

1.1.2. ColorDepth (Color Depth)

Specifies the color depth of the primary monitor of the machine on which the digital signature was created.

The possible values for this element are defined by the ST_PositiveInteger simple type (§1.2.1).

Parent Elements

SignatureInfoV1 (§1.1.13)

The following XML Schema fragment defines the contents of this element:

<simpleType name="ST_PositiveInteger">

   <restriction base="xsd:int">

       <minExclusive value="0"/>

   </restriction>

</simpleType>

1.1.3. DelegateSuggestedSigner (Delegate Suggested Signer)

Specifies the name of a person to whom the signature has been delegated.

Parent Elements

SignatureInfoV1 (§1.1.13)

1.1.4. DelegateSuggestedSigner2 (Delegate Suggested Signer)

Specifies the title of a person to whom the signature has been delegated.

Parent Elements

SignatureInfoV1 (§1.1.13)

1.1.5. DelegateSuggestedSignerEmail (Delegate Suggested Signer E-mail Address)

Specifies the e-mail address of a person to whom the signature has been delegated.

Parent Elements

SignatureInfoV1 (§1.1.13)

1.1.6. HorizontalResolution (Horizontal Resolution)

Specifies the horizontal resolution of the primary monitor of the machine on which the digital signature was created.

The possible values for this element are defined by the ST_PositiveInteger simple type (§1.2.1).

Parent Elements

SignatureInfoV1 (§1.1.13)

The following XML Schema fragment defines the contents of this element:

<simpleType name="ST_PositiveInteger">

   <restriction base="xsd:int">

       <minExclusive value="0"/>

   </restriction>

</simpleType>

1.1.7. ManifestHashAlgorithm (Manifest Hash Algorithm)

Specifies a URI that identifies the particular hash algorithm for the signature.  If the signature provider is Office, the algorithm shall be http://www.w3.org/2000/09/xmldsig#sha1.

Parent Elements

SignatureInfoV1 (§1.1.13)

1.1.8. Monitors (Monitor Count)

Specifies the count of monitors on the machine where the digital signature was created.

The possible values for this element are defined by the ST_PositiveInteger simple type (§1.2.1).

Parent Elements

SignatureInfoV1 (§1.1.13)

The following XML Schema fragment defines the contents of this element:

<simpleType name="ST_PositiveInteger">

   <restriction base="xsd:int">

       <minExclusive value="0"/>

   </restriction>

</simpleType>

1.1.9. OfficeVersion (Office Version)

Specifies the version of the application suite which created the digital signature.

The possible values for this element are defined by the ST_Version simple type (§1.2.7).

Parent Elements

SignatureInfoV1 (§1.1.13)

The following XML Schema fragment defines the contents of this element:

<simpleType name="ST_Version">

   <restriction base="xsd:string">

       <maxLength value="64"/>

   </restriction>

</simpleType>

1.1.10. SetupID (Setup ID)

Specifies a GUID which can be cross-referenced with the GUID of the signature line stored in the document content.

The possible values for this element are defined by the ST_UniqueIdentifierWithBraces simple type (§1.2.6).

Parent Elements

SignatureInfoV1 (§1.1.13)

The following XML Schema fragment defines the contents of this element:

<simpleType name="ST_UniqueIdentifierWithBraces">

   <restriction base="xsd:string">

       <pattern value="\{[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}\}|"/>

   </restriction>

</simpleType>

1.1.11. SignatureComments (Signature Comments)

Specifies comments on the digital signature.

The possible values for this element are defined by the ST_SignatureComments simple type (§1.2.2).

Parent Elements

SignatureInfoV1 (§1.1.13)

The following XML Schema fragment defines the contents of this element:

<simpleType name="ST_SignatureComments">

   <restriction base="xsd:string">

       <maxLength value="255"/>

   </restriction>

</simpleType>

1.1.12. SignatureImage (Signature Image)

Specifies an image for the digital signature.

Parent Elements

SignatureInfoV1 (§1.1.13)

1.1.13. SignatureInfoV1 (Office Digital Signature V1 Info)

Provides details on a digital signature in a document.

Child Elements

Subclause

ApplicationVersion (Application Version)

§1.1.1

ColorDepth (Color Depth)

§1.1.2

DelegateSuggestedSigner (Delegate Suggested Signer)

§1.1.3

DelegateSuggestedSigner2 (Delegate Suggested Signer)

§1.1.4

DelegateSuggestedSignerEmail (Delegate Suggested Signer E-mail Address)

§1.1.5

HorizontalResolution (Horizontal Resolution)

§1.1.6

ManifestHashAlgorithm (Manifest Hash Algorithm)

§1.1.7

Monitors (Monitor Count)

§1.1.8

OfficeVersion (Office Version)

§1.1.9

SetupID (Setup ID)

§1.1.10

SignatureComments (Signature Comments)

§1.1.11

SignatureImage (Signature Image)

§1.1.12

SignatureProviderDetails (Signature Provider Details)

§1.1.14

SignatureProviderId (Signature Provider ID)

§1.1.15

SignatureProviderUrl (Signature Provider URL)

§1.1.16

SignatureText (Signature Text)

§1.1.17

SignatureType (Signature Type)

§1.1.18

VerticalResolution (Vertical Resolution)

§1.1.19

WindowsVersion (Windows Version)

§1.1.20

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_SignatureInfoV1">

   <sequence>

       <group ref="EG_RequiredChildren"/>

       <group ref="EG_OptionalChildren" minOccurs="0"/>

   </sequence>

</complexType>

1.1.14. SignatureProviderDetails (Signature Provider Details)

Specifies details of the signature provider.  The value shall be an integer computed from a bitmask of the following flags:

Value

Description

0x00000000

Specifies that there are no restrictions on the provider's usage.

0x00000001

Specifies that the provider shall only be used for the UI.

0x00000002

Specifies that the provider shall only be used for invisible signatures.

0x00000004

Specifies that the provider shall only be used for visible signatures.

0x00000008

Specifies that Office UI shall be used for the provider.

0x00000010

Specifies that Office stamp UI shall be used for the provider.

 

Parent Elements

SignatureInfoV1 (§1.1.13)

1.1.15. SignatureProviderId (Signature Provider ID)

Specifies the class ID of the signature provider. Office reserves the value of {00000000-0000-0000-0000-000000000000} for its default signature provider and {000CD6A4-0000-0000-C000-000000000046} for its East Asian signature provider.

The possible values for this element are defined by the ST_UniqueIdentifierWithBraces simple type (§1.2.6).

Parent Elements

SignatureInfoV1 (§1.1.13)

The following XML Schema fragment defines the contents of this element:

<simpleType name="ST_UniqueIdentifierWithBraces">

   <restriction base="xsd:string">

       <pattern value="\{[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}\}|"/>

   </restriction>

</simpleType>

1.1.16. SignatureProviderUrl (Signature Provider URL)

Specifies the URL of the software used to generate the digital signature.

The possible values for this element are defined by the ST_SignatureProviderUrl simple type (§1.2.3).

Parent Elements

SignatureInfoV1 (§1.1.13)

The following XML Schema fragment defines the contents of this element:

<simpleType name="ST_SignatureProviderUrl">

   <restriction base="xsd:string">

       <maxLength value="2083"/>

   </restriction>

</simpleType>

1.1.17. SignatureText (Signature Text)

Specifies the text of actual signature in the digital signature.

The possible values for this element are defined by the ST_SignatureText simple type (§1.2.4).

Parent Elements

SignatureInfoV1 (§1.1.13)

The following XML Schema fragment defines the contents of this element:

<simpleType name="ST_SignatureText">

   <restriction base="xsd:string">

       <maxLength value="100"/>

   </restriction>

</simpleType>

1.1.18. SignatureType (Signature Type)

Specifies the type of the digital signature.

When this signature is of type 2 (Signature Line), there shall be two additional objects in the signature:  One with an Id value of idValidSigLnImg, whose value shall define the image of a valid signature; and one with an Id value of idInvalidSigLnImg, whose value shall define the image of an invalid signature.

The possible values for this element are defined by the ST_SignatureType simple type (§1.2.5).

Parent Elements

SignatureInfoV1 (§1.1.13)

The following XML Schema fragment defines the contents of this element:

<simpleType name="ST_SignatureType">

   <restriction base="xsd:int">

       <enumeration value="1"/>

       <enumeration value="2"/>

   </restriction>

</simpleType>

1.1.19. VerticalResolution (Vertical Resolution)

Specifies the vertical resolution of the primary monitor of the machine on which the digital signature was created.

The possible values for this element are defined by the ST_PositiveInteger simple type (§1.2.1).

Parent Elements

SignatureInfoV1 (§1.1.13)

The following XML Schema fragment defines the contents of this element:

<simpleType name="ST_PositiveInteger">

   <restriction base="xsd:int">

       <minExclusive value="0"/>

   </restriction>

</simpleType>

1.1.20. WindowsVersion (Windows Version)

Specifies the version of the operating system on which the digital signature was created.

The possible values for this element are defined by the ST_Version simple type (§1.2.7).

Parent Elements

SignatureInfoV1 (§1.1.13)

The following XML Schema fragment defines the contents of this element:

<simpleType name="ST_Version">

   <restriction base="xsd:string">

       <maxLength value="64"/>

   </restriction>

</simpleType>

1.2. Simple Types

This is the complete list of simple types in the http://schemas.microsoft.com/office/2006/digsig namespace.

1.2.1. ST_PositiveInteger (Positive Integer)

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

This simple type also specifies the following restrictions:

·         This simple type has a minimum value of greater than 0.

Referenced By

ColorDepth (§1.1.2 ); HorizontalResolution (§1.1.6 ); Monitors (§1.1.8 ); VerticalResolution (§1.1.19)

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

<simpleType name="ST_PositiveInteger">

   <restriction base="xsd:int">

       <minExclusive value="0"/>

   </restriction>

</simpleType>

1.2.2. ST_SignatureComments (Signature Comments)

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

This simple type also specifies the following restrictions:

·         This simple type's contents have a maximum length of 255 characters.

Referenced By

SignatureComments (§1.1.11)

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

<simpleType name="ST_SignatureComments">

   <restriction base="xsd:string">

       <maxLength value="255"/>

   </restriction>

</simpleType>

1.2.3. ST_SignatureProviderUrl (Signature Provider URL)

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

This simple type also specifies the following restrictions:

·         This simple type's contents have a maximum length of 2083 characters.

Referenced By

SignatureProviderUrl (§1.1.16)

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

<simpleType name="ST_SignatureProviderUrl">

   <restriction base="xsd:string">

       <maxLength value="2083"/>

   </restriction>

</simpleType>

1.2.4. ST_SignatureText (Signature Text)

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

This simple type also specifies the following restrictions:

·         This simple type's contents have a maximum length of 100 characters.

Referenced By

SignatureText (§1.1.17)

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

<simpleType name="ST_SignatureText">

   <restriction base="xsd:string">

       <maxLength value="100"/>

   </restriction>

</simpleType>

1.2.5. ST_SignatureType (Signature Type)

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

The following are possible enumeration values for this type:

Enumeration Value

Description

1 (Invisible)

Specifies that there shall not be a visible representation of the digital signature.

2 (Signature Line)

Specifies that there shall be a visible representation of the digital signature, where the GUID of the visible representation (the signature line stored in the document content) shall match the value of the SetupId element.

 

Referenced By

SignatureType (§1.1.18)

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

<simpleType name="ST_SignatureType">

   <restriction base="xsd:int">

       <enumeration value="1"/>

       <enumeration value="2"/>

   </restriction>

</simpleType>

1.2.6. ST_UniqueIdentifierWithBraces (Unique Identifier with Braces)

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

This simple type also specifies the following restrictions:

·         This simple type's contents shall match the following regular expression pattern: \{[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}\}|.

Referenced By

SetupID (§1.1.10); SignatureProviderId (§1.1.15)

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

<simpleType name="ST_UniqueIdentifierWithBraces">

   <restriction base="xsd:string">

       <pattern value="\{[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}\}|"/>

   </restriction>

</simpleType>

1.2.7. ST_Version (Version)

Specifies a version number in the form X.Y, where X is the major version number and Y is the minor version number.

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

This simple type also specifies the following restrictions:

·         This simple type's contents have a maximum length of 64 characters.

Referenced By

ApplicationVersion (§1.1.1 ); OfficeVersion (§1.1.9 ); WindowsVersion (§1.1.20)

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

<simpleType name="ST_Version">

   <restriction base="xsd:string">

       <maxLength value="64"/>

   </restriction>

</simpleType>