Expand description
A collection of objects defining the protocol for NyCypher nodes (Ursulas).
Re-exports§
pub use umbral_pre;
pub use ferveo;
Structs§
- Access
Control Policy - Access control policy data for encrypted data.
- Address
- Represents an Ethereum address (20 bytes).
- Authenticated
Data - Authenticated data for encrypted data.
- Conditions
- Access control conditions.
- Context
- Context for reencryption conditions.
- Encrypted
KeyFrag - Encrypted and signed key frag.
- Encrypted
Threshold Decryption Request - An encrypted request for an Ursula to derive a decryption share.
- Encrypted
Threshold Decryption Response - An encrypted response from Ursula with a derived decryption share.
- Encrypted
Treasure Map - A treasure map encrypted for Bob.
- Fleet
State Checksum - An identifier of the fleet state.
- HRAC
- “hashed resource access code”.
- Message
Kit - Encrypted message prepared for re-encryption.
- Metadata
Request - A request for metadata exchange.
- Metadata
Response - A response returned by an Ursula containing known node metadata.
- Metadata
Response Payload - Payload of the metadata response.
- Node
Metadata - Signed node metadata.
- Node
Metadata Payload - Node metadata.
- Reencryption
Request - A request for an Ursula to reencrypt for several capsules.
- Reencryption
Response - A response from Ursula with reencrypted capsule frags.
- Retrieval
Kit - An object encapsulating the information necessary for retrieval of cfrags from Ursulas. Contains the capsule and the checksum addresses of Ursulas from which the requester already received cfrags.
- Revocation
Order - Represents a string used by characters to perform a revocation on a specific Ursula.
- Session
Secret Factory - This class handles keyring material for session keys, by allowing deterministic
derivation of
SessionStaticSecret
objects based on labels. - Session
Shared Secret - A Diffie-Hellman shared secret
- Session
Static Key - A session public key.
- Session
Static Secret - A session secret key.
- Threshold
Decryption Request - A request for an Ursula to derive a decryption share.
- Threshold
Decryption Response - A response from Ursula with a derived decryption share.
- Threshold
Message Kit - Access control metadata for encrypted data.
- Treasure
Map - A structure containing
KeyFrag
objects encrypted for Ursulas chosen for this policy. - Verification
Error - Error returned by various
verify()
methods in the crate.
Enums§
- Decryption
Error - Errors during decryption.
- Encryption
Error - Errors during encryption.
Traits§
- Protocol
Object - This is a versioned protocol object.
Functions§
- encrypt_
for_ dkg - Encrypt data based on conditions and dkg public key.