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§
- HsBlind
Id - A blinded onion service identity, represented in a compact format. (
KP_hs_blind_id) - HsBlind
IdKey - The “blinded” identity of a v3 onion service. (
KP_hs_blind_id) - HsBlind
IdKeypair - The private counterpart of a
HsBlindIdKey. - HsClient
Desc EncKey - Client service discovery key, used for onion descriptor
decryption. (
KP_hsc_desc_enc) - HsClient
Desc EncKeypair - A pair of a public and private components for a
HsClientDescEncKey. - HsClient
Desc EncSecret Key - The private counterpart of a
HsClientDescEncKey. - HsClient
Intro Auth Key Deprecated - First type of client authorization key, used for the introduction protocol.
(
KP_hsc_intro_auth) - HsClient
Intro Auth Keypair Deprecated - The private counterpart of a
HsClientIntroAuthKey. - HsDesc
Signing Key - A key used to sign onion service descriptors. (
KP_desc_sign) - HsDesc
Signing Keypair - The private counterpart of a
HsDescSigningKey. - HsId
- The identity of a v3 onion service. (
KP_hs_id) - HsIdKey
- The identity of a v3 onion service, expanded into a public key. (
KP_hs_id) - HsId
Keypair - The private counterpart of a
HsIdKey. - HsIntro
PtSession IdKey - A key used to identify and authenticate an onion service at a single
introduction point. (
KP_hs_ipt_sid) - HsIntro
PtSession IdKeypair - The private counterpart of a
HsIntroPtSessionIdKey. - HsSvc
Desc EncKey - Server key, used for diffie hellman during onion descriptor decryption.
(
KP_hss_desc_enc) - HsSvc
Desc EncKeypair - An ephemeral x25519 keypair, generated by an onion service and used to for onion service encryption.
- HsSvc
Desc EncSecret Key - The private counterpart of a
HsSvcDescEncKey. - HsSvc
Ntor Key - A key used in the HsNtor handshake between the client and the onion service.
(
KP_hss_ntor) - HsSvc
Ntor Keypair - A pair of a public and private components for a
HsSvcNtorKey. - HsSvc
Ntor Secret Key - The private counterpart of a
HsSvcNtorKey.
Enums§
- HsClient
Desc EncKey Parse Error - Error that can occur parsing an
HsClientDescEncKeyfrom C Tor format. - HsId
Parse Error - Error that can occur parsing an
HsIdfrom a v3.oniondomain name
Constants§
- HSID_
ONION_ SUFFIX - The fixed string
.onion