Function sd_jwt::create_sd_jwt_release
source · [−]pub fn create_sd_jwt_release(
nonce: String,
aud: String,
disclosed_claims: Value,
svc_payload_serialized: String,
holder: &Vec<u8>
) -> Result<(Value, String), SDError>
Expand description
Returns the sd-jwt-release value and serialized string.
Arguments
nonce
- The nonce value as String.aud
- The expected audience of the released JWT.disclosed_claims
- The claims we are going to disclose.svc_payload_serialized
- The serialized SVC payloadholder
- The reference to the holder’s key.