canic-core 0.67.5

Canic — a canister orchestration and management toolkit for the Internet Computer
Documentation
mod attestation;
mod boundary;
#[cfg(any(
    feature = "auth-root-canister-sig-verify",
    feature = "auth-issuer-canister-sig-verify"
))]
mod canister_sig_key;
mod crypto;
mod delegated;
mod delegation;
mod error;
mod issuer_canister_sig;
mod root_canister_sig;
mod token;
mod types;
mod verify;
pub use boundary::DelegatedSessionExpiryClamp;
pub use error::{
    AuthExpiryError, AuthOpsError, AuthScopeError, AuthSignatureError, AuthValidationError,
};
pub use types::{
    AuthProofVerifierConfig, PrepareDelegatedTokenIssuerProofInput,
    PrepareRootDelegationProofInput, PrepareRootRoleAttestationInput,
    PreparedDelegatedTokenIssuerProof, PreparedRootDelegationProof, PreparedRootRoleAttestation,
    VerifyDelegatedTokenRuntimeInput,
};

const ROLE_ATTESTATION_PROOF_HASH_DOMAIN: &[u8] = b"CANIC_ROLE_ATTESTATION_V1";
pub const AUTH_TIME_SKEW_ALLOWANCE_NS: u64 = 60_000_000_000;

///
/// AuthOps
///

pub struct AuthOps;