Skip to main content

Crate reallyme_openid4vci_types

Crate reallyme_openid4vci_types 

Source
Expand description

OpenID4VCI 1.0 final wire types and validation helpers.

This crate owns JSON-facing data structures only. Issuer storage, signing, proof verification, wallet HTTP transport, and profile policy live in sibling crates so the wire model remains stable and auditable.

Re-exports§

pub use credential_error::CredentialErrorCode;
pub use credential_error::CredentialErrorResponse;
pub use credential_error::DeferredCredentialErrorCode;
pub use credential_error::DeferredCredentialErrorResponse;
pub use credential_error::NotificationErrorCode;
pub use credential_error::NotificationErrorResponse;
pub use error::OpenId4VciError;
pub use error::OpenId4VciResult;
pub use error::Reason;
pub use format::CredentialFormat;
pub use jwk::PublicJwk;
pub use jwk::PublicJwkSet;
pub use metadata::BatchCredentialIssuance;
pub use metadata::CredentialConfiguration;
pub use metadata::CredentialRequestEncryptionMetadata;
pub use metadata::CredentialResponseEncryptionMetadata;
pub use metadata::CredentialSigningAlg;
pub use metadata::IssuerDisplay;
pub use metadata::IssuerInformation;
pub use metadata::IssuerMetadata;
pub use metadata::IssuerMetadataBuilder;
pub use metadata::KeyAttestationsRequired;
pub use metadata::ProofTypeMetadata;
pub use metadata::MIN_BATCH_SIZE;
pub use nonce::NonceRequest;
pub use nonce::NonceResponse;
pub use notification::NotificationEvent;
pub use notification::NotificationRequest;
pub use offer::build_credential_offer_reference_uri;
pub use offer::build_credential_offer_uri;
pub use offer::parse_credential_offer_uri;
pub use offer::AuthorizationCodeGrant;
pub use offer::CredentialOffer;
pub use offer::CredentialOfferGrant;
pub use offer::ParsedCredentialOffer;
pub use offer::PreAuthorizedCodeGrant;
pub use offer::TxCode;
pub use offer::TxCodeInputMode;
pub use offer::DEFAULT_CREDENTIAL_OFFER_SCHEME;
pub use offer::MAX_CREDENTIAL_OFFER_URI_BYTES;
pub use problem::IssuerProblemStatus;
pub use problem::ProblemDetails;
pub use problem::ProblemType;
pub use request::CredentialRequest;
pub use request::CredentialResponseEncryption;
pub use request::CredentialSelector;
pub use request::Proofs;
pub use request::ReallyMeZkV1IssuanceRequest;
pub use request::MAX_REALLYME_ZK_V1_ISSUANCE_REQUEST_BYTES;
pub use response::CredentialEnvelope;
pub use response::CredentialPayload;
pub use response::CredentialResponse;
pub use response::DeferredCredentialRequest;
pub use response::MAX_CREDENTIAL_RESPONSE_JSON_BYTES;

Modules§

credential_error
OAuth-style OpenID4VCI endpoint error responses.
error
Typed error model for OpenID4VCI wire validation.
format
OpenID4VCI credential format identifiers.
jwk
Public-only JSON Web Key owners used at protocol serialization boundaries.
metadata
Credential Issuer Metadata models and validation.
nonce
Dedicated Nonce Endpoint types from OpenID4VCI 1.0 final.
notification
Notification Endpoint request types.
offer
Credential Offer types and URI helpers.
problem
RFC 9457 Problem Details support for HTTP adapters.
request
Credential Endpoint request types from OpenID4VCI 1.0 final.
response
Credential and Deferred Credential response wire types.