1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//! The persisted credential envelope (`{acdc, signature}`).
//!
//! F.3's `anchor_tel_event` stores an opaque credential blob keyed by the credential
//! SAID. The pure verifier (F.5) needs both the ACDC *and* the issuer's detached
//! signature over `acdc.to_wire_bytes()` ([`auths_verifier::SignedAcdc`]), but that
//! type is not serializable. This module owns the on-disk blob format: a serializable
//! envelope the issue path writes and the verify path reads back into a `SignedAcdc`.
use Acdc;
use ;
/// The credential blob stored under the issuer's namespace.
///
/// Serializes the ACDC body alongside the issuer's detached signature so the SDK
/// resolution layer can reconstruct the [`auths_verifier::SignedAcdc`] the pure
/// verifier consumes.