Skip to main content

Crate ssi_claims

Crate ssi_claims 

Source
Expand description

Verifiable Claims.

Re-exports§

pub use ssi_jws as jws;
pub use ssi_jwt as jwt;
pub use ssi_sd_jwt as sd_jwt;
pub use ssi_cose as cose;
pub use ssi_vc as vc;
pub use ssi_vc_jose_cose as vc_jose_cose;
pub use ssi_data_integrity as data_integrity;

Modules§

chrono
Chrono: Date and Time for Rust

Structs§

JWTClaims
JSON Web Token claims.
Jws
Borrowed URL-safe JWS.
JwsBuf
Owned URL-safe JWS.
JwsSlice
Borrowed JWS without any encoding guaranties.
JwsStr
Borrowed UTF-8 encoded JWS.
JwsString
Owned UTF-8 encoded JWS.
JwsVec
Owned JWS without any encoding guaranties.
SignatureEnvironment
Signature environment.
VerificationParameters
Common verification parameters.

Enums§

Invalid
Invalid verifiable claims.
InvalidClaims
InvalidProof
JsonCredentialOrJws
JSON-like verifiable credential or JWS (presumably JWT).
JsonPresentationOrJws
JSON-like verifiable presentation or JWS (presumably JWT).
MessageSignatureError
ProofPreparationError
ProofValidationError
SignatureError

Traits§

AttachProof
Proof bundling trait.
DateTimeProvider
Type that provides date and time.
Eip712TypesLoaderProvider
JsonLdLoaderProvider
Type that provides a JSON-LD document loader.
JwsPayload
JWS payload type.
ResolverProvider
Type that provides a public key resolver.
ResourceProvider
Arbitrary resource provider.
ValidateClaims
Claims that can be validated.
ValidateProof
Proof that can be validated against T claims with a verifier of type V.
VerifiableClaims
Verifiable Claims.

Type Aliases§

ClaimsValidity
ProofValidity
Verification
Verification outcome.