sdjwt 0.7.1

SD-JWT support for Issuers, Holders, and Verifiers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::Disclosure;

#[derive(Debug, Clone)]
pub struct DisclosurePath {
    pub path: String,
    pub disclosure: Disclosure,
}

impl DisclosurePath {
    pub fn new(path: &str, disclosure: &Disclosure) -> Self {
        DisclosurePath {
            path: path.to_string(),
            disclosure: disclosure.clone(),
        }
    }
}