CryptReceiveKeyCacheSize

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)

0x7F (127)

Description

Specifies the maximum number of symmetric encryption keys found in incoming messages that can be stored in the cryptographic key cache on the receiving server.

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

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

Note

  • Incoming keys in the cryptographic key cache are not subject to an expiration time. Incoming keys are deleted from the cache only when the cache is full.

See Also

Concepts

CryptSendKeyCacheSize