Docs.rs
  • sapling-crypto-0.5.0
    • sapling-crypto 0.5.0
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • ebfull
    • str4d
    • nuttycom
    • github:zcash:crate-publishers
    • Dependencies
      • aes ^0.8 normal
      • bellman ^0.14 normal optional
      • bitvec ^1 normal
      • blake2b_simd ^1 normal
      • blake2s_simd ^1 normal
      • bls12_381 ^0.8 normal
      • core2 ^0.3 normal
      • document-features ^0.2 normal optional
      • ff ^0.13 normal
      • fpe ^0.6 normal
      • getset ^0.1 normal
      • group ^0.13 normal
      • hex ^0.4 normal
      • incrementalmerkletree ^0.8.1 normal
      • jubjub ^0.10 normal
      • lazy_static ^1 normal
      • memuse ^0.2.2 normal
      • proptest ^1 normal optional
      • rand ^0.8 normal
      • rand_core ^0.6 normal
      • redjubjub ^0.8 normal
      • subtle ^2.2.3 normal
      • tracing ^0.1 normal
      • zcash_note_encryption ^0.4 normal
      • zcash_spec ^0.2 normal
      • zip32 ^0.2 normal
      • chacha20poly1305 ^0.10 dev
      • criterion ^0.4 dev
      • incrementalmerkletree ^0.8.1 dev
      • proptest ^1 dev
      • rand_xorshift ^0.3 dev
      • pprof ^0.11 dev
    • Versions
    • 77.16% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

sapling_crypto0.5.0

Authorization

Required Associated Types

  • AuthSig
  • OutputProof
  • SpendProof

Implementors

In sapling_crypto::bundle

sapling_crypto::bundle

Trait Authorization

Source
pub trait Authorization: Debug {
    type SpendProof: Clone + Debug;
    type OutputProof: Clone + Debug;
    type AuthSig: Clone + Debug;
}
Expand description

Defines the authorization type of a Sapling bundle.

Required Associated Types§

Source

type SpendProof: Clone + Debug

Source

type OutputProof: Clone + Debug

Source

type AuthSig: Clone + Debug

Implementors§

Source§

impl Authorization for Unbound

Source§

type SpendProof = [u8; 192]

Source§

type OutputProof = [u8; 192]

Source§

type AuthSig = Signature<SpendAuth>

Source§

impl Authorization for Authorized

Source§

type SpendProof = [u8; 192]

Source§

type OutputProof = [u8; 192]

Source§

type AuthSig = Signature<SpendAuth>

Source§

impl Authorization for EffectsOnly

Source§

type SpendProof = ()

Source§

type OutputProof = ()

Source§

type AuthSig = ()

Source§

impl<P: InProgressProofs, S: InProgressSignatures> Authorization for InProgress<P, S>

Source§

type SpendProof = <P as InProgressProofs>::SpendProof

Source§

type OutputProof = <P as InProgressProofs>::OutputProof

Source§

type AuthSig = <S as InProgressSignatures>::AuthSig