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

JwkVerificationMethod

Required Methods

  • to_jwk

Object Safety

Implementors

In crate ssi_verification_methods

Trait ssi_verification_methods::JwkVerificationMethod

source ·
pub trait JwkVerificationMethod: VerificationMethod {
    // Required method
    fn to_jwk(&self) -> Cow<'_, JWK>;
}
Expand description

Verification method that can be turned into a JSON Web Key.

Required Methods§

source

fn to_jwk(&self) -> Cow<'_, JWK>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl JwkVerificationMethod for AnyJwkMethod

source§

impl JwkVerificationMethod for EcdsaSecp256k1VerificationKey2019

source§

impl JwkVerificationMethod for EcdsaSecp256r1VerificationKey2019

source§

impl JwkVerificationMethod for Ed25519VerificationKey2018

source§

impl JwkVerificationMethod for Ed25519VerificationKey2020

source§

impl JwkVerificationMethod for JsonWebKey2020

source§

impl JwkVerificationMethod for RsaVerificationKey2018

source§

impl JwkVerificationMethod for SolanaMethod2021