GlobalSign Support Centre: Timestamping VBA Projects

Customer Support > Code Signing > Timestamping VBA Projects

By default, Office XP does not use a timestamping service when signing or validating code. Using a timestamping service usually takes more time than the default digital signing process. To use a timestamping service, Office needs to communicate with a certificate authoritys timestamp server over the Internet to complete the action. You cannot timestamp a digital signature unless you are connected to the Internet.

There is no built-in Office user interface to use this option. To have Office use a timestamping service with all future digital signatures, you need to set these registry keys.

  • HKEY_Current_User\Software\Microsoft\
  • \VBA\Security\TimeStampURL
  • HKEY_Current_User\Software\Microsoft
  • \VBA\Security\TimeStampRetryCount
  • HKEY_Current_User\Software\Microsoft
  • \VBA\Security\TimeStampRetryDelay
  • For example, if you have a digital certificate, one TimeStamp URL that works is:
    http://timestamp.globalsign.com/scripts/timstamp.dll

    TimeStampRetryCount is a DWORD registry key value that is the number of retries the Visual Basic Editor will attempt to connect to the timestamping server.

    TimeStampRetryDelay is a DWORD registry key value that is the number of seconds the Visual Basic Editor will delay before retrying a connection to the timestamping server.

    More information on this process can be found here.

    For more information on Time Stamping for Office 2010 please go here.