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/misc/anoncreds_types/src/data_types/mod.rs | aries/misc/anoncreds_types/src/data_types/mod.rs | pub mod identifiers;
#[cfg(feature = "ledger")]
pub mod ledger;
#[cfg(feature = "messages")]
pub mod 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/misc/anoncreds_types/src/data_types/messages/presentation.rs | aries/misc/anoncreds_types/src/data_types/messages/presentation.rs | use std::collections::HashMap;
use crate::{
cl::Proof,
data_types::identifiers::{
cred_def_id::CredentialDefinitionId, rev_reg_def_id::RevocationRegistryDefinitionId,
schema_id::SchemaId,
},
utils::validation::Validatable,
};
#[derive(Debug, Deserialize, Serialize)]
pub struct Presenta... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/anoncreds_types/src/data_types/messages/cred_request.rs | aries/misc/anoncreds_types/src/data_types/messages/cred_request.rs | use anoncreds_clsignatures::CredentialSecretsBlindingFactors;
use super::nonce::Nonce;
use crate::{
cl::{BlindedCredentialSecrets, BlindedCredentialSecretsCorrectnessProof},
data_types::identifiers::cred_def_id::CredentialDefinitionId,
error::Result,
invalid,
utils::validation::{Validatable, LEGACY... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/anoncreds_types/src/data_types/messages/revocation_state.rs | aries/misc/anoncreds_types/src/data_types/messages/revocation_state.rs | use anoncreds_clsignatures::{RevocationRegistry as CryptoRevocationRegistry, Witness};
use crate::{invalid, utils::validation::Validatable, Error};
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)]
pub struct CredentialRevocationState {
pub witness: Witness,
pub rev_reg: CryptoRevocationRegistry,
... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/anoncreds_types/src/data_types/messages/nonce.rs | aries/misc/anoncreds_types/src/data_types/messages/nonce.rs | use std::{
convert::TryFrom,
fmt,
hash::{Hash, Hasher},
};
use serde::{
de::{Error, SeqAccess, Visitor},
Deserialize, Deserializer, Serialize, Serializer,
};
use serde_json::Value;
use crate::{
cl::{new_nonce, Nonce as CryptoNonce},
ErrorKind,
};
pub struct Nonce {
strval: 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/misc/anoncreds_types/src/data_types/messages/mod.rs | aries/misc/anoncreds_types/src/data_types/messages/mod.rs | pub mod cred_definition_config;
pub mod cred_offer;
pub mod cred_request;
pub mod cred_selection;
pub mod credential;
pub mod link_secret;
pub mod nonce;
pub mod pres_request;
pub mod presentation;
pub mod revocation_state;
| rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/anoncreds_types/src/data_types/messages/cred_selection.rs | aries/misc/anoncreds_types/src/data_types/messages/cred_selection.rs | use std::collections::HashMap;
use super::pres_request::NonRevokedInterval;
use crate::data_types::identifiers::{cred_def_id::CredentialDefinitionId, schema_id::SchemaId};
/// Data structure representing the credentials in the wallet, which are suitable
/// for presentation against a proof request.
#[derive(Clone, 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/misc/anoncreds_types/src/data_types/messages/cred_offer.rs | aries/misc/anoncreds_types/src/data_types/messages/cred_offer.rs | use super::nonce::Nonce;
use crate::{
cl::CredentialKeyCorrectnessProof,
data_types::identifiers::{cred_def_id::CredentialDefinitionId, schema_id::SchemaId},
utils::validation::Validatable,
};
#[derive(Debug, Deserialize, Serialize)]
pub struct CredentialOffer {
pub schema_id: SchemaId,
pub cred_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/misc/anoncreds_types/src/data_types/messages/credential.rs | aries/misc/anoncreds_types/src/data_types/messages/credential.rs | use std::collections::HashMap;
use serde::{Deserialize, Serialize};
#[cfg(feature = "zeroize")]
use zeroize::Zeroize;
use crate::{
cl::{CredentialSignature, RevocationRegistry, SignatureCorrectnessProof, Witness},
data_types::identifiers::{
cred_def_id::CredentialDefinitionId, rev_reg_def_id::Revocati... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/anoncreds_types/src/data_types/messages/pres_request.rs | aries/misc/anoncreds_types/src/data_types/messages/pres_request.rs | use std::{collections::HashMap, fmt};
use anoncreds_clsignatures::PredicateType;
use serde::{de, ser, Deserialize, Deserializer, Serialize, Serializer};
use serde_json::Value;
use typed_builder::TypedBuilder;
use super::{credential::Credential, nonce::Nonce};
use crate::{
invalid,
utils::{
query::Quer... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/anoncreds_types/src/data_types/messages/cred_definition_config.rs | aries/misc/anoncreds_types/src/data_types/messages/cred_definition_config.rs | use crate::{data_types::ledger::cred_def::SignatureType, utils::validation::Validatable};
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
pub struct CredentialDefinitionConfig {
pub support_revocation: bool,
pub tag: String,
pub signature_type: SignatureType,
}
impl Validatable for CredentialDefi... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/anoncreds_types/src/data_types/messages/link_secret.rs | aries/misc/anoncreds_types/src/data_types/messages/link_secret.rs | use std::fmt;
use crate::cl::{bn::BigNumber, Prover as CryptoProver};
pub struct LinkSecret(pub(crate) BigNumber);
impl LinkSecret {
pub fn new() -> Result<Self, crate::Error> {
let value = CryptoProver::new_link_secret()
.map_err(|err| {
crate::Error::from_msg(
... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/anoncreds_types/src/data_types/ledger/rev_reg.rs | aries/misc/anoncreds_types/src/data_types/ledger/rev_reg.rs | use crate::cl::RevocationRegistry as CryptoRevocationRegistry;
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)]
pub struct RevocationRegistry {
pub value: CryptoRevocationRegistry,
}
| rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/anoncreds_types/src/data_types/ledger/rev_reg_def.rs | aries/misc/anoncreds_types/src/data_types/ledger/rev_reg_def.rs | use std::str::FromStr;
use anoncreds_clsignatures::RevocationKeyPrivate;
use crate::{
cl::RevocationKeyPublic,
data_types::identifiers::{
cred_def_id::CredentialDefinitionId, issuer_id::IssuerId,
rev_reg_def_id::RevocationRegistryDefinitionId,
},
utils::validation::Validatable,
};
pub... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/anoncreds_types/src/data_types/ledger/schema.rs | aries/misc/anoncreds_types/src/data_types/ledger/schema.rs | use std::collections::HashSet;
use crate::{
data_types::identifiers::{issuer_id::IssuerId, schema_id::SchemaId},
utils::validation::Validatable,
};
pub const MAX_ATTRIBUTES_COUNT: usize = 125;
#[derive(Debug, Clone, Serialize, Deserialize, Default, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struc... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/anoncreds_types/src/data_types/ledger/cred_def.rs | aries/misc/anoncreds_types/src/data_types/ledger/cred_def.rs | use std::str::FromStr;
use anoncreds_clsignatures::CredentialPrivateKey;
use crate::{
cl::{CredentialPrimaryPublicKey, CredentialPublicKey, CredentialRevocationPublicKey},
data_types::identifiers::{
cred_def_id::CredentialDefinitionId, issuer_id::IssuerId, schema_id::SchemaId,
},
utils::valida... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/anoncreds_types/src/data_types/ledger/mod.rs | aries/misc/anoncreds_types/src/data_types/ledger/mod.rs | pub mod cred_def;
pub mod rev_reg;
pub mod rev_reg_def;
pub mod rev_reg_delta;
pub mod rev_status_list;
pub mod schema;
| rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/anoncreds_types/src/data_types/ledger/rev_reg_delta.rs | aries/misc/anoncreds_types/src/data_types/ledger/rev_reg_delta.rs | use anoncreds_clsignatures::Accumulator;
#[derive(Clone, Deserialize, Debug, Serialize, PartialEq)]
pub struct RevocationRegistryDelta {
pub value: RevocationRegistryDeltaValue,
}
#[derive(Clone, Deserialize, Debug, Serialize, PartialEq)]
#[serde(rename_all = "camelCase")]
pub struct RevocationRegistryDeltaValue ... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/anoncreds_types/src/data_types/ledger/rev_status_list.rs | aries/misc/anoncreds_types/src/data_types/ledger/rev_status_list.rs | use crate::{
cl::{Accumulator, RevocationRegistry as CryptoRevocationRegistry},
data_types::{
identifiers::{issuer_id::IssuerId, rev_reg_def_id::RevocationRegistryDefinitionId},
ledger::rev_reg::RevocationRegistry,
},
Result,
};
/// Data model for the revocation status list as defined 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/misc/anoncreds_types/src/data_types/identifiers/rev_reg_def_id.rs | aries/misc/anoncreds_types/src/data_types/identifiers/rev_reg_def_id.rs | use crate::{
error::Error,
utils::validation::{Validatable, LEGACY_DID_IDENTIFIER, URI_IDENTIFIER},
};
#[derive(Debug, Clone, PartialEq, Eq, Hash, Deserialize, Serialize, Default)]
pub struct RevocationRegistryDefinitionId(pub String);
impl RevocationRegistryDefinitionId {
pub fn new_unchecked(s: impl Int... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/anoncreds_types/src/data_types/identifiers/issuer_id.rs | aries/misc/anoncreds_types/src/data_types/identifiers/issuer_id.rs | use crate::{
error::Error,
utils::validation::{Validatable, LEGACY_DID_IDENTIFIER, URI_IDENTIFIER},
};
#[derive(Debug, Clone, PartialEq, Eq, Hash, Deserialize, Serialize, Default)]
pub struct IssuerId(pub String);
impl IssuerId {
pub fn new_unchecked(s: impl Into<String>) -> Self {
Self(s.into())
... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/anoncreds_types/src/data_types/identifiers/mod.rs | aries/misc/anoncreds_types/src/data_types/identifiers/mod.rs | pub mod cred_def_id;
pub mod issuer_id;
pub mod rev_reg_def_id;
pub mod schema_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/misc/anoncreds_types/src/data_types/identifiers/schema_id.rs | aries/misc/anoncreds_types/src/data_types/identifiers/schema_id.rs | // use crate::impl_anoncreds_object_identifier;
//
// impl_anoncreds_object_identifier!(SchemaId);
use crate::{
error::Error,
utils::validation::{Validatable, LEGACY_SCHEMA_IDENTIFIER, URI_IDENTIFIER},
};
#[derive(Debug, Clone, PartialEq, Eq, Hash, Deserialize, Serialize, Default)]
pub struct SchemaId(pub Stri... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/anoncreds_types/src/data_types/identifiers/cred_def_id.rs | aries/misc/anoncreds_types/src/data_types/identifiers/cred_def_id.rs | use crate::{
error::Error,
utils::validation::{Validatable, LEGACY_CRED_DEF_IDENTIFIER, URI_IDENTIFIER},
};
#[derive(Debug, Clone, PartialEq, Eq, Hash, Deserialize, Serialize, Default)]
pub struct CredentialDefinitionId(pub String);
impl CredentialDefinitionId {
pub fn new_unchecked(s: impl Into<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/misc/indy_ledger_response_parser/src/lib.rs | aries/misc/indy_ledger_response_parser/src/lib.rs | #[macro_use]
extern crate serde;
extern crate serde_json;
mod domain;
pub mod error;
use anoncreds_clsignatures::RevocationRegistryDelta as ClRevocationRegistryDelta;
pub use domain::author_agreement::GetTxnAuthorAgreementData;
use domain::{author_agreement::GetTxnAuthorAgreementResult, txn::GetTxnReplyResult};
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/misc/indy_ledger_response_parser/src/error.rs | aries/misc/indy_ledger_response_parser/src/error.rs | use thiserror::Error;
#[derive(Debug, Error)]
pub enum LedgerResponseParserError {
#[error("JSON error: {0}")]
JsonError(#[from] serde_json::error::Error),
#[error("Ledger item not found: {0}")]
LedgerItemNotFound(&'static str),
#[error("Invalid transaction: {0}")]
InvalidTransaction(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/misc/indy_ledger_response_parser/src/domain/rev_reg.rs | aries/misc/indy_ledger_response_parser/src/domain/rev_reg.rs | use std::collections::HashSet;
use anoncreds_clsignatures::RevocationRegistry;
use indy_vdr::ledger::{
identifiers::RevocationRegistryId, requests::rev_reg::RevocationRegistryV1,
};
use super::{
constants::{GET_REVOC_REG, GET_REVOC_REG_DELTA},
response::{GetReplyResultV1, ReplyType},
};
#[derive(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/misc/indy_ledger_response_parser/src/domain/txn.rs | aries/misc/indy_ledger_response_parser/src/domain/txn.rs | use serde_json::Value;
use super::{
constants::GET_TXN,
response::{GetReplyResultV0, GetReplyResultV1, ReplyType},
};
#[derive(Debug, Deserialize)]
#[serde(untagged)]
pub enum GetTxnReplyResult {
GetTxnReplyResultV0(GetReplyResultV0<Value>),
GetTxnReplyResultV1(GetReplyResultV1<Value>),
}
impl ReplyT... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/indy_ledger_response_parser/src/domain/author_agreement.rs | aries/misc/indy_ledger_response_parser/src/domain/author_agreement.rs | use indy_vdr::ledger::requests::author_agreement::AcceptanceMechanisms;
use super::{
constants::GET_TXN_AUTHR_AGRMT,
response::{GetReplyResultV0, ReplyType},
};
#[derive(Debug, Deserialize)]
#[serde(untagged)]
pub(crate) enum GetTxnAuthorAgreementResult {
GetTxnAuthorAgreementResultV1(GetReplyResultV0<Get... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/indy_ledger_response_parser/src/domain/response.rs | aries/misc/indy_ledger_response_parser/src/domain/response.rs | use crate::error::LedgerResponseParserError;
#[derive(Deserialize, Debug)]
#[serde(rename_all = "camelCase")]
pub struct Response {
#[allow(unused)] // unused, but part of entity
pub req_id: u64,
pub reason: String,
}
#[derive(Debug, Deserialize)]
#[serde(untagged)]
pub enum Reply<T> {
ReplyV0(ReplyV0... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/indy_ledger_response_parser/src/domain/rev_reg_def.rs | aries/misc/indy_ledger_response_parser/src/domain/rev_reg_def.rs | use indy_vdr::ledger::requests::rev_reg_def::RevocationRegistryDefinitionV1;
use super::{
constants::GET_REVOC_REG_DEF,
response::{GetReplyResultV1, ReplyType},
};
#[derive(Debug, Deserialize)]
#[serde(untagged)]
pub enum GetRevocRegDefReplyResult {
GetRevocRegDefReplyResultV0(GetRevocRegDefResultV0),
... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/indy_ledger_response_parser/src/domain/did.rs | aries/misc/indy_ledger_response_parser/src/domain/did.rs | use indy_vdr::utils::did::ShortDidValue;
use super::{
constants::GET_NYM,
response::{GetReplyResultV0, GetReplyResultV1, ReplyType},
};
#[derive(Debug, Deserialize)]
#[serde(untagged)]
pub enum GetNymReplyResult {
GetNymReplyResultV0(GetReplyResultV0<String>),
GetNymReplyResultV1(GetReplyResultV1<GetN... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/indy_ledger_response_parser/src/domain/schema.rs | aries/misc/indy_ledger_response_parser/src/domain/schema.rs | use std::collections::HashSet;
use indy_vdr::{ledger::identifiers::SchemaId, utils::did::ShortDidValue};
use super::{
constants::GET_SCHEMA,
response::{GetReplyResultV1, ReplyType},
};
#[derive(Serialize, PartialEq, Debug, Deserialize)]
pub struct SchemaOperationData {
pub name: String,
pub version: ... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/indy_ledger_response_parser/src/domain/attrib.rs | aries/misc/indy_ledger_response_parser/src/domain/attrib.rs | use indy_vdr::utils::did::ShortDidValue;
use super::response::GetReplyResultV1;
#[allow(unused)]
// unused for now, but domain defined: https://github.com/hyperledger/indy-node/blob/main/docs/source/transactions.md#attrib
#[derive(Debug, Deserialize)]
#[serde(untagged)]
pub enum GetAttrReplyResult {
GetAttrReplyR... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/indy_ledger_response_parser/src/domain/cred_def.rs | aries/misc/indy_ledger_response_parser/src/domain/cred_def.rs | use indy_vdr::{
ledger::{
identifiers::{CredentialDefinitionId, SchemaId},
requests::cred_def::{CredentialDefinitionData, SignatureType},
},
utils::did::ShortDidValue,
};
use super::{
constants::GET_CRED_DEF,
response::{GetReplyResultV1, ReplyType},
};
#[derive(Debug, Deserialize)]... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/indy_ledger_response_parser/src/domain/mod.rs | aries/misc/indy_ledger_response_parser/src/domain/mod.rs | pub mod attrib;
pub mod author_agreement;
pub mod constants;
pub mod cred_def;
pub mod did;
pub mod response;
pub mod rev_reg;
pub mod rev_reg_def;
pub mod schema;
pub mod txn;
| rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/indy_ledger_response_parser/src/domain/constants.rs | aries/misc/indy_ledger_response_parser/src/domain/constants.rs | pub const GET_NYM: &str = "105";
pub const GET_SCHEMA: &str = "107";
pub const GET_CRED_DEF: &str = "108";
pub const GET_REVOC_REG_DEF: &str = "115";
pub const GET_REVOC_REG: &str = "116";
pub const GET_REVOC_REG_DELTA: &str = "117";
pub const GET_TXN_AUTHR_AGRMT: &str = "6";
pub const GET_TXN: &str = "3";
| rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/indy_ledger_response_parser/tests/test_author_agreement.rs | aries/misc/indy_ledger_response_parser/tests/test_author_agreement.rs | use indy_ledger_response_parser::ResponseParser;
pub const TAA_RESPONSE: &str = r#"{
"op": "REPLY",
"result": {
"type": "6",
"identifier": "L5AD5g65TDQr1PPHHRoiGf",
"reqId": 1514308188474704,
"version": "1.0",
"seqNo": 10,
"txnTime": 1514214795,
"data"... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/legacy/diddoc_legacy/src/lib.rs | aries/misc/legacy/diddoc_legacy/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)]
#[macro_use]
extern crate serde;
extern crate shared;
pub mod aries;
pub mod errors;
pub ... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/legacy/diddoc_legacy/src/errors/mapping_sharedvcx.rs | aries/misc/legacy/diddoc_legacy/src/errors/mapping_sharedvcx.rs | use shared::errors::validation::{ValidationError, ValidationErrorKind};
use crate::errors::error::{DiddocError, DiddocErrorKind};
impl From<ValidationErrorKind> for DiddocErrorKind {
fn from(error: ValidationErrorKind) -> Self {
match error {
ValidationErrorKind::InvalidDid => DiddocErrorKind:... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/legacy/diddoc_legacy/src/errors/error.rs | aries/misc/legacy/diddoc_legacy/src/errors/error.rs | use std::{error::Error, fmt};
pub mod prelude {
pub use crate::errors::error::{err_msg, DiddocError, DiddocErrorKind, DiddocResult};
}
#[derive(Copy, Clone, Eq, PartialEq, Debug, thiserror::Error)]
pub enum DiddocErrorKind {
#[error("Object is in invalid state for requested operation")]
InvalidState,
... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/legacy/diddoc_legacy/src/errors/mod.rs | aries/misc/legacy/diddoc_legacy/src/errors/mod.rs | pub mod error;
mod mapping_sharedvcx;
| rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/legacy/diddoc_legacy/src/w3c/service.rs | aries/misc/legacy/diddoc_legacy/src/w3c/service.rs | #[derive(Debug, Deserialize, Serialize, Clone)]
pub struct DidDocService {
pub id: String,
#[serde(rename = "type")]
pub type_: String,
#[serde(rename = "serviceEndpoint")]
pub service_endpoint: 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/misc/legacy/diddoc_legacy/src/w3c/diddoc.rs | aries/misc/legacy/diddoc_legacy/src/w3c/diddoc.rs | use crate::w3c::{
model::{Authentication, Ed25519PublicKey},
service::DidDocService,
};
#[derive(Debug, Deserialize, Serialize, Clone)]
pub struct W3cDidDoc {
#[serde(rename = "@context")]
pub context: String,
#[serde(default)]
pub id: String,
#[serde(default)]
#[serde(rename = "publicK... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/legacy/diddoc_legacy/src/w3c/model.rs | aries/misc/legacy/diddoc_legacy/src/w3c/model.rs | use serde::{Serialize, Serializer};
pub const CONTEXT: &str = "https://w3id.org/did/v1";
pub const KEY_TYPE: &str = "Ed25519VerificationKey2018"; // TODO: Should be Ed25519Signature2018?
pub const KEY_AUTHENTICATION_TYPE: &str = "Ed25519SignatureAuthentication2018";
#[derive(Debug, Deserialize, Serialize, Clone, Part... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/legacy/diddoc_legacy/src/w3c/mod.rs | aries/misc/legacy/diddoc_legacy/src/w3c/mod.rs | pub mod diddoc;
pub mod model;
pub mod service;
| rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/legacy/diddoc_legacy/src/aries/service.rs | aries/misc/legacy/diddoc_legacy/src/aries/service.rs | use display_as_json::Display;
use url::Url;
pub const SERVICE_SUFFIX: &str = "indy";
pub const SERVICE_TYPE: &str = "IndyAgent";
// Service object as defined https://github.com/decentralized-identity/aries-rfcs/blob/main/features/0434-outofband/README.md#the-services-item
// Note that is divergence from w3c spec htt... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/legacy/diddoc_legacy/src/aries/diddoc.rs | aries/misc/legacy/diddoc_legacy/src/aries/diddoc.rs | use shared::validation::verkey::validate_verkey;
use url::Url;
use crate::{
aries::service::AriesService,
errors::error::{DiddocError, DiddocErrorKind, DiddocResult},
w3c::model::{
Authentication, DdoKeyReference, Ed25519PublicKey, CONTEXT, KEY_AUTHENTICATION_TYPE,
KEY_TYPE,
},
};
#[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/misc/legacy/diddoc_legacy/src/aries/mod.rs | aries/misc/legacy/diddoc_legacy/src/aries/mod.rs | pub mod diddoc;
pub mod service;
| rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/shared/src/http_client.rs | aries/misc/shared/src/http_client.rs | use std::time::Duration;
use reqwest::{
self,
header::{CONTENT_TYPE, USER_AGENT},
Client, Response, Url,
};
use crate::errors::http_error::{HttpError, HttpResult};
lazy_static! {
static ref HTTP_CLIENT: Client = {
match reqwest::ClientBuilder::new()
.timeout(Duration::from_secs(50... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/shared/src/lib.rs | aries/misc/shared/src/lib.rs | #[macro_use]
extern crate log;
#[macro_use]
extern crate lazy_static;
pub mod errors;
pub mod http_client;
pub mod maybe_known;
pub mod misc;
pub mod validation;
| rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/shared/src/maybe_known.rs | aries/misc/shared/src/maybe_known.rs | use serde::{Deserialize, Serialize};
/// Enum used to encapsulate values of any type that may have variants we haven't implemented yet.
///
/// Deserialization will be first attempted to the [`MaybeKnown::Known`] variant
/// and then, if that fails, to the [`MaybeKnown::Unknown`] variant.
///
/// This enum provides 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/misc/shared/src/validation/did.rs | aries/misc/shared/src/validation/did.rs | use bs58;
use regex::Regex;
use crate::errors::validation::{ValidationError, ValidationErrorKind, ValidationResult};
lazy_static! {
pub static ref REGEX: Regex =
Regex::new("did:([a-z0-9]+):([a-zA-Z0-9:.-_]*)").expect("unexpected regex error occurred.");
}
pub fn is_fully_qualified(entity: &str) -> bool ... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/shared/src/validation/verkey.rs | aries/misc/shared/src/validation/verkey.rs | use bs58;
use crate::errors::validation::{ValidationError, ValidationErrorKind, ValidationResult};
pub fn validate_verkey(verkey: &str) -> ValidationResult<String> {
let check_verkey = String::from(verkey);
match bs58::decode(check_verkey.clone()).into_vec() {
Ok(ref x) if x.len() == 32 => Ok(check_ve... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/shared/src/validation/mod.rs | aries/misc/shared/src/validation/mod.rs | pub mod did;
pub mod verkey;
| rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/shared/src/misc/serde_ignored.rs | aries/misc/shared/src/misc/serde_ignored.rs | use serde::{de::IgnoredAny, Deserialize, Serialize};
#[derive(Clone, Copy, Debug, Default, PartialEq)]
pub struct SerdeIgnored;
/// Custom impl that, through [`Option`], handles the field not being
/// provided at all and, through [`IgnoredAny`], also ignores anything
/// that was provided for the field.
impl<'de> 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/misc/shared/src/misc/utils.rs | aries/misc/shared/src/misc/utils.rs | /// Wrapper used for allowing borrowing behavior on [`Cow<'_, str>`] where possible.
use std::borrow::Cow;
use serde::Deserialize;
/// See: <https://github.com/serde-rs/serde/issues/1852>
#[derive(Debug, PartialEq, Deserialize)]
#[serde(transparent)]
pub struct CowStr<'a>(#[serde(borrow)] pub Cow<'a, 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/misc/shared/src/misc/mod.rs | aries/misc/shared/src/misc/mod.rs | pub mod serde_ignored;
pub 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/misc/shared/src/errors/validation.rs | aries/misc/shared/src/errors/validation.rs | use std::{error::Error, fmt};
#[derive(Copy, Clone, Eq, PartialEq, Debug, thiserror::Error)]
pub enum ValidationErrorKind {
#[error("Invalid DID")]
InvalidDid,
#[error("Invalid VERKEY")]
InvalidVerkey,
#[error("Value needs to be base58")]
NotBase58,
}
#[derive(Debug, thiserror::Error)]
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/misc/shared/src/errors/http_error.rs | aries/misc/shared/src/errors/http_error.rs | use std::{error::Error, fmt};
#[derive(Debug, thiserror::Error)]
pub struct HttpError {
msg: String,
}
impl fmt::Display for HttpError {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
writeln!(f, "Error: {}\n", self.msg)?;
let mut current = self.source();
while let Some(cause) ... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/shared/src/errors/mod.rs | aries/misc/shared/src/errors/mod.rs | pub mod http_error;
pub mod validation;
| rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/test_utils/src/settings.rs | aries/misc/test_utils/src/settings.rs | pub const DEFAULT_GENESIS_PATH: &str = "genesis.txn";
pub const DEFAULT_LINK_SECRET_ALIAS: &str = "main";
pub const DEFAULT_DID: &str = "2hoqvcwupRTUNkXn6ArYzs";
pub const DEFAULT_WALLET_BACKUP_KEY: &str = "backup_wallet_key";
pub const DEFAULT_WALLET_KEY: &str = "8dvfYSt5d1taSd6yJdpjq4emkwsPDDLYxkNFysFD2cZY";
pub cons... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/test_utils/src/random.rs | aries/misc/test_utils/src/random.rs | use rand::{distr::Alphanumeric, Rng};
use crate::settings::DEFAULT_DID;
pub fn generate_random_schema_name() -> String {
String::from_utf8(rand::rng().sample_iter(&Alphanumeric).take(25).collect()).unwrap()
}
pub fn generate_random_name() -> String {
String::from_utf8(rand::rng().sample_iter(&Alphanumeric).t... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/test_utils/src/lib.rs | aries/misc/test_utils/src/lib.rs | pub mod devsetup;
pub mod mockdata;
pub mod random;
#[rustfmt::skip]
pub mod constants;
pub mod errors;
pub mod logger;
pub mod mock_wallet;
pub mod settings;
| rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/test_utils/src/logger.rs | aries/misc/test_utils/src/logger.rs | use std::{env, io::Write, sync::Once};
use chrono::{
format::{DelayedFormat, StrftimeItems},
Local,
};
use env_logger::{fmt::Formatter, Builder as EnvLoggerBuilder};
use log::{LevelFilter, Record};
use crate::errors::error::{TestUtilsError, TestUtilsResult};
static TEST_LOGGING_INIT: Once = Once::new();
pub... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/test_utils/src/mock_wallet.rs | aries/misc/test_utils/src/mock_wallet.rs | use aries_vcx_wallet::{
errors::error::{VcxWalletError, VcxWalletResult},
wallet::{
base_wallet::{
did_data::DidData,
did_wallet::DidWallet,
issuer_config::IssuerConfig,
key_value::KeyValue,
record::{AllRecords, PartialRecord, Record},
... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/test_utils/src/devsetup.rs | aries/misc/test_utils/src/devsetup.rs | use std::{
fs::{self, DirBuilder, OpenOptions},
io::Write,
path::{Path, PathBuf},
};
use aries_vcx_anoncreds::anoncreds::base_anoncreds::BaseAnonCreds;
use aries_vcx_ledger::{
errors::error::VcxLedgerResult,
ledger::{
base_ledger::{
AnoncredsLedgerRead, AnoncredsLedgerWrite, Ind... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/test_utils/src/constants.rs | aries/misc/test_utils/src/constants.rs | use anoncreds_types::data_types::{
identifiers::{cred_def_id::CredentialDefinitionId, schema_id::SchemaId},
ledger::{rev_reg_def::RevocationRegistryDefinition, schema::Schema},
};
use serde_json::json;
pub static TRUSTEE_SEED: &str = "000000000000000000000000Trustee1";
pub const LARGE_NONCE: usize = 80;
pub st... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | true |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/test_utils/src/errors/error.rs | aries/misc/test_utils/src/errors/error.rs | use thiserror::Error as ThisError;
pub type TestUtilsResult<T> = Result<T, TestUtilsError>;
#[derive(Debug, ThisError)]
pub enum TestUtilsError {
#[error("Logging error: {0}")]
LoggingError(String),
#[error("Unknown error: {0}")]
UnknownError(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/misc/test_utils/src/errors/mod.rs | aries/misc/test_utils/src/errors/mod.rs | pub mod 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/misc/test_utils/src/devsetup/askar_wallet.rs | aries/misc/test_utils/src/devsetup/askar_wallet.rs | use aries_vcx_wallet::wallet::{
askar::{askar_wallet_config::AskarWalletConfig, key_method::KeyMethod, AskarWallet},
base_wallet::{did_wallet::DidWallet, ManageWallet},
};
use log::info;
use uuid::Uuid;
pub async fn dev_setup_wallet_askar(key_seed: &str) -> (String, AskarWallet) {
info!("dev_setup_wallet_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/misc/test_utils/src/devsetup/vdr_proxy_ledger.rs | aries/misc/test_utils/src/devsetup/vdr_proxy_ledger.rs | use std::{env, sync::Arc};
use aries_vcx_ledger::ledger::{
indy_vdr_ledger::{
IndyVdrLedgerRead, IndyVdrLedgerReadConfig, IndyVdrLedgerWrite, IndyVdrLedgerWriteConfig,
ProtocolVersion,
},
request_submitter::vdr_proxy::VdrProxySubmitter,
response_cacher::in_memory::{InMemoryResponseCache... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/test_utils/src/mockdata/mockdata_mediated_connection.rs | aries/misc/test_utils/src/mockdata/mockdata_mediated_connection.rs | // Alice receives invitation via out of band channel
pub const ARIES_CONNECTION_INVITATION: &str = r#"
{
"@id": "28b39b79-f5db-4478-879a-15bb12632d00",
"@type": "https://didcomm.org/connections/1.0/invitation",
"label": "alice-e9b498a1-7d86-4389-a9de-3823dbb2f27e",
"recipientKeys": [
"DEKbrMDX9L... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/test_utils/src/mockdata/mockdata_oob.rs | aries/misc/test_utils/src/mockdata/mockdata_oob.rs | pub const ARIES_OOB_MESSAGE: &str = r#"
{
"@id": "testid",
"label": "test",
"goal_code": "p2p-messaging",
"goal": "test",
"services": [
{
"id": "did:example:123456789abcdefghi;indy",
"type": "IndyAgent",
"priority": 0,
"recipientKeys": [],
"routingKeys": [],
"serviceEnd... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/test_utils/src/mockdata/mod.rs | aries/misc/test_utils/src/mockdata/mod.rs | pub mod mock_anoncreds;
pub mod mock_ledger;
pub mod mockdata_connection;
pub mod mockdata_credex;
pub mod mockdata_mediated_connection;
pub mod mockdata_oob;
pub mod mockdata_pool;
pub mod mockdata_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/misc/test_utils/src/mockdata/mock_anoncreds.rs | aries/misc/test_utils/src/mockdata/mock_anoncreds.rs | use std::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,
rev_reg_def::Rev... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/test_utils/src/mockdata/mockdata_connection.rs | aries/misc/test_utils/src/mockdata/mockdata_connection.rs | pub const CONNECTION_SM_INVITEE_INVITED: &str = r#"
{
"connection_sm": {
"Invitee": {
"source_id": "",
"thread_id": "testid",
"pairwise_info": {
"pw_did": "2GB7BV5cTaXBYC8mrYthU4",
"pw_vk": "gtBaNGsGmZFoDNPeJmPNfncdWoXMWCLCgicJJUZxoGz"
},
"state": {
"Invited":... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/test_utils/src/mockdata/mockdata_pool.rs | aries/misc/test_utils/src/mockdata/mockdata_pool.rs | pub const TRUSTEE_VERKEY_VALID: &str = r#"HQadn2nfL8pb6GjUhY4cpCDatrfzPmjdkT4usyRrUGB5"#;
pub const NYM_REQUEST_VALID: &str = r#"{"reqId":1650970891357931000,"identifier":"89K7zMyGCCe3KK14jBqx6H","operation":{"type":"1","dest":"89K7zMyGCCe3KK14jBqx6H","verkey":"HQadn2nfL8pb6GjUhY4cpCDatrfzPmjdkT4usyRrUGB5"},"protocolVe... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/test_utils/src/mockdata/mockdata_proof.rs | aries/misc/test_utils/src/mockdata/mockdata_proof.rs | // Faber send Cred offer to Alice
pub const ARIES_PROOF_REQUEST_PRESENTATION: &str = r#"
{
"@id": "4e62363d-6348-4b59-9d98-a86497f9301b",
"@type": "https://didcomm.org/present-proof/1.0/request-presentation",
"comment": "alice-131bc1e2-fa29-404c-a87c-69983e02084d wants you to share proofForAlice",
"requ... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | true |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/test_utils/src/mockdata/mockdata_credex.rs | aries/misc/test_utils/src/mockdata/mockdata_credex.rs | // Faber send Cred offer to Alice
pub const ARIES_CREDENTIAL_OFFER: &str = r#"{
"@id": "57b3f85d-7673-4e6f-bb09-cc27cf2653c0",
"@type": "https://didcomm.org/issue-credential/1.0/offer-credential",
"credential_preview": {
"@type": "https://didcomm.org/issue-credential/1.0/credential-preview",
... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | true |
openwallet-foundation/vcx | https://github.com/openwallet-foundation/vcx/blob/2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7/aries/misc/test_utils/src/mockdata/mock_ledger.rs | aries/misc/test_utils/src/mockdata/mock_ledger.rs | 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::RevocationRegistryDefinition, rev... | 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_macros/src/lib.rs | aries/messages_macros/src/lib.rs | #![allow(clippy::expect_fun_call)]
mod message_type;
use message_type::message_type_impl;
use proc_macro::TokenStream;
use syn::{parse_macro_input, DeriveInput, Error};
/// Derive macro to be used for easier implementation of message type components.
/// The macro serves as implementation for semver reasoning and pa... | 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_macros/src/message_type.rs | aries/messages_macros/src/message_type.rs | use darling::{
ast::{Data, Fields},
FromDeriveInput, FromVariant,
};
use proc_macro2::{Ident, Span, TokenStream};
use quote::quote;
use syn::{
punctuated::Punctuated, spanned::Spanned, DeriveInput, Error, GenericArgument, Path,
PathArguments, PathSegment, Result as SynResult, Token, Type, TypePath,
};
... | 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_wallet/src/lib.rs | aries/aries_vcx_wallet/src/lib.rs | pub mod errors;
pub mod wallet;
| 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_wallet/src/wallet/record_tags.rs | aries/aries_vcx_wallet/src/wallet/record_tags.rs | use std::fmt;
use serde::{de::Visitor, ser::SerializeMap, Deserialize, Serialize};
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord)]
pub struct RecordTag {
key: String,
value: String,
}
impl RecordTag {
pub fn new(key: &str, value: &str) -> Self {
Self {
key: key.to_owned(),
... | 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_wallet/src/wallet/structs_io.rs | aries/aries_vcx_wallet/src/wallet/structs_io.rs | use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, Debug, Clone, Eq, PartialEq)]
pub struct UnpackMessageOutput {
pub message: String,
pub recipient_verkey: String,
#[serde(skip_serializing_if = "Option::is_none")]
pub sender_verkey: Option<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_wallet/src/wallet/utils.rs | aries/aries_vcx_wallet/src/wallet/utils.rs | use rand::{distr::Alphanumeric, Rng};
use crate::errors::error::VcxWalletResult;
#[allow(dead_code)]
pub fn random_seed() -> String {
rand::rng()
.sample_iter(Alphanumeric)
.take(32)
.map(char::from)
.collect()
}
pub fn bytes_to_string(vec: Vec<u8>) -> VcxWalletResult<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_wallet/src/wallet/mod.rs | aries/aries_vcx_wallet/src/wallet/mod.rs | #[cfg(feature = "askar_wallet")]
pub mod askar;
pub mod base_wallet;
pub mod record_tags;
pub mod structs_io;
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_wallet/src/wallet/base_wallet/record_wallet.rs | aries/aries_vcx_wallet/src/wallet/base_wallet/record_wallet.rs | use async_trait::async_trait;
use super::{
record::{AllRecords, Record},
record_category::RecordCategory,
};
use crate::{errors::error::VcxWalletResult, wallet::record_tags::RecordTags};
#[async_trait]
pub trait RecordWallet {
async fn all_records(&self) -> VcxWalletResult<Box<dyn AllRecords + Send>>;
... | 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_wallet/src/wallet/base_wallet/base58_string.rs | aries/aries_vcx_wallet/src/wallet/base_wallet/base58_string.rs | use serde::{Deserialize, Serialize};
use crate::{
errors::error::VcxWalletResult,
wallet::utils::{bs58_to_bytes, bytes_to_bs58, bytes_to_string},
};
#[derive(Serialize, Deserialize, Debug)]
#[serde(transparent)]
pub struct Base58String(String);
impl Base58String {
pub fn from_bytes(content: &[u8]) -> Sel... | 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_wallet/src/wallet/base_wallet/did_data.rs | aries/aries_vcx_wallet/src/wallet/base_wallet/did_data.rs | use public_key::Key;
use serde::{Deserialize, Serialize};
#[derive(Debug, Deserialize, Serialize)]
pub struct DidData {
did: String,
verkey: Key,
}
impl DidData {
pub fn new(did: &str, verkey: &Key) -> Self {
Self {
did: did.into(),
verkey: verkey.clone(),
}
}
... | 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_wallet/src/wallet/base_wallet/key_value.rs | aries/aries_vcx_wallet/src/wallet/base_wallet/key_value.rs | use serde::{Deserialize, Serialize};
use super::base58_string::Base58String;
#[derive(Debug, Deserialize, Serialize)]
pub struct KeyValue {
pub verkey: Base58String,
pub signkey: Base58String,
}
impl KeyValue {
pub fn new(signkey: Base58String, verkey: Base58String) -> Self {
Self { signkey, verk... | 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_wallet/src/wallet/base_wallet/migrate.rs | aries/aries_vcx_wallet/src/wallet/base_wallet/migrate.rs | use std::str::FromStr;
use log::{error, info, trace, warn};
use super::{
record::{PartialRecord, Record},
BaseWallet,
};
use crate::{
errors::error::{VcxWalletError, VcxWalletResult},
wallet::{base_wallet::record_category::RecordCategory, record_tags::RecordTags},
};
#[derive(Debug, Clone, Copy)]
pub... | 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_wallet/src/wallet/base_wallet/base64_string.rs | aries/aries_vcx_wallet/src/wallet/base_wallet/base64_string.rs | use base64::{
alphabet,
engine::{DecodePaddingMode, GeneralPurpose, GeneralPurposeConfig},
Engine,
};
use serde::{Deserialize, Serialize};
use crate::{errors::error::VcxWalletResult, wallet::utils::bytes_to_string};
/// A default [GeneralPurposeConfig] configuration with a [decode_padding_mode] of
/// [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_wallet/src/wallet/base_wallet/did_value.rs | aries/aries_vcx_wallet/src/wallet/base_wallet/did_value.rs | use public_key::Key;
use serde::{Deserialize, Serialize};
#[derive(Debug, Deserialize, Serialize)]
pub struct DidValue {
verkey: Key,
}
impl DidValue {
pub fn new(verkey: &Key) -> Self {
Self {
verkey: verkey.clone(),
}
}
pub fn verkey(&self) -> &Key {
&self.verkey... | 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_wallet/src/wallet/base_wallet/did_wallet.rs | aries/aries_vcx_wallet/src/wallet/base_wallet/did_wallet.rs | use async_trait::async_trait;
use public_key::Key;
use super::did_data::DidData;
use crate::{errors::error::VcxWalletResult, wallet::structs_io::UnpackMessageOutput};
#[async_trait]
pub trait DidWallet {
async fn create_and_store_my_did(
&self,
seed: Option<&str>,
kdf_method_name: Option<&... | 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_wallet/src/wallet/base_wallet/issuer_config.rs | aries/aries_vcx_wallet/src/wallet/base_wallet/issuer_config.rs | use serde::{Deserialize, Serialize};
use typed_builder::TypedBuilder;
#[derive(Clone, Debug, TypedBuilder, Serialize, Deserialize)]
#[builder(field_defaults(default))]
pub struct IssuerConfig {
pub institution_did: 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_wallet/src/wallet/base_wallet/record_category.rs | aries/aries_vcx_wallet/src/wallet/base_wallet/record_category.rs | use std::{
fmt::{self, Display, Formatter},
str::FromStr,
};
use crate::errors::error::VcxWalletError;
const LINK_SECRET: &str = "VCX_LINK_SECRET";
const CRED: &str = "VCX_CREDENTIAL";
const CRED_DEF: &str = "VCX_CRED_DEF";
const CRED_KEY_CORRECTNESS_PROOF: &str = "VCX_CRED_KEY_CORRECTNESS_PROOF";
const 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_wallet/src/wallet/base_wallet/record.rs | aries/aries_vcx_wallet/src/wallet/base_wallet/record.rs | use async_trait::async_trait;
use typed_builder::TypedBuilder;
use super::{key_value::KeyValue, record_category::RecordCategory};
use crate::{errors::error::VcxWalletResult, wallet::record_tags::RecordTags};
#[derive(Debug, Default, Clone, TypedBuilder)]
pub struct Record {
category: RecordCategory,
name: 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_wallet/src/wallet/base_wallet/mod.rs | aries/aries_vcx_wallet/src/wallet/base_wallet/mod.rs | use async_trait::async_trait;
use self::{
did_wallet::DidWallet, issuer_config::IssuerConfig, key_value::KeyValue,
record_wallet::RecordWallet,
};
use super::record_tags::RecordTags;
use crate::errors::error::VcxWalletResult;
pub mod base58_string;
pub mod base64_string;
pub mod did_data;
pub mod did_value;
p... | rust | Apache-2.0 | 2d3034ed73ba8d49e0f72251b4c7cfb859a1efe7 | 2026-01-04T20:24:59.602734Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.