Skip to main content

authenticate_bundle

Function authenticate_bundle 

Source
pub fn authenticate_bundle(
    bundle: &Bundle,
    storage: &StorageConfig,
    now: u64,
) -> Result<SealVerification>
Expand description

Verify structure, digests, the CMS seal, and configured scope restrictions.

Decoded manifest fields must match the encoded manifest used for CMS verification; structural verification binds them before policy checks.

Requires explicit signer pins or CA anchors, even when demo admission is enabled. Certificate validity is checked at now (Unix seconds). Empty scope authorizations impose no additional restriction on trusted signers.