Docs.rs
  • ssi-verification-methods-0.1.1
    • ssi-verification-methods 0.1.1
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • sbihel
    • github:spruceid:standards
    • Dependencies
      • async-trait ^0.1.68 normal
      • derivative ^2.2.0 normal
      • ed25519-dalek ^2.0 normal optional
      • educe ^0.4.22 normal
      • futures ^0.3.28 normal
      • hex ^0.4.3 normal
      • iref ^3.2.2 normal
      • json-syntax ^0.12.5 normal
      • k256 ^0.13.1 normal optional
      • linked-data ^0.1.2 normal
      • multibase ^0.9.1 normal
      • p256 ^0.13.2 normal optional
      • p384 ^0.13.0 normal optional
      • pin-project ^1.1.3 normal
      • rand_core ^0.6.4 normal optional
      • rdf-types ^0.22.3 normal
      • serde ^1.0 normal
      • serde_json ^1.0 normal
      • sha2 ^0.10.0 normal optional
      • sha3 ^0.10.8 normal optional
      • ssi-bbs ^0.1 normal optional
      • ssi-caips ^0.2 normal
      • ssi-claims-core ^0.1 normal
      • ssi-core ^0.2 normal
      • ssi-crypto ^0.2 normal
      • ssi-eip712 ^0.1 normal optional
      • ssi-jwk ^0.2 normal
      • ssi-jws ^0.2 normal
      • ssi-multicodec ^0.2 normal
      • ssi-security ^0.1 normal
      • ssi-tzkey ^0.2 normal optional
      • ssi-verification-methods-core ^0.1 normal
      • static-iref ^3.0 normal
      • thiserror ^1.0.40 normal
    • Versions
    • 100% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • 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

ssi_verification_methods0.1.1

VerifyBytes

Required Methods

  • verify_bytes

Implementors

In crate ssi_verification_methods

Trait ssi_verification_methods::VerifyBytes

source ·
pub trait VerifyBytes<A> {
    // Required method
    fn verify_bytes(
        &self,
        algorithm: A,
        signing_bytes: &[u8],
        signature: &[u8],
    ) -> Result<Result<(), InvalidProof>, ProofValidationError>;
}

Required Methods§

source

fn verify_bytes( &self, algorithm: A, signing_bytes: &[u8], signature: &[u8], ) -> Result<Result<(), InvalidProof>, ProofValidationError>

Implementors§

source§

impl VerifyBytes<Algorithm> for JsonWebKey2020

source§

impl VerifyBytes<ES256> for EcdsaSecp256r1VerificationKey2019

source§

impl VerifyBytes<ES256K> for EcdsaSecp256k1VerificationKey2019

source§

impl VerifyBytes<ES256KR> for EcdsaSecp256k1RecoveryMethod2020

source§

impl VerifyBytes<EdDSA> for Ed25519VerificationKey2018

source§

impl VerifyBytes<EdDSA> for Ed25519VerificationKey2020

source§

impl<A: Into<Algorithm>> VerifyBytes<A> for Multikey