reallyme_openid4vp_formats/
lib.rs1mod define_formats;
13#[cfg(any(feature = "native", feature = "wasm"))]
14pub mod mdoc;
15#[cfg(any(feature = "native", feature = "wasm"))]
16mod parse_transaction_data_binding;
17mod report_zk_error;
18#[cfg(any(feature = "native", feature = "wasm"))]
19pub mod sd_jwt;
20#[cfg(any(feature = "native", feature = "wasm"))]
21mod sd_jwt_error;
22mod zeroize_json;
23mod zk_prepared_persona;
24mod zk_prepared_request;
25mod zk_presentation;
26
27pub use define_formats::{FORMAT_DC_SD_JWT, FORMAT_MSO_MDOC, FORMAT_REALLYME_ZK};
28pub use report_zk_error::{ZkFormatError, ZkFormatErrorReason};
29pub use zk_prepared_persona::{
30 encode_zk_prepared_persona_value, parse_zk_prepared_persona_value,
31 MAX_ZK_PREPARED_PERSONA_BYTES, ZK_PREPARED_PERSONA_TYPE,
32};
33pub use zk_prepared_request::{
34 derive_prepared_openid4vp_request_hashes, PreparedOpenId4VpRequestHashes,
35 PreparedOpenId4VpRequestInput,
36};
37pub use zk_presentation::{
38 build_zk_presentation_binding, encode_zk_presentation_value, hash_openid4vp_audience,
39 hash_openid4vp_nonce, is_zk_presentation_value, parse_zk_presentation_value,
40 validate_zk_presentation_binding, validate_zk_presentation_shape, DerivedClaimStatement,
41 ZkPresentation, ZkPresentationArtifactIdentity, ZkPresentationBinding,
42 ZkPresentationCircuitRef, ZkPresentationProfile, ZkPresentationProofSuite, ZkPresentationStage,
43 ZkPresentationStageKind, MAX_ZK_CIRCUIT_LABEL_BYTES, MAX_ZK_PRESENTATION_DERIVED_CLAIMS,
44 MAX_ZK_PRESENTATION_PROOF_BYTES, MAX_ZK_PRESENTATION_PUBLIC_INPUT_BYTES,
45 MAX_ZK_STATEMENT_BYTES, MAX_ZK_STATEMENT_ID_BYTES,
46 ZK_COMMON_CREDENTIAL_ROOT_PRESENTATION_STAGE_COUNT, ZK_PRESENTATION_STAGE_COUNT,
47 ZK_PRESENTATION_TYPE,
48};