ccatoken 0.1.0

CCA attestation token decoding, verification, and appraisal
Documentation
1
2
3
4
5
6
7
8
9
10
// Copyright 2023 Contributors to the Veraison project.
// SPDX-License-Identifier: Apache-2.0

use super::cpak::Cpak;

/// Interface to the store where the active CPAKs are stashed.
pub trait ITrustAnchorStore {
    /// Lookup a trust anchor from the store given the corresponding Instance ID
    fn lookup(&self, inst_id: &[u8; 33]) -> Option<Cpak>;
}