Crate ssi_data_integrity_core

Crate ssi_data_integrity_core 

Source
Expand description

Verifiable Credential Data Integrity 1.0 core implementation.

See: https://www.w3.org/TR/vc-data-integrity/

Re-exports§

pub use suite::CloneCryptographicSuite;
pub use suite::CryptographicSuite;
pub use suite::DebugCryptographicSuite;
pub use suite::DeserializeCryptographicSuite;
pub use suite::SerializeCryptographicSuite;
pub use suite::StandardCryptographicSuite;

Modules§

canonicalization
hashing
signing
suite
value_or_array

Structs§

CryptosuiteStr
Cryptographic suite identifier.
CryptosuiteString
Owned cryptographic suite identifier.
DataIntegrity
Data-Integrity-secured document.
DataIntegrityDocument
Any Data-Integrity-compatible document.
EmbeddedProofConfigurationRef
ExpandedEmbeddedProofConfiguration
ExpandedProofConfiguration
Linked-Data proof configuration.
ExpandedType
Expanded proof type.
InvalidCryptosuiteString
MissingCryptosuite
Proof
Data Integrity Proof.
ProofConfiguration
Proof configuration.
ProofConfigurationRef
ProofConfigurationRefWithoutOptions
Proof configuration without the suite specific options.
ProofOptions
Proof options.
ProofRef
Proofs
Set of Data-Integrity proofs.

Enums§

ConfigurationExpansionError
DecodeError
ProofConfigurationCastError
Type
Proof type.
TypeRef
Proof type reference.
UnsupportedProofSuite

Constants§

CRYPTOSUITE_STRING
DC_CREATED_IRI
XSD_DATETIME_IRI

Functions§

from_json_slice
Decodes a Data-Integrity credential or presentation from its JSON binary representation.
from_json_str
Decodes a Data-Integrity credential or presentation from its JSON textual representation.