Crate sd_jwt

Source
Expand description

§sd_jwt

sd_jwt is an implementation of the SD-JWT draft. Not ready for production yet.

Enums§

SDError

Functions§

create_sd_jwt
Returns a Value, sd-jwt as serialized string, SVC value, and svc as serialized string.
create_sd_jwt_release
Returns the sd-jwt-release value and serialized string.
generate_salt
Returns a random base64 encoded String which can be used as salt.
get_public_key
Returns a JWK object from a PEM file content.
verify
Verifies the given sd-jwt-release and returns the verified claims as serde_json::Value.