Skip to main content

tls_binding

Function tls_binding 

Source
pub fn tls_binding(
    identity_key: &NodeKey,
    leaf_der: &[u8],
    not_before: i64,
    not_after: i64,
) -> Result<SignedTbs, BindingError>
Expand description

Binds the TLS key of the leaf certificate a listener presents to identity_key, by the SHA-384 of the leaf’s DER, from not_before to not_after in milliseconds.