Skip to main content

verify_scope_chain

Function verify_scope_chain 

Source
pub fn verify_scope_chain(
    cert: &LeafCertificate,
    project_cert: Option<&ProjectCert>,
    now: u64,
) -> Result<[u8; 32], LeafError>
Expand description

Prove the leaf issuer owns its requested tenant. A user issuer must be that user’s key. A project issuer needs the user’s signed project cert, with both key IDs recomputed by ProjectCert::verify.