repo
stringlengths
6
65
file_url
stringlengths
81
311
file_path
stringlengths
6
227
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:31:58
2026-01-04 20:25:31
truncated
bool
2 classes
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/connection/invitee/states/invited.rs
aries/aries_vcx/src/protocols/connection/invitee/states/invited.rs
use diddoc_legacy::aries::diddoc::AriesDidDoc; use crate::{ handlers::util::AnyInvitation, protocols::connection::trait_bounds::{BootstrapDidDoc, TheirDidDoc, ThreadId}, }; #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] pub struct Invited { pub(crate) did_doc: AriesDidDoc, pub(crate) invit...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/connection/invitee/states/requested.rs
aries/aries_vcx/src/protocols/connection/invitee/states/requested.rs
use diddoc_legacy::aries::diddoc::AriesDidDoc; use messages::msg_fields::protocols::connection::request::Request; use crate::protocols::connection::trait_bounds::{ BootstrapDidDoc, HandleProblem, TheirDidDoc, ThreadId, }; #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] pub struct Requested { pub(cr...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/connection/invitee/states/mod.rs
aries/aries_vcx/src/protocols/connection/invitee/states/mod.rs
pub mod completed; pub mod initial; pub mod invited; pub mod requested;
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/connection/invitee/states/initial.rs
aries/aries_vcx/src/protocols/connection/invitee/states/initial.rs
#[derive(Debug, Copy, Clone, Serialize, Deserialize, PartialEq)] pub struct Initial;
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/oob/mod.rs
aries/aries_vcx/src/protocols/oob/mod.rs
use aries_vcx_ledger::ledger::base_ledger::IndyLedgerRead; use chrono::Utc; use diddoc_legacy::aries::{diddoc::AriesDidDoc, service::AriesService}; use messages::{ decorators::{thread::Thread, timing::Timing}, msg_fields::protocols::out_of_band::{ invitation::Invitation, reuse::{HandshakeReuse, ...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/mod.rs
aries/aries_vcx/src/protocols/did_exchange/mod.rs
use std::sync::Arc; use did_doc::schema::{ did_doc::DidDocument, verification_method::{VerificationMethod, VerificationMethodKind}, }; use did_parser_nom::DidUrl; use did_resolver_registry::ResolverRegistry; use messages::msg_fields::protocols::out_of_band::invitation::{ Invitation as OobInvitation, OobSer...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/transition/mod.rs
aries/aries_vcx/src/protocols/did_exchange/transition/mod.rs
// TODO: Obviously move somewhere else once reused pub mod transition_error; pub mod transition_result;
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/transition/transition_result.rs
aries/aries_vcx/src/protocols/did_exchange/transition/transition_result.rs
// TODO: Somehow enforce using both #[must_use] #[derive(Debug)] pub struct TransitionResult<T, U> { pub state: T, pub output: U, }
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/transition/transition_error.rs
aries/aries_vcx/src/protocols/did_exchange/transition/transition_error.rs
use crate::errors::error::AriesVcxError; #[derive(Debug)] pub struct TransitionError<T> { pub state: T, pub error: AriesVcxError, } impl<T> std::fmt::Display for TransitionError<T> { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { write!(f, "Transition error: {}", self.error) ...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/state_machine/helpers.rs
aries/aries_vcx/src/protocols/did_exchange/state_machine/helpers.rs
use std::collections::HashMap; use aries_vcx_wallet::wallet::base_wallet::BaseWallet; use chrono::Utc; use did_doc::schema::{ did_doc::DidDocument, service::{service_key_kind::ServiceKeyKind, typed::didcommv1::ServiceDidCommV1, Service}, types::uri::Uri, verification_method::{PublicKeyField, Verificati...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/state_machine/mod.rs
aries/aries_vcx/src/protocols/did_exchange/state_machine/mod.rs
pub mod helpers; pub mod generic; pub mod requester; pub mod responder; use std::marker::PhantomData; use chrono::Utc; use did_doc::schema::did_doc::DidDocument; use messages::{ decorators::{thread::Thread, timing::Timing}, msg_fields::protocols::did_exchange::v1_x::problem_report::{ AnyProblemReport...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/state_machine/generic/thin_state.rs
aries/aries_vcx/src/protocols/did_exchange/state_machine/generic/thin_state.rs
// todo: remove text representations, and should definitely not be driven by AATH expectations #[derive(Debug, Clone, Serialize, Deserialize)] pub enum ThinState { #[serde(rename = "request-sent")] RequestSent, #[serde(rename = "response-sent")] ResponseSent, #[serde(rename = "completed")] Compl...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/state_machine/generic/mod.rs
aries/aries_vcx/src/protocols/did_exchange/state_machine/generic/mod.rs
use std::sync::Arc; use aries_vcx_wallet::wallet::base_wallet::BaseWallet; use did_doc::schema::did_doc::DidDocument; use did_parser_nom::Did; use did_peer::peer_did::{numalgos::numalgo4::Numalgo4, PeerDid}; use did_resolver_registry::ResolverRegistry; use messages::{ msg_fields::protocols::did_exchange::v1_x::{ ...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/state_machine/generic/conversions.rs
aries/aries_vcx/src/protocols/did_exchange/state_machine/generic/conversions.rs
use super::{GenericDidExchange, RequesterState, ResponderState}; use crate::protocols::did_exchange::{ state_machine::{requester::DidExchangeRequester, responder::DidExchangeResponder}, states::{ completed::Completed, requester::request_sent::RequestSent, responder::response_sent::ResponseSent, ...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/state_machine/requester/helpers.rs
aries/aries_vcx/src/protocols/did_exchange/state_machine/requester/helpers.rs
use chrono::Utc; use did_parser_nom::Did; use messages::{ decorators::{ thread::{Thread, ThreadGoalCode}, timing::Timing, }, msg_fields::protocols::{ did_exchange::v1_x::{ complete::{AnyComplete, Complete, CompleteDecorators}, request::{AnyRequest, Request, Re...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/state_machine/requester/mod.rs
aries/aries_vcx/src/protocols/did_exchange/state_machine/requester/mod.rs
pub mod helpers; mod request_sent; use super::DidExchange; #[derive(Clone, Copy, Debug, Serialize, Deserialize, PartialEq)] pub struct Requester; pub type DidExchangeRequester<S> = DidExchange<Requester, S>;
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/state_machine/requester/request_sent/mod.rs
aries/aries_vcx/src/protocols/did_exchange/state_machine/requester/request_sent/mod.rs
use std::sync::Arc; use aries_vcx_wallet::wallet::base_wallet::BaseWallet; use base64::Engine; use did_doc::schema::did_doc::DidDocument; use did_parser_nom::Did; use did_peer::peer_did::{numalgos::numalgo4::Numalgo4, PeerDid}; use did_resolver::traits::resolvable::resolution_output::DidResolutionOutput; use did_resol...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/state_machine/responder/mod.rs
aries/aries_vcx/src/protocols/did_exchange/state_machine/responder/mod.rs
mod response_sent; use super::DidExchange; #[derive(Clone, Copy, Debug, Serialize, Deserialize, PartialEq)] pub struct Responder; pub type DidExchangeResponder<S> = DidExchange<Responder, S>;
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/state_machine/responder/response_sent/mod.rs
aries/aries_vcx/src/protocols/did_exchange/state_machine/responder/response_sent/mod.rs
use std::sync::Arc; use aries_vcx_wallet::wallet::base_wallet::BaseWallet; use did_doc::schema::did_doc::DidDocument; use did_peer::peer_did::{numalgos::numalgo4::Numalgo4, PeerDid}; use did_resolver_registry::ResolverRegistry; use messages::{ msg_fields::protocols::did_exchange::v1_x::{ complete::Complete...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/states/abandoned.rs
aries/aries_vcx/src/protocols/did_exchange/states/abandoned.rs
use super::traits::ThreadId; #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] pub struct Abandoned { pub reason: String, pub request_id: String, } impl ThreadId for Abandoned { fn thread_id(&self) -> &str { self.request_id.as_str() } }
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/states/completed.rs
aries/aries_vcx/src/protocols/did_exchange/states/completed.rs
use std::clone::Clone; use super::traits::ThreadId; #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] pub struct Completed { pub request_id: String, } impl ThreadId for Completed { fn thread_id(&self) -> &str { self.request_id.as_str() } }
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/states/mod.rs
aries/aries_vcx/src/protocols/did_exchange/states/mod.rs
pub mod abandoned; pub mod completed; pub mod requester; pub mod responder; pub mod traits;
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/states/traits.rs
aries/aries_vcx/src/protocols/did_exchange/states/traits.rs
pub trait ThreadId { fn thread_id(&self) -> &str; }
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/states/requester/request_sent.rs
aries/aries_vcx/src/protocols/did_exchange/states/requester/request_sent.rs
use crate::protocols::did_exchange::states::traits::ThreadId; #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] pub struct RequestSent { pub request_id: String, /* Note: Historical artifact in Aries RFC, used to fill pthread * value in Complete message * See more info here: https://github.co...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/states/requester/mod.rs
aries/aries_vcx/src/protocols/did_exchange/states/requester/mod.rs
pub mod request_sent;
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/states/responder/response_sent.rs
aries/aries_vcx/src/protocols/did_exchange/states/responder/response_sent.rs
use crate::protocols::did_exchange::states::traits::ThreadId; #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] pub struct ResponseSent { pub request_id: String, } impl ThreadId for ResponseSent { fn thread_id(&self) -> &str { self.request_id.as_str() } }
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/did_exchange/states/responder/mod.rs
aries/aries_vcx/src/protocols/did_exchange/states/responder/mod.rs
pub mod response_sent;
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/issuance/mod.rs
aries/aries_vcx/src/protocols/issuance/mod.rs
use aries_vcx_ledger::ledger::base_ledger::AnoncredsLedgerRead; use crate::errors::error::prelude::*; pub mod holder; pub mod issuer; pub async fn is_cred_def_revokable( ledger: &impl AnoncredsLedgerRead, cred_def_id: &str, ) -> VcxResult<bool> { let cred_def_json = ledger .get_cred_def(&cred_def...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/issuance/issuer/mod.rs
aries/aries_vcx/src/protocols/issuance/issuer/mod.rs
pub mod state_machine; pub mod states;
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/issuance/issuer/state_machine.rs
aries/aries_vcx/src/protocols/issuance/issuer/state_machine.rs
use std::{fmt::Display, path::Path}; use anoncreds_types::data_types::messages::credential::Credential; use aries_vcx_anoncreds::anoncreds::base_anoncreds::BaseAnonCreds; use aries_vcx_ledger::ledger::base_ledger::AnoncredsLedgerRead; use aries_vcx_wallet::wallet::base_wallet::BaseWallet; use chrono::Utc; use messages...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/issuance/issuer/states/offer_set.rs
aries/aries_vcx/src/protocols/issuance/issuer/states/offer_set.rs
use anoncreds_types::data_types::identifiers::cred_def_id::CredentialDefinitionId; use messages::msg_fields::protocols::{ cred_issuance::v1::{ offer_credential::OfferCredentialV1, request_credential::RequestCredentialV1, }, report_problem::ProblemReport, }; use crate::{ handlers::util::Status, ...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/issuance/issuer/states/proposal_received.rs
aries/aries_vcx/src/protocols/issuance/issuer/states/proposal_received.rs
use messages::msg_fields::protocols::cred_issuance::v1::propose_credential::ProposeCredentialV1; use crate::handlers::util::OfferInfo; #[derive(Serialize, Deserialize, Debug, Clone)] pub struct ProposalReceivedState { pub credential_proposal: ProposeCredentialV1, pub offer_info: Option<OfferInfo>, } impl Pro...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/issuance/issuer/states/finished.rs
aries/aries_vcx/src/protocols/issuance/issuer/states/finished.rs
use crate::{handlers::util::Status, protocols::issuance::issuer::state_machine::RevocationInfoV1}; #[derive(Serialize, Deserialize, Debug, Clone)] pub struct FinishedState { pub cred_id: Option<String>, pub revocation_info_v1: Option<RevocationInfoV1>, pub status: Status, }
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/issuance/issuer/states/mod.rs
aries/aries_vcx/src/protocols/issuance/issuer/states/mod.rs
pub(super) mod credential_set; pub(super) mod finished; pub(super) mod initial; pub(super) mod offer_set; pub(super) mod proposal_received; pub(super) mod requested_received;
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/issuance/issuer/states/initial.rs
aries/aries_vcx/src/protocols/issuance/issuer/states/initial.rs
#[derive(Serialize, Deserialize, Default, Debug, Clone, PartialEq, Eq)] pub struct InitialIssuerState {}
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/issuance/issuer/states/requested_received.rs
aries/aries_vcx/src/protocols/issuance/issuer/states/requested_received.rs
use messages::msg_fields::protocols::{ cred_issuance::v1::{ offer_credential::OfferCredentialV1, request_credential::RequestCredentialV1, }, report_problem::ProblemReport, }; use crate::{ handlers::util::Status, protocols::issuance::issuer::{ state_machine::RevocationInfoV1, states:...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/issuance/issuer/states/credential_set.rs
aries/aries_vcx/src/protocols/issuance/issuer/states/credential_set.rs
use messages::msg_fields::protocols::cred_issuance::v1::issue_credential::IssueCredentialV1; use crate::{ handlers::util::Status, protocols::issuance::issuer::{ state_machine::RevocationInfoV1, states::finished::FinishedState, }, }; #[derive(Serialize, Deserialize, Debug, Clone)] pub struct Creden...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/issuance/holder/mod.rs
aries/aries_vcx/src/protocols/issuance/holder/mod.rs
pub mod state_machine; pub mod states;
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/issuance/holder/state_machine.rs
aries/aries_vcx/src/protocols/issuance/holder/state_machine.rs
use std::fmt; use anoncreds_types::data_types::{ identifiers::schema_id::SchemaId, messages::cred_offer::CredentialOffer, }; use aries_vcx_anoncreds::anoncreds::base_anoncreds::BaseAnonCreds; use aries_vcx_ledger::ledger::base_ledger::AnoncredsLedgerRead; use aries_vcx_wallet::wallet::base_wallet::BaseWallet; use ...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/issuance/holder/states/proposal_set.rs
aries/aries_vcx/src/protocols/issuance/holder/states/proposal_set.rs
use aries_vcx_ledger::ledger::base_ledger::AnoncredsLedgerRead; use messages::msg_fields::protocols::cred_issuance::v1::propose_credential::ProposeCredentialV1; use crate::{errors::error::prelude::*, protocols::issuance::is_cred_def_revokable}; #[derive(Serialize, Deserialize, Debug, Clone)] pub struct ProposalSetSta...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/issuance/holder/states/request_set.rs
aries/aries_vcx/src/protocols/issuance/holder/states/request_set.rs
use anoncreds_types::data_types::identifiers::schema_id::SchemaId; use messages::msg_fields::protocols::cred_issuance::v1::{ issue_credential::IssueCredentialV1, request_credential::RequestCredentialV1, }; use crate::{ errors::error::prelude::*, handlers::util::Status, protocols::issuance::holder::states::...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/issuance/holder/states/finished.rs
aries/aries_vcx/src/protocols/issuance/holder/states/finished.rs
use messages::msg_fields::protocols::{ cred_issuance::v1::issue_credential::IssueCredentialV1, report_problem::ProblemReport, }; use crate::{ errors::error::prelude::*, handlers::util::{get_attach_as_string, CredentialData, Status}, }; #[derive(Serialize, Deserialize, Debug, Clone)] pub struct FinishedHol...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/issuance/holder/states/mod.rs
aries/aries_vcx/src/protocols/issuance/holder/states/mod.rs
pub(super) mod finished; pub(super) mod initial; pub(super) mod offer_received; pub(super) mod proposal_set; pub(super) mod request_set;
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/issuance/holder/states/initial.rs
aries/aries_vcx/src/protocols/issuance/holder/states/initial.rs
use crate::errors::error::prelude::*; #[derive(Serialize, Deserialize, Debug, Clone)] pub struct InitialHolderState; impl InitialHolderState { pub fn is_revokable(&self) -> VcxResult<bool> { Err(AriesVcxError::from_msg( AriesVcxErrorKind::InvalidState, "Revocation information not a...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/protocols/issuance/holder/states/offer_received.rs
aries/aries_vcx/src/protocols/issuance/holder/states/offer_received.rs
use aries_vcx_ledger::ledger::base_ledger::AnoncredsLedgerRead; use messages::msg_fields::protocols::cred_issuance::v1::offer_credential::OfferCredentialV1; use crate::{ errors::error::prelude::*, handlers::util::get_attach_as_string, protocols::issuance::{ holder::state_machine::parse_cred_def_id_...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/handlers/util.rs
aries/aries_vcx/src/handlers/util.rs
use anoncreds_types::data_types::identifiers::cred_def_id::CredentialDefinitionId; use messages::{ msg_fields::protocols::{ connection::{invitation::Invitation, Connection}, coordinate_mediation::CoordinateMediation, cred_issuance::{v1::CredentialIssuanceV1, v2::CredentialIssuanceV2, Credent...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/handlers/mod.rs
aries/aries_vcx/src/handlers/mod.rs
pub mod issuance; pub mod out_of_band; pub mod proof_presentation; pub mod revocation_notification; pub mod trust_ping; pub mod util;
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/handlers/trust_ping/mod.rs
aries/aries_vcx/src/handlers/trust_ping/mod.rs
use messages::msg_fields::protocols::trust_ping::{ping::Ping, ping_response::PingResponse}; use super::util::matches_thread_id; use crate::{ errors::error::{AriesVcxError, AriesVcxErrorKind, VcxResult}, protocols::{trustping::build_ping, SendClosure}, }; #[derive(Serialize, Deserialize, Debug, Clone)] pub str...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/handlers/revocation_notification/sender.rs
aries/aries_vcx/src/handlers/revocation_notification/sender.rs
use messages::msg_fields::protocols::revocation::ack::AckRevoke; use crate::{ errors::error::prelude::*, protocols::{ revocation_notification::sender::state_machine::{ RevocationNotificationSenderSM, SenderConfig, }, SendClosure, }, }; #[derive(Serialize, Deserialize, D...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/handlers/revocation_notification/mod.rs
aries/aries_vcx/src/handlers/revocation_notification/mod.rs
use messages::decorators::please_ack::AckOn; use crate::{ errors::error::{AriesVcxError, AriesVcxErrorKind, VcxResult}, handlers::{ issuance::issuer::Issuer, revocation_notification::sender::RevocationNotificationSender, }, protocols::{revocation_notification::sender::state_machine::SenderConfi...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/handlers/revocation_notification/receiver.rs
aries/aries_vcx/src/handlers/revocation_notification/receiver.rs
use messages::msg_fields::protocols::revocation::revoke::Revoke; use crate::{ errors::error::prelude::*, protocols::{ revocation_notification::receiver::state_machine::RevocationNotificationReceiverSM, SendClosure, }, }; #[derive(Serialize, Deserialize, Debug, Clone)] pub struct Revocation...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/handlers/proof_presentation/prover.rs
aries/aries_vcx/src/handlers/proof_presentation/prover.rs
use std::collections::HashMap; use anoncreds_types::data_types::messages::cred_selection::{ RetrievedCredentials, SelectedCredentials, }; use aries_vcx_anoncreds::anoncreds::base_anoncreds::BaseAnonCreds; use aries_vcx_ledger::ledger::base_ledger::AnoncredsLedgerRead; use aries_vcx_wallet::wallet::base_wallet::Bas...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/handlers/proof_presentation/mod.rs
aries/aries_vcx/src/handlers/proof_presentation/mod.rs
pub mod prover; pub mod verifier;
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/handlers/proof_presentation/verifier.rs
aries/aries_vcx/src/handlers/proof_presentation/verifier.rs
use anoncreds_types::data_types::messages::pres_request::PresentationRequest; use aries_vcx_anoncreds::anoncreds::base_anoncreds::BaseAnonCreds; use aries_vcx_ledger::ledger::base_ledger::AnoncredsLedgerRead; use messages::{ msg_fields::protocols::{ notification::Notification, present_proof::{ ...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/handlers/issuance/mod.rs
aries/aries_vcx/src/handlers/issuance/mod.rs
pub mod holder; pub mod issuer;
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/handlers/issuance/holder.rs
aries/aries_vcx/src/handlers/issuance/holder.rs
use aries_vcx_anoncreds::anoncreds::base_anoncreds::BaseAnonCreds; use aries_vcx_ledger::ledger::base_ledger::AnoncredsLedgerRead; use aries_vcx_wallet::wallet::base_wallet::BaseWallet; use chrono::Utc; use did_parser_nom::Did; use messages::{ decorators::{thread::Thread, timing::Timing}, msg_fields::protocols:...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/handlers/issuance/issuer.rs
aries/aries_vcx/src/handlers/issuance/issuer.rs
use aries_vcx_anoncreds::anoncreds::base_anoncreds::BaseAnonCreds; use aries_vcx_ledger::ledger::base_ledger::AnoncredsLedgerRead; use aries_vcx_wallet::wallet::base_wallet::BaseWallet; use messages::{ misc::MimeType, msg_fields::protocols::{ cred_issuance::{ common::CredentialAttr, ...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/handlers/out_of_band/sender.rs
aries/aries_vcx/src/handlers/out_of_band/sender.rs
use std::fmt::Display; use base64::Engine; use messages::{ msg_fields::protocols::{ cred_issuance::{v1::CredentialIssuanceV1, CredentialIssuance}, out_of_band::{ invitation::{Invitation, InvitationContent, InvitationDecorators, OobService}, OobGoalCode, }, pr...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/handlers/out_of_band/mod.rs
aries/aries_vcx/src/handlers/out_of_band/mod.rs
pub mod receiver; pub mod sender; #[derive(Debug, Clone, PartialEq)] pub enum GenericOutOfBand { Receiver(receiver::OutOfBandReceiver), Sender(sender::OutOfBandSender), }
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/src/handlers/out_of_band/receiver.rs
aries/aries_vcx/src/handlers/out_of_band/receiver.rs
use std::{clone::Clone, fmt::Display, str::FromStr}; use base64::{engine::general_purpose, Engine}; use messages::{ decorators::attachment::{Attachment, AttachmentType}, msg_fields::protocols::{ cred_issuance::v1::offer_credential::OfferCredentialV1, out_of_band::{invitation::Invitation, OutOfB...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/tests/test_credential_issuance.rs
aries/aries_vcx/tests/test_credential_issuance.rs
use std::error::Error; use aries_vcx::protocols::{ issuance::issuer::state_machine::IssuerState, proof_presentation::verifier::verification_status::PresentationVerificationStatus, }; use test_utils::devsetup::*; use crate::utils::{ scenarios::{ accept_credential_proposal, accept_offer, create_addr...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/tests/test_proof_presentation.rs
aries/aries_vcx/tests/test_proof_presentation.rs
#![allow(clippy::diverging_sub_expression)] use std::error::Error; use anoncreds_types::data_types::messages::pres_request::PresentationRequest; use aries_vcx::{ handlers::proof_presentation::{prover::Prover, verifier::Verifier}, protocols::proof_presentation::{ prover::state_machine::ProverState, ...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/tests/test_credential_retrieval.rs
aries/aries_vcx/tests/test_credential_retrieval.rs
#![allow(clippy::diverging_sub_expression)] use std::{collections::HashMap, error::Error}; use anoncreds_types::data_types::messages::{ cred_selection::RetrievedCredentials, nonce::Nonce, pres_request::{AttributeInfo, PresentationRequest, PresentationRequestPayload}, }; use aries_vcx::handlers::{proof_pre...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/tests/test_connection.rs
aries/aries_vcx/tests/test_connection.rs
use std::error::Error; use aries_vcx::{ common::ledger::transactions::write_endpoint_legacy, protocols::{connection::GenericConnection, mediated_connection::pairwise_info::PairwiseInfo}, utils::encryption_envelope::EncryptionEnvelope, }; use aries_vcx_anoncreds::anoncreds::base_anoncreds::BaseAnonCreds; us...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/tests/test_did_exchange.rs
aries/aries_vcx/tests/test_did_exchange.rs
extern crate log; use std::{error::Error, sync::Arc, thread, time::Duration}; use aries_vcx::{ common::ledger::transactions::write_endpoint_from_service, errors::error::AriesVcxErrorKind, protocols::did_exchange::{ resolve_enc_key_from_invitation, state_machine::{ helpers::crea...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/tests/test_anoncreds.rs
aries/aries_vcx/tests/test_anoncreds.rs
use std::error::Error; use aries_vcx::common::credentials::get_cred_rev_id; use aries_vcx_anoncreds::anoncreds::base_anoncreds::BaseAnonCreds; use aries_vcx_ledger::ledger::base_ledger::AnoncredsLedgerRead; use serde_json::json; use test_utils::{constants::DEFAULT_SCHEMA_ATTRS, devsetup::build_setup_profile}; use cra...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/tests/test_pool.rs
aries/aries_vcx/tests/test_pool.rs
#![allow(clippy::diverging_sub_expression)] use std::{error::Error, thread, time::Duration}; use anoncreds_types::data_types::identifiers::cred_def_id::CredentialDefinitionId; use aries_vcx::{ common::{ keys::{get_verkey_from_ledger, rotate_verkey}, ledger::{ service_didsov::EndpointDi...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/tests/test_verifier.rs
aries/aries_vcx/tests/test_verifier.rs
use std::{error::Error, time::Duration}; use anoncreds_types::{ data_types::messages::{ nonce::Nonce, pres_request::{AttributeInfo, PresentationRequest, PresentationRequestPayload}, presentation::{ Presentation, RequestedAttribute, RequestedCredentials, RequestedPredicate, ...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/tests/test_primitives.rs
aries/aries_vcx/tests/test_primitives.rs
use std::error::Error; use anoncreds_types::{ data_types::ledger::cred_def::CredentialDefinition, utils::validation::Validatable, }; use aries_vcx::common::primitives::{ credential_definition::generate_cred_def, revocation_registry::generate_rev_reg, }; use aries_vcx_ledger::ledger::{ base_ledger::{Anoncre...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/tests/test_revocations.rs
aries/aries_vcx/tests/test_revocations.rs
use std::{error::Error, thread, time::Duration}; use anoncreds_types::data_types::messages::pres_request::NonRevokedInterval; use aries_vcx::protocols::proof_presentation::verifier::{ state_machine::VerifierState, verification_status::PresentationVerificationStatus, }; use test_utils::devsetup::*; use crate::util...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/tests/test_credentials.rs
aries/aries_vcx/tests/test_credentials.rs
use std::error::Error; use aries_vcx::common::credentials::{get_cred_rev_id, is_cred_revoked}; use aries_vcx_anoncreds::anoncreds::base_anoncreds::BaseAnonCreds; use aries_vcx_ledger::ledger::base_ledger::AnoncredsLedgerRead; use test_utils::{constants::DEFAULT_SCHEMA_ATTRS, devsetup::build_setup_profile}; use crate:...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/tests/utils/test_agent.rs
aries/aries_vcx/tests/utils/test_agent.rs
#![allow(clippy::diverging_sub_expression)] use aries_vcx::{ common::ledger::transactions::write_endorser_did, global::settings::DEFAULT_LINK_SECRET_ALIAS, }; use aries_vcx_anoncreds::anoncreds::base_anoncreds::BaseAnonCreds; use aries_vcx_ledger::ledger::base_ledger::{ AnoncredsLedgerRead, AnoncredsLedgerWrit...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/tests/utils/mod.rs
aries/aries_vcx/tests/utils/mod.rs
pub mod scenarios; pub mod test_agent; use std::{path::Path, time::Duration}; use anoncreds_types::data_types::identifiers::{ cred_def_id::CredentialDefinitionId, schema_id::SchemaId, }; use aries_vcx::{ common::{ credentials::encoding::encode_attributes, primitives::{ credential_de...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/tests/utils/scenarios/proof_presentation.rs
aries/aries_vcx/tests/utils/scenarios/proof_presentation.rs
use std::collections::HashMap; use anoncreds_types::data_types::{ identifiers::{cred_def_id::CredentialDefinitionId, schema_id::SchemaId}, messages::{ cred_selection::{ RetrievedCredentialForReferent, RetrievedCredentials, SelectedCredentials, }, nonce::Nonce, pres_r...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/tests/utils/scenarios/connection.rs
aries/aries_vcx/tests/utils/scenarios/connection.rs
use aries_vcx::{ handlers::{out_of_band::sender::OutOfBandSender, util::AnyInvitation}, protocols::{ connection::{invitee::any_invitation_into_did_doc, Connection, GenericConnection}, mediated_connection::pairwise_info::PairwiseInfo, }, }; use aries_vcx_anoncreds::anoncreds::base_anoncreds::...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/tests/utils/scenarios/mod.rs
aries/aries_vcx/tests/utils/scenarios/mod.rs
mod connection; mod credential_issuance; mod data; mod proof_presentation; pub use connection::*; pub use credential_issuance::*; pub use data::*; pub use proof_presentation::*;
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/tests/utils/scenarios/data.rs
aries/aries_vcx/tests/utils/scenarios/data.rs
use std::collections::HashMap; use anoncreds_types::{ data_types::{ identifiers::{cred_def_id::CredentialDefinitionId, schema_id::SchemaId}, messages::pres_request::{AttributeInfo, NonRevokedInterval}, }, utils::query::Query, }; use did_parser_nom::Did; use messages::{ misc::MimeType, ...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx/tests/utils/scenarios/credential_issuance.rs
aries/aries_vcx/tests/utils/scenarios/credential_issuance.rs
use std::{thread, time::Duration}; use anoncreds_types::data_types::identifiers::{ cred_def_id::CredentialDefinitionId, schema_id::SchemaId, }; use aries_vcx::{ common::primitives::{ credential_definition::CredentialDef, credential_schema::Schema, revocation_registry::RevocationRegistry, },...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/lib.rs
aries/messages/src/lib.rs
#![allow(clippy::or_fun_call)] #![allow(clippy::module_inception)] #![allow(clippy::derive_partial_eq_without_eq)] #![allow(clippy::new_without_default)] #![allow(clippy::inherent_to_string)] #![allow(clippy::large_enum_variant)] pub mod decorators; pub mod error; pub mod misc; pub mod msg_fields; pub mod msg_parts; p...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/error.rs
aries/messages/src/error.rs
use std::num::ParseIntError; use thiserror::Error as ThisError; pub type MsgTypeResult<T> = Result<T, MsgTypeError>; #[derive(Debug, ThisError)] pub enum MsgTypeError { #[error("Unknown message type prefix: {0}")] UnknownPrefix(String), #[error("Unknown message kind: {0}")] UnknownMsgKind(String), ...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/msg_parts.rs
aries/messages/src/msg_parts.rs
use display_as_json::Display; use serde::{Deserialize, Serialize}; use shared::misc::serde_ignored::SerdeIgnored as NoDecorators; use typed_builder::TypedBuilder; /// Struct representing a complete message (apart from the `@type` field) as defined in a protocol /// RFC. The purpose of this type is to allow decompositi...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/decorators/please_ack.rs
aries/messages/src/decorators/please_ack.rs
use serde::{Deserialize, Serialize}; use typed_builder::TypedBuilder; /// Struct representing the `~please_ack` decorators from its [RFC](<https://github.com/decentralized-identity/aries-rfcs/blob/main/features/0317-please-ack/README.md>). #[derive(Debug, Default, Clone, Serialize, Deserialize, PartialEq, TypedBuilder...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/decorators/attachment.rs
aries/messages/src/decorators/attachment.rs
use std::collections::HashMap; use chrono::{DateTime, Utc}; use serde::{Deserialize, Serialize}; use serde_json::Value; use shared::maybe_known::MaybeKnown; use typed_builder::TypedBuilder; use url::Url; use crate::misc::MimeType; /// Struct representing the `~attach` decorator from its [RFC](<https://github.com/dec...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/decorators/localization.rs
aries/messages/src/decorators/localization.rs
use std::collections::HashMap; use isolang::Language; use serde::{ ser::{Error, SerializeMap}, Deserialize, Serialize, Serializer, }; use shared::misc::utils::CowStr; use typed_builder::TypedBuilder; use url::Url; /// Struct representing the `~l10n` decorator, when it decorates the entire message, from its [R...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/decorators/timing.rs
aries/messages/src/decorators/timing.rs
use chrono::{DateTime, Utc}; use serde::{Deserialize, Serialize}; use typed_builder::TypedBuilder; use crate::misc::utils; /// Struct representing the `~timing` decorator from its [RFC](<https://github.com/decentralized-identity/aries-rfcs/blob/main/features/0032-message-timing/README.md>). #[derive(Debug, Deserializ...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/decorators/mod.rs
aries/messages/src/decorators/mod.rs
pub mod attachment; pub mod localization; pub mod please_ack; pub mod thread; pub mod timing; pub mod transport;
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/decorators/transport.rs
aries/messages/src/decorators/transport.rs
use serde::{Deserialize, Serialize}; use typed_builder::TypedBuilder; use crate::decorators::thread::Thread; #[derive(Clone, Debug, Deserialize, Serialize, Default, PartialEq, TypedBuilder)] pub struct Transport { pub return_route: ReturnRoute, #[builder(default, setter(strip_option))] #[serde(skip_serial...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/decorators/thread.rs
aries/messages/src/decorators/thread.rs
use std::collections::HashMap; use serde::{Deserialize, Serialize}; use shared::maybe_known::MaybeKnown; use typed_builder::TypedBuilder; /// Struct representing the `~thread` decorator from its [RFC](<https://github.com/decentralized-identity/aries-rfcs/blob/main/concepts/0008-message-id-and-threading/README.md>). #...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/misc/mime_type.rs
aries/messages/src/misc/mime_type.rs
use serde::{Deserialize, Serialize}; #[derive(Debug, Clone, Serialize, Deserialize, PartialEq)] pub enum MimeType { #[serde(rename = "application/json")] Json, #[serde(rename = "image/jpg")] Jpg, #[serde(rename = "image/jpeg")] Jpeg, #[serde(rename = "image/png")] Png, #[serde(renam...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/misc/utils.rs
aries/messages/src/misc/utils.rs
use chrono::{DateTime, Utc}; use serde::{de::Error, Deserializer, Serialize}; /// Used for creating a deserialization error. /// Some messages, or rather, message types, are not meant /// to be used as standalone messages. /// /// E.g: Connection signature message type or credential preview message type. pub(crate) fn...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/misc/mod.rs
aries/messages/src/misc/mod.rs
mod mime_type; pub(crate) mod utils; pub use mime_type::MimeType; pub use shared::misc::{serde_ignored::SerdeIgnored as NoDecorators, utils::CowStr}; #[cfg(test)] pub mod test_utils { use chrono::{DateTime, Utc}; use serde::{Deserialize, Serialize}; use serde_json::{json, Value}; use shared::misc::uti...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/msg_types/registry.rs
aries/messages/src/msg_types/registry.rs
use std::collections::HashMap; use lazy_static::lazy_static; use shared::maybe_known::MaybeKnown; use super::{role::Role, Protocol}; use crate::msg_types::{ present_proof::PresentProofTypeV2, protocols::{ basic_message::BasicMessageTypeV1, connection::ConnectionTypeV1, coordinate_media...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/msg_types/mod.rs
aries/messages/src/msg_types/mod.rs
//! Module that handles operations related solely to the protocol of a message, instead of it's //! content. The main type, [`Protocol`], represents a protocol name along with its (both major and //! minor) version. //! //! The module contains other types that work adjacently to the [`Protocol`] to represent a message ...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/msg_types/role.rs
aries/messages/src/msg_types/role.rs
use serde::{Deserialize, Serialize}; /// The roles an agent can have in a protocol. /// These are mainly for use in the [discover features](<https://github.com/decentralized-identity/aries-rfcs/blob/main/features/0031-discover-features/README.md>) protocol. #[derive(Clone, Deserialize, Debug, PartialEq, Serialize)] #[...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/msg_types/traits.rs
aries/messages/src/msg_types/traits.rs
use std::str::FromStr; use shared::maybe_known::MaybeKnown; use crate::{error::MsgTypeResult, msg_types::role::Role}; /// Trait implemented on enums that represent the message kind of a protocol. /// They link upstream to the [`ProtocolVersion`] impl enum they are part of. /// The link downstream from the [`Protocol...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/msg_types/protocols/signature.rs
aries/messages/src/msg_types/protocols/signature.rs
use derive_more::{From, TryInto}; use messages_macros::MessageType; use strum_macros::{AsRefStr, EnumString}; use transitive::Transitive; use super::Protocol; use crate::msg_types::MsgKindType; #[derive(Copy, Clone, Debug, From, TryInto, PartialEq, MessageType)] #[msg_type(protocol = "signature")] pub enum SignatureT...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/msg_types/protocols/routing.rs
aries/messages/src/msg_types/protocols/routing.rs
use derive_more::From; use messages_macros::MessageType; use strum_macros::{AsRefStr, EnumString}; use transitive::Transitive; use super::Protocol; use crate::msg_types::{role::Role, MsgKindType}; #[derive(Copy, Clone, Debug, From, PartialEq, MessageType)] #[msg_type(protocol = "routing")] pub enum RoutingType { ...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/msg_types/protocols/notification.rs
aries/messages/src/msg_types/protocols/notification.rs
use derive_more::From; use messages_macros::MessageType; use strum_macros::{AsRefStr, EnumString}; use transitive::Transitive; use super::Protocol; use crate::msg_types::{role::Role, MsgKindType}; #[derive(Copy, Clone, Debug, From, PartialEq, MessageType)] #[msg_type(protocol = "notification")] pub enum NotificationT...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/msg_types/protocols/basic_message.rs
aries/messages/src/msg_types/protocols/basic_message.rs
use derive_more::From; use messages_macros::MessageType; use strum_macros::{AsRefStr, EnumString}; use transitive::Transitive; use super::Protocol; use crate::msg_types::{role::Role, MsgKindType}; #[derive(Copy, Clone, Debug, From, PartialEq, MessageType)] #[msg_type(protocol = "basicmessage")] pub enum BasicMessageT...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false
openwallet-foundation/vcx
https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/messages/src/msg_types/protocols/connection.rs
aries/messages/src/msg_types/protocols/connection.rs
use derive_more::{From, TryInto}; use messages_macros::MessageType; use strum_macros::{AsRefStr, EnumString}; use transitive::Transitive; use super::Protocol; use crate::msg_types::{role::Role, MsgKindType}; #[derive(Copy, Clone, Debug, From, TryInto, PartialEq, MessageType)] #[msg_type(protocol = "connections")] pub...
rust
Apache-2.0
2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7
2026-01-04T20:24:59.602734Z
false