Function tor_netdoc::doc::hsdesc::create_desc_sign_key_cert

source ·
pub fn create_desc_sign_key_cert(
    hs_desc_sign: &PublicKey,
    blind_id: &HsBlindIdKeypair,
    expiry: SystemTime
) -> Result<EncodedEd25519Cert, CertEncodeError>
Available on crate features hs-common and hs-service only.
Expand description

Create the descriptor signing key certificate.

Returns the encoded representation of the certificate obtained by signing the descriptor signing key hs_desc_sign with the blinded id key blind_id.

This certificate is meant to be passed to HsDescBuilder::hs_desc_sign_cert.