QmPbKeyCacheSize

HKLM\SOFTWARE\Microsoft\MSMQ\Parameters

Data type Range Default value
REG_DWORD 0x0 - 0xFFFFFFFF keys 0x35 (53 keys)

Description

Determines 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, the number of keys is equal to the value of QmPbKeyCacheSize), when the next key arrives, Message Queuing deletes half of the keys in the cache. The oldest keys are deleted first.

All replication and notification messages are digitally signed by the 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.

Note Image 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.

This entry does not appear in the registry unless you add it or use a program to change its default value.