Cargo Features
ssi-data-integrity-suites has no features set by default.
[dependencies]
ssi-data-integrity-suites = { version = "0.1.2", features = ["w3c", "dif", "ed25519", "secp256k1", "secp256r1", "secp384r1", "rsa", "tezos", "aleo", "eip712", "solana", "ethereum", "bbs", "sha2"] }
- w3c = k256
-
Signature suites specified by the W3C.
This includes:
JsonWebSignature2020
RsaSignature2018
(requiresrsa
)Ed25519Signature2018
(requiresed25519
)Ed25519Signature2020
(requiresed25519
)EdDsa2022
(requiresed25519
)EcdsaSecp256k1Signature2019
(requiressecp256k1
)EcdsaSecp256r1Signature2019
(requiressecp256r1
)EthereumEip712Signature2021
(requireseip712
)
- dif
-
Signature suites specified by the Decentralized Identify Foundation (DIF).
This includes:
EcdsaSecp256k1RecoverySignature2020
(requiressecp256k1
)
- ed25519
-
Signature suites based on ED25519.
This includes:
Ed25519Signature2018
(requiresw3c
)Ed25519Signature2020
(requiresw3c
)EdDsa2022
(requiresw3c
)
Enables ed25519 of ssi-verification-methods
Affects
tezos::ed25519_blake2b_digest_size20_base58_check_encoded_signature_2021
,w3c::ed25519_signature_2018
,w3c::ed25519_signature_2020
,w3c::eddsa_2022
,w3c::eddsa_rdfc_2022
… - secp256k1 = k256
-
Signature suites based on secp256k1.
This includes:
EcdsaSecp256k1Signature2019
(requiresw3c
)EcdsaSecp256k1RecoverySignature2020
(requiresdif
)
Enables secp256k1 of ssi-verification-methods
Affects
w3c::ecdsa_secp256k1_signature_2019
,unspecified::ethereum_personal_signature_2021
… - secp256r1 = p256
-
Signature suites based on secp256r1.
This includes:
EcdsaSecp256r1Signature2019
(requiresw3c
)EcdsaRdfc2019
(requiresw3c
)
Enables secp256r1 of ssi-data-integrity-core and ssi-verification-methods
Affects
tezos::p256_blake2b_digest_size20_base58_check_encoded_signature_2021
,w3c::ecdsa_sd_2023
,w3c::ecdsa_secp256r1_signature_2019
,w3c::ecdsa_rdfc_2019
… - secp384r1 = p384
-
Signature suites based on secp384r1.
This includes:
EcdsaRdfc2019
(requiresw3c
)
Enables secp384r1 of ssi-data-integrity-core and ssi-verification-methods
Affects
w3c::ecdsa_rdfc_2019
… - rsa
-
Signature suites based on RSA.
This includes:
RsaSignature2018
(requiresw3c
)
Enables rsa of ssi-verification-methods
Affects
w3c::rsa_signature_2018
… - tezos = bs58, serde_jcs, serde_json, ssi-tzkey
-
Tezos signatures suites.
This includes:
TezosJcsSignature2021
TezosSignature2021
Ed25519BLAKE2BDigestSize20Base58CheckEncodedSignature2021
(requiresed25519
)P256BLAKE2BDigestSize20Base58CheckEncodedSignature2021
(requiressecp256r1
)
Enables tezos of ssi-verification-methods
Affects
unspecified::tezos
… - aleo = k256
-
Enables
AleoSignature2021
.Enables aleo of ssi-jwk and ssi-verification-methods
Affects
unspecified::aleo_signature_2021
… - eip712 = serde_json
-
Signature suites based on Ethereum EIP-712.
This includes:
Eip712Signature2021
(requiresethereum
).EthereumEip712Signature2021
(requiresw3c
)
Enables eip of ssi-jws, eip712 of ssi-verification-methods
Affects
w3c::ethereum_eip712_signature_2021
,unspecified::eip712_signature_2021
… - solana = k256
-
Enables
SolanaSignature2021
Enables solana of ssi-verification-methods
Affects
unspecified::solana_signature_2021
… - ethereum = serde_json
-
Ethereum signature suites.
This includes:
EthereumPersonalSignature2021
Eip712Signature2021
(requireseip712
)
Affects
unspecified::eip712_signature_2021
,unspecified::ethereum_personal_signature_2021
… - bbs = ssi-bbs
-
BBS cryptographic suites.
Enables bbs of ssi-verification-methods
Affects
w3c::bbs_2023
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.