Module tor_hscrypto::pk
source · Expand description
Key type wrappers of various kinds used in onion services.
(We define wrappers here as a safety net against confusing one kind of key for another: without a system like this, it can get pretty hard making sure that each key is used only in the right way.)
Structs§
- A blinded onion service identity, represented in a compact format. (
KP_hs_blind_id
) - The “blinded” identity of a v3 onion service. (
KP_hs_blind_id
) - The private counterpart of a [`HsBlindIdKeyKey’].
- Second type of client authorization key, used for onion descriptor decryption. (
KP_hsc_desc_enc
) - A pair of a public and private components for a
HsClientDescEncKey
. - The private counterpart of a [`HsClientDescEncKeyKey’].
- HsClientIntroAuthKeyDeprecatedFirst type of client authorization key, used for the introduction protocol. (
KP_hsc_intro_auth
) - HsClientIntroAuthKeypairDeprecatedThe private counterpart of a [`HsClientIntroAuthKeyKey’].
- A key used to sign onion service descriptors. (
KP_desc_sign
) - The private counterpart of a [`HsDescSigningKeyKey’].
- The identity of a v3 onion service. (KP_hs_id)
- The identity of a v3 onion service, expanded into a public key. (KP_hs_id)
- The private counterpart of a [`HsIdKeyKey’].
- A key used to identify and authenticate an onion service at a single introduction point. (
KP_hs_ipt_sid
) - The private counterpart of a [`HsIntroPtSessionIdKeyKey’].
- Server key, used for diffie hellman during onion descriptor decryption. (
KP_hss_desc_enc
) - An ephemeral x25519 keypair, generated by an onion service and used to for onion service encryption.
- The private counterpart of a [`HsSvcDescEncKeyKey’].
- A key used in the HsNtor handshake between the client and the onion service. (
KP_hss_ntor
) - A pair of a public and private components for a
HsSvcNtorKey
. - The private counterpart of a [`HsSvcNtorKeyKey’].
Enums§
- Error that can occur parsing an
HsId
from a v3.onion
domain name
Constants§
- The fixed string
.onion