Expand description
This crate provides core functionality for Verifiable Credentials and Decentralized Identifiers.
Features
Default: ring
Feature | Description |
---|---|
ring | Use the ring crate for RSA, Ed25519, and SHA-256 functionality. Conflicts with rsa , ed25519-dalek , and sha features. |
rsa | Use the rsa crate for RSA functionality. Conflicts with ring feature. |
http-did | Enable DID resolution tests using hyper and tokio. |
secp256k1 | Enable Secp256k1 using the k256 crate. |
secp256r1 | Enable Secp256r1 using the p256 crate. |
ripemd-160 | Enable RIPEMD-160, for Bitcoin addresses, using the ripemd160 crate. |
keccak | Enable Keccak hash, for Ethereum addresses, using the keccak-hash crate. |
sha | Enable SHA-256 using the sha2 crate. Conflicts with ring feature. |
ed25519-dalek | Enable Ed25519 using the ed25519-dalek crate. Conflicts with ring feature. |
example-http-issuer | Enable resolving example HTTPS Verifiable credential Issuer URL, for VC Test Suite. |
Modules
BBS curves and BBS+ keypairs
DER (Distinguished Encoding Rules) and ASN.1
Decentralized Identifiers (DIDs)
Decentralized Identifier Resolution (DID Resolution)
Error types for ssi
crate
Cryptographic hash functions
passthrough_digest
k256
or p256
ripemd
ripemd160