We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65d58b2 commit cc13221Copy full SHA for cc13221
src/sd_jwt.rs
@@ -5,6 +5,7 @@ use std::collections::HashMap;
5
use std::fmt::Display;
6
use std::iter::Peekable;
7
use std::ops::Deref;
8
+use std::ops::DerefMut;
9
use std::str::FromStr;
10
11
use crate::jwt::Jwt;
@@ -43,6 +44,12 @@ impl Deref for SdJwtClaims {
43
44
}
45
46
47
+impl DerefMut for SdJwtClaims {
48
+ fn deref_mut(&mut self) -> &mut Self::Target {
49
+ &mut self.properties
50
+ }
51
+}
52
+
53
/// Representation of an SD-JWT of the format
54
/// `<Issuer-signed JWT>~<Disclosure 1>~<Disclosure 2>~...~<Disclosure N>~<optional KB-JWT>`.
55
#[derive(Debug, Clone, Eq, PartialEq)]
0 commit comments