QmPbKeyCacheSize

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

HKLM\SOFTWARE\Microsoft\MSMQ\Parameters

Data type Range Default value

REG_DWORD

0x0–0xFFFFFFFF keys

0x35 (53 keys)

Description

Specifies the maximum number of keys that can be stored in the queue manager (QM) public encryption key cache. This cache stores public encryption keys recently used in replication and notification messages.

If the cache is full (that is, if the number of keys is equal to the value of this entry) when the next key arrives, then Message Queuing (also known as MSMQ) deletes half of the keys in the cache. The oldest keys are deleted first.

All replication and notification messages are digitally signed by the Message Queuing Information Store (MQIS) that generated the message. The Message Queuing computers that receive the message validate its signature by using the public key of the sending MQIS. Storing recently used keys in a cache reduces the time it takes to verify the signature.

This entry does not exist in the registry by default. You can add it by using the registry editor Regedit.exe.

Note

  • Entries in the public encryption key cache are not subject to an expiration time. These entries are deleted only when the cache is full.