2.3.2.1 DigSigInfoSerialized

Referenced by: DigSigBlob, WordSigBlob

Specifies the detailed data of a VBA digital signature.


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

cbSignature

signatureOffset

cbSigningCertStore

certStoreOffset

cbProjectName

projectNameOffset

fTimestamp

cbTimestampUrl

timestampUrlOffset

pbSignatureBuffer (variable)

...

pbSigningCertStoreBuffer (variable)

...

rgchProjectNameBuffer (variable)

...

rgchTimestampBuffer (variable)

...

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

signatureOffset (4 bytes): An unsigned integer that specifies the offset of the pbSignatureBuffer field relative to the beginning of this structure’s parent DigSigBlob (section 2.3.2.2); or if the parent is a WordSigBlob (section 2.3.2.3), the offset is relative to the beginning of the parent’s cbSigInfo field.

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

certStoreOffset (4 bytes): An unsigned integer that specifies the offset of the pbSigningCertStoreBuffer field relative to the start of this structure’s parent DigSigBlob (section 2.3.2.2); or if the parent is a WordSigBlob (section 2.3.2.3), the offset is relative to the start of the parent’s cbSigInfo field.

cbProjectName (4 bytes): An unsigned integer that specifies the count in bytes of the rgchProjectNameBuffer field, not including the null-terminating character. MUST be 0x00000000.

projectNameOffset (4 bytes): An unsigned integer that specifies the offset of the rgchProjectNameBuffer field relative to the beginning of this structure’s parent DigSigBlob (section 2.3.2.2); or if the parent is a WordSigBlob (section 2.3.2.3), the offset is relative to the beginning of the parent’s cbSigInfo field.

fTimestamp (4 bytes): This field is reserved and MUST be 0x00000000. MUST ignore on reading.

cbTimestampUrl (4 bytes): An unsigned integer that specifies the count in bytes of the rgchTimestampBuffer field, not including the null-terminating character. MUST be 0x00000000.

timestampUrlOffset (4 bytes): An unsigned integer that specifies the offset of the rgchTimestampBuffer field relative to the beginning of this structure’s parent DigSigBlob (section 2.3.2.2); or if the parent is a WordSigBlob (section 2.3.2.3), the offset is relative to the beginning of the parent’s cbSigInfo field.

pbSignatureBuffer (variable): An array of bytes that specifies the VBA Digital Signature (section 2.3.2.4) of the VBA project.

pbSigningCertStoreBuffer (variable): A VBASigSerializedCertStore structure (section 2.3.2.5.5) containing the public digital certificate information of the certificate used to create the digital signature.

rgchProjectNameBuffer (variable): A null-terminated array of Unicode characters. The field is reserved and MUST be a single null Unicode character (0x0000).

rgchTimestampBuffer (variable):  A null-terminated array of Unicode characters. The field is reserved and MUST be a single null Unicode character (0x0000).