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/messages/src/msg_fields/protocols/out_of_band/mod.rs | aries/messages/src/msg_fields/protocols/out_of_band/mod.rs | //! Module containing the `out of band` protocol messages, as defined in the [RFC](<https://github.com/decentralized-identity/aries-rfcs/blob/main/features/0434-outofband/README.md>).
pub mod invitation;
pub mod reuse;
pub mod reuse_accepted;
use derive_more::From;
use serde::{de::Error, Deserialize, Deserializer, Se... | 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_fields/protocols/out_of_band/reuse.rs | aries/messages/src/msg_fields/protocols/out_of_band/reuse.rs | use serde::{Deserialize, Serialize};
use shared::misc::serde_ignored::SerdeIgnored;
use typed_builder::TypedBuilder;
use crate::{
decorators::{thread::Thread, timing::Timing},
msg_parts::MsgParts,
};
pub type HandshakeReuse = MsgParts<HandshakeReuseContent, HandshakeReuseDecorators>;
#[derive(Clone, Debug, 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_ledger/src/lib.rs | aries/aries_vcx_ledger/src/lib.rs | pub mod errors;
pub mod ledger;
| 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_ledger/src/errors/mapping_indyvdr.rs | aries/aries_vcx_ledger/src/errors/mapping_indyvdr.rs | use indy_vdr::{
common::error::{VdrError, VdrErrorKind},
utils::ValidationError,
};
use crate::errors::error::VcxLedgerError;
impl From<VdrError> for VcxLedgerError {
fn from(err: VdrError) -> Self {
match err.kind() {
VdrErrorKind::Config => Self::InvalidConfiguration(err),
... | 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_ledger/src/errors/mapping_indyvdr_proxy.rs | aries/aries_vcx_ledger/src/errors/mapping_indyvdr_proxy.rs | use indy_vdr_proxy_client::error::VdrProxyClientError;
use super::error::VcxLedgerError;
impl From<VdrProxyClientError> for VcxLedgerError {
fn from(err: VdrProxyClientError) -> Self {
Self::InvalidLedgerResponse(err.to_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/aries_vcx_ledger/src/errors/error.rs | aries/aries_vcx_ledger/src/errors/error.rs | use aries_vcx_wallet::errors::error::VcxWalletError;
use did_parser_nom::ParseError;
use indy_vdr::common::error::VdrError;
use thiserror::Error as ThisError;
pub type VcxLedgerResult<T> = Result<T, VcxLedgerError>;
#[derive(Debug, ThisError)]
pub enum VcxLedgerError {
#[error("Invalid configuration: {0}")]
I... | 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_ledger/src/errors/mapping_others.rs | aries/aries_vcx_ledger/src/errors/mapping_others.rs | use std::sync::PoisonError;
use super::error::VcxLedgerError;
impl<T> From<PoisonError<T>> for VcxLedgerError {
fn from(err: PoisonError<T>) -> Self {
VcxLedgerError::InvalidState(err.to_string())
}
}
impl From<Box<dyn std::error::Error>> for VcxLedgerError {
fn from(err: Box<dyn std::error::Erro... | 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_ledger/src/errors/mod.rs | aries/aries_vcx_ledger/src/errors/mod.rs | pub mod error;
#[cfg(feature = "cheqd")]
mod mapping_cheqd;
mod mapping_indyvdr;
#[cfg(feature = "vdr_proxy_ledger")]
mod mapping_indyvdr_proxy;
mod mapping_ledger_response_parser;
mod mapping_others;
| 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_ledger/src/errors/mapping_ledger_response_parser.rs | aries/aries_vcx_ledger/src/errors/mapping_ledger_response_parser.rs | use indy_ledger_response_parser::error::LedgerResponseParserError;
use super::error::VcxLedgerError;
impl From<LedgerResponseParserError> for VcxLedgerError {
fn from(err: LedgerResponseParserError) -> Self {
match err {
LedgerResponseParserError::JsonError(err) => VcxLedgerError::InvalidJson(... | 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_ledger/src/errors/mapping_cheqd.rs | aries/aries_vcx_ledger/src/errors/mapping_cheqd.rs | use did_cheqd::error::{parsing::ParsingErrorSource, DidCheqdError};
use super::error::VcxLedgerError;
impl From<DidCheqdError> for VcxLedgerError {
fn from(value: DidCheqdError) -> Self {
match value {
DidCheqdError::MethodNotSupported(_) => VcxLedgerError::InvalidInput(value.to_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/aries_vcx_ledger/src/ledger/type_conversion.rs | aries/aries_vcx_ledger/src/ledger/type_conversion.rs | use anoncreds_types::data_types::{
identifiers::{
cred_def_id::CredentialDefinitionId as OurCredentialDefinitionId, issuer_id::IssuerId,
rev_reg_def_id::RevocationRegistryDefinitionId as OurRevocationRegistryDefinitionId,
schema_id::SchemaId as OurSchemaId,
},
ledger::{
cred_... | 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_ledger/src/ledger/multi_ledger.rs | aries/aries_vcx_ledger/src/ledger/multi_ledger.rs | use std::fmt::Debug;
use anoncreds_types::data_types::{
identifiers::{
cred_def_id::CredentialDefinitionId, rev_reg_def_id::RevocationRegistryDefinitionId,
schema_id::SchemaId,
},
ledger::{
cred_def::CredentialDefinition, rev_reg::RevocationRegistry,
rev_reg_def::RevocationR... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | true |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx_ledger/src/ledger/indy_vdr_ledger.rs | aries/aries_vcx_ledger/src/ledger/indy_vdr_ledger.rs | use std::{
fmt::{Debug, Formatter},
str::FromStr,
sync::RwLock,
};
use anoncreds_types::{
data_types::{
identifiers::{
cred_def_id::CredentialDefinitionId, issuer_id::IssuerId,
rev_reg_def_id::RevocationRegistryDefinitionId, schema_id::SchemaId,
},
ledger... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | true |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx_ledger/src/ledger/mod.rs | aries/aries_vcx_ledger/src/ledger/mod.rs | use crate::errors::error::VcxLedgerError;
pub mod arc;
pub mod base_ledger;
pub mod common;
#[cfg(feature = "cheqd")]
pub mod cheqd;
pub mod indy;
pub mod indy_vdr_ledger;
pub mod multi_ledger;
mod type_conversion;
pub mod request_submitter;
pub mod response_cacher;
fn map_error_not_found_to_none<T, E>(res: 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_ledger/src/ledger/common.rs | aries/aries_vcx_ledger/src/ledger/common.rs | use std::collections::HashMap;
use did_parser_nom::Did;
use serde::Deserialize;
use crate::errors::error::{VcxLedgerError, VcxLedgerResult};
#[derive(Deserialize, Debug)]
#[serde(rename_all = "camelCase")]
struct Request {
#[allow(dead_code)]
pub req_id: u64,
pub identifier: String,
pub signature: Op... | 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_ledger/src/ledger/base_ledger.rs | aries/aries_vcx_ledger/src/ledger/base_ledger.rs | use std::fmt::Debug;
use anoncreds_types::data_types::{
identifiers::{
cred_def_id::CredentialDefinitionId, rev_reg_def_id::RevocationRegistryDefinitionId,
schema_id::SchemaId,
},
ledger::{
cred_def::CredentialDefinition, rev_reg::RevocationRegistry,
rev_reg_def::RevocationR... | 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_ledger/src/ledger/arc.rs | aries/aries_vcx_ledger/src/ledger/arc.rs | //! Contains convenience wrappers for the aries_vcx_ledger traits when working with [Arc]s.
use std::sync::Arc;
use anoncreds_types::data_types::{
identifiers::{
cred_def_id::CredentialDefinitionId, rev_reg_def_id::RevocationRegistryDefinitionId,
schema_id::SchemaId,
},
ledger::{
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_ledger/src/ledger/indy/mod.rs | aries/aries_vcx_ledger/src/ledger/indy/mod.rs | pub mod pool;
| 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_ledger/src/ledger/indy/pool.rs | aries/aries_vcx_ledger/src/ledger/indy/pool.rs | pub mod test_utils {
use std::{env, fs, io::Write, path::PathBuf};
pub fn get_temp_dir_path() -> PathBuf {
env::temp_dir()
}
pub fn get_temp_file_path(filename: &str) -> PathBuf {
let mut path = env::temp_dir();
path.push(filename);
path
}
pub fn get_txns_local... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | true |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/aries_vcx_ledger/src/ledger/request_submitter/vdr_proxy.rs | aries/aries_vcx_ledger/src/ledger/request_submitter/vdr_proxy.rs | use std::sync::Arc;
use async_trait::async_trait;
use indy_vdr::pool::PreparedRequest;
use indy_vdr_proxy_client::VdrProxyClient;
use super::RequestSubmitter;
use crate::errors::error::VcxLedgerResult;
#[derive(Clone)]
pub struct VdrProxySubmitter {
client: Arc<VdrProxyClient>,
}
impl VdrProxySubmitter {
pu... | 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_ledger/src/ledger/request_submitter/mod.rs | aries/aries_vcx_ledger/src/ledger/request_submitter/mod.rs | use async_trait::async_trait;
use indy_vdr::pool::PreparedRequest;
use crate::errors::error::VcxLedgerResult;
pub mod vdr_ledger;
#[cfg(feature = "vdr_proxy_ledger")]
pub mod vdr_proxy;
#[async_trait]
pub trait RequestSubmitter: Send + Sync {
async fn submit(&self, request: PreparedRequest) -> VcxLedgerResult<St... | 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_ledger/src/ledger/request_submitter/vdr_ledger.rs | aries/aries_vcx_ledger/src/ledger/request_submitter/vdr_ledger.rs | use std::{
collections::HashMap,
fmt::{Debug, Formatter},
sync::Arc,
};
use async_trait::async_trait;
use indy_vdr::{
common::error::VdrError,
config::PoolConfig,
pool::{
PoolBuilder, PoolRunner, PoolTransactions, PreparedRequest, RequestResult,
RequestResultMeta,
},
};
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_ledger/src/ledger/response_cacher/mod.rs | aries/aries_vcx_ledger/src/ledger/response_cacher/mod.rs | pub mod in_memory;
pub mod noop;
use async_trait::async_trait;
use serde::{Deserialize, Serialize};
use crate::errors::error::VcxLedgerResult;
#[async_trait]
pub trait ResponseCacher: Send + Sync {
type Options: Send + Sync;
async fn put<S, T>(&self, id: S, obj: T) -> VcxLedgerResult<()>
where
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_ledger/src/ledger/response_cacher/noop/mod.rs | aries/aries_vcx_ledger/src/ledger/response_cacher/noop/mod.rs | use async_trait::async_trait;
use serde::{Deserialize, Serialize};
use super::ResponseCacher;
use crate::errors::error::VcxLedgerResult;
pub struct NoopResponseCacher;
#[async_trait]
impl ResponseCacher for NoopResponseCacher {
type Options = ();
async fn put<S, T>(&self, _id: S, _obj: T) -> VcxLedgerResult... | 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_ledger/src/ledger/response_cacher/in_memory/config.rs | aries/aries_vcx_ledger/src/ledger/response_cacher/in_memory/config.rs | use std::{num::NonZeroUsize, time::Duration};
use serde::Deserialize;
use crate::errors::error::VcxLedgerError;
#[derive(Clone, Debug, Deserialize)]
pub struct InMemoryResponseCacherConfig {
ttl: Duration,
capacity: NonZeroUsize,
}
impl InMemoryResponseCacherConfig {
pub fn builder() -> InMemoryResponse... | 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_ledger/src/ledger/response_cacher/in_memory/options.rs | aries/aries_vcx_ledger/src/ledger/response_cacher/in_memory/options.rs | use std::time::Duration;
#[derive(Default)]
pub struct InMemoryResponseCacherOptions {
ttl: Option<Duration>,
}
impl InMemoryResponseCacherOptions {
pub fn builder() -> InMemoryResponseCacherOptionsBuilder {
InMemoryResponseCacherOptionsBuilder::default()
}
pub fn ttl(&self) -> Option<Duratio... | 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_ledger/src/ledger/response_cacher/in_memory/mod.rs | aries/aries_vcx_ledger/src/ledger/response_cacher/in_memory/mod.rs | mod config;
mod options;
use std::{sync::Arc, time::Instant};
use async_trait::async_trait;
pub use config::*;
use log::info;
use lru::LruCache;
pub use options::*;
use serde::{Deserialize, Serialize};
use tokio::sync::Mutex;
use super::ResponseCacher;
use crate::errors::error::VcxLedgerResult;
pub struct InMemoryR... | 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_ledger/src/ledger/cheqd/mod.rs | aries/aries_vcx_ledger/src/ledger/cheqd/mod.rs | use std::{fmt::Debug, sync::Arc};
use anoncreds_types::data_types::{
identifiers::{
cred_def_id::CredentialDefinitionId, issuer_id::IssuerId,
rev_reg_def_id::RevocationRegistryDefinitionId, schema_id::SchemaId,
},
ledger::{
cred_def::CredentialDefinition,
rev_reg::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_ledger/src/ledger/cheqd/models.rs | aries/aries_vcx_ledger/src/ledger/cheqd/models.rs | //! Cheqd Ledger data models, derived from https://docs.cheqd.io/product/advanced/anoncreds
use anoncreds_types::data_types::{
identifiers::{cred_def_id::CredentialDefinitionId, schema_id::SchemaId},
ledger::{
cred_def::{CredentialDefinitionData, SignatureType},
rev_reg_def::{RegistryType, Revo... | 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_ledger/tests/test_cheqd.rs | aries/aries_vcx_ledger/tests/test_cheqd.rs | #[cfg(feature = "cheqd")]
mod test_cheqd {
use std::sync::Arc;
use anoncreds_types::data_types::identifiers::{
cred_def_id::CredentialDefinitionId, rev_reg_def_id::RevocationRegistryDefinitionId,
schema_id::SchemaId,
};
use aries_vcx_ledger::ledger::{
base_ledger::AnoncredsLedge... | 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_ledger/tests/test_multi_ledger.rs | aries/aries_vcx_ledger/tests/test_multi_ledger.rs | #[cfg(feature = "cheqd")]
mod test_cheqd {
use std::sync::Arc;
use aries_vcx_ledger::{
errors::error::VcxLedgerResult,
ledger::{
cheqd::CheqdAnoncredsLedgerRead,
indy_vdr_ledger::{IndyVdrLedgerRead, IndyVdrLedgerReadConfig},
multi_ledger::MultiLedgerAnoncreds... | 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_anoncreds/src/lib.rs | aries/aries_vcx_anoncreds/src/lib.rs | pub mod anoncreds;
pub mod constants;
pub mod errors;
mod utils;
| 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_anoncreds/src/constants.rs | aries/aries_vcx_anoncreds/src/constants.rs | pub static DEFAULT_SERIALIZE_VERSION: &str = "1.0";
| 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_anoncreds/src/errors/mapping_anoncreds.rs | aries/aries_vcx_anoncreds/src/errors/mapping_anoncreds.rs | use anoncreds::{Error as AnoncredsError, ErrorKind};
use crate::errors::error::VcxAnoncredsError;
impl From<AnoncredsError> for VcxAnoncredsError {
fn from(err: AnoncredsError) -> Self {
match err.kind() {
ErrorKind::Input => VcxAnoncredsError::InvalidInput(err.to_string()),
ErrorK... | 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_anoncreds/src/errors/error.rs | aries/aries_vcx_anoncreds/src/errors/error.rs | use aries_vcx_wallet::errors::error::VcxWalletError;
use thiserror::Error as ThisError;
pub type VcxAnoncredsResult<T> = Result<T, VcxAnoncredsError>;
#[derive(Debug, ThisError)]
pub enum VcxAnoncredsError {
#[error("Invalid JSON: {0}")]
InvalidJson(String),
#[error("Invalid input: {0}")]
InvalidInput... | 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_anoncreds/src/errors/mapping_others.rs | aries/aries_vcx_anoncreds/src/errors/mapping_others.rs | use super::error::VcxAnoncredsError;
impl From<serde_json::Error> for VcxAnoncredsError {
fn from(value: serde_json::Error) -> Self {
Self::InvalidJson(value.to_string())
}
}
impl From<Box<dyn std::error::Error>> for VcxAnoncredsError {
fn from(err: Box<dyn std::error::Error>) -> Self {
Vc... | 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_anoncreds/src/errors/mod.rs | aries/aries_vcx_anoncreds/src/errors/mod.rs | pub mod error;
#[cfg(feature = "anoncreds")]
mod mapping_anoncreds;
mod mapping_others;
| 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_anoncreds/src/utils/json.rs | aries/aries_vcx_anoncreds/src/utils/json.rs | extern crate serde;
extern crate serde_json;
use std::string::String;
use serde_json::{Map, Value};
use crate::errors::error::{VcxAnoncredsError, VcxAnoncredsResult};
#[allow(unused)]
// some methods not used yet or by all features, but still a useful util
pub(crate) trait AsTypeOrDeserializationError {
fn try_... | 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_anoncreds/src/utils/mod.rs | aries/aries_vcx_anoncreds/src/utils/mod.rs | pub mod constants;
pub mod json;
| 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_anoncreds/src/utils/constants.rs | aries/aries_vcx_anoncreds/src/utils/constants.rs | #![allow(dead_code)]
pub static ATTRS: &str = "attrs";
pub static LIBINDY_CRED_OFFER: &str = r#"{"issuer_did":"2hoqvcwupRTUNkXn6ArYzs","schema_key":{"name":"Home Address","version":"1.4","did":"2hoqvcwupRTUNkXn6ArYzs"},"key_correctness_proof":{"c":"8555253541554245344305351079388313043821365069629297255640200538622329... | 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_anoncreds/src/anoncreds/base_anoncreds.rs | aries/aries_vcx_anoncreds/src/anoncreds/base_anoncreds.rs | use std::{collections::HashMap, path::Path};
use anoncreds_types::data_types::{
identifiers::{
cred_def_id::CredentialDefinitionId, rev_reg_def_id::RevocationRegistryDefinitionId,
schema_id::SchemaId,
},
ledger::{
cred_def::CredentialDefinition,
rev_reg::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/aries_vcx_anoncreds/src/anoncreds/mod.rs | aries/aries_vcx_anoncreds/src/anoncreds/mod.rs | #[allow(clippy::module_inception)]
#[cfg(feature = "anoncreds")]
pub mod anoncreds;
pub mod 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_anoncreds/src/anoncreds/anoncreds/type_conversion.rs | aries/aries_vcx_anoncreds/src/anoncreds/anoncreds/type_conversion.rs | use std::collections::HashMap;
use anoncreds::{
cl::RevocationRegistry as CryptoRevocationRegistry,
data_types::{
cred_def::{
CredentialDefinition as AnoncredsCredentialDefinition,
CredentialDefinitionData as AnoncredsCredentialDefinitionData,
CredentialDefinitionId ... | 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_anoncreds/src/anoncreds/anoncreds/mod.rs | aries/aries_vcx_anoncreds/src/anoncreds/anoncreds/mod.rs | mod type_conversion;
use std::{
collections::{HashMap, HashSet},
path::Path,
};
use anoncreds::{
cl::{Accumulator, RevocationRegistry as CryptoRevocationRegistry},
data_types::{
cred_def::{
CredentialDefinition as AnoncredsCredentialDefinition,
CredentialDefinitionId as... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.