2.3.2.3 WordSigBlob

Specifies the layout of the VBA digital signature data when it is wrapped as a length-prefixed Unicode character string.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

cch

cbSigInfo

...

serializedPointer

...

signatureInfo (variable)

...

padding (variable)

...

cch (2 bytes): An unsigned integer that specifies half the count of bytes of the remainder of the structure. MUST be the value given by the following formula.

cch = (cbSigInfo + (cbSigInfo mod 2) + 8) / 2

cbSigInfo (4 bytes): An unsigned integer that specifies the size of the signatureInfo field in bytes.

serializedPointer (4 bytes): An unsigned integer that specifies the offset of the signatureInfo field within this structure relative to the cbSigInfo field. MUST be 0x00000008.

signatureInfo (variable): A DigSigInfoSerialized structure (section 2.3.2.1) containing the data for the signature.

padding (variable): An array of bytes. The size of this array is the number of bytes necessary to pad the entire structure’s size to a multiple of 2 bytes. The contents of this field are undefined and MUST be ignored.