Module cookie

Source
Expand description

Support for cookie authentication within the RPC protocol.

Structs§

Cookie
A secret cookie value, used in RPC authentication.
CookieAuthMac
A MAC derived during the cookie authentication protocol.
CookieAuthNonce
A random nonce used during cookie authentication protocol.
CookieLocation
The location of a cookie on disk, and the rules to access it.

Enums§

CookieAccessError
An error that has occurred while trying to load or create a cookie.
HexError
An error when decoding a hexadecimal value.

Constants§

COOKIE_LEN
Length of an authentication cookie.
COOKIE_MAC_LEN 🔒
Length of the MAC values we use for cookie authentication.
COOKIE_NONCE_LEN 🔒
Length of the nonce values we use for cookie authentication.
COOKIE_PREFIX
A value used to differentiate cookie files, and as a personalization parameter within the RPC cookie authentication protocol.
COOKIE_PREFIX_LEN
Length of COOKIE_PREFIX.
TUPLEHASH_CUSTOMIZATION 🔒
Customization string used to initialize TupleHash.