Docs.rs
  • cose-rust-0.1.7
    • cose-rust 0.1.7
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • tramires
    • Dependencies
      • cbor-codec ^0.7.1 normal
      • hex ^0.4.3 normal optional
      • openssl ^0.10 normal
      • rand ^0.8.3 normal
      • serde_json ^1.0.64 normal optional
    • Versions
    • 37.97% of the crate is documented
  • 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

cose0.1.7

Module algs

Module Items

  • Constants
  • Functions

In crate cose

cose

Module algs

Source
Expand description

A collection of COSE algorithm identifiers.

Constants§

A128GCM
A128KW
A192GCM
A192KW
A256GCM
A256KW
AES_CCM_16_64_128
AES_CCM_16_64_256
AES_CCM_16_128_128
AES_CCM_16_128_256
AES_CCM_64_64_128
AES_CCM_64_64_256
AES_CCM_64_128_128
AES_CCM_64_128_256
AES_MAC_128_64
AES_MAC_128_128
AES_MAC_256_64
AES_MAC_256_128
CHACHA20
DIRECT
DIRECT_HKDF_AES_128
DIRECT_HKDF_AES_256
DIRECT_HKDF_SHA_256
DIRECT_HKDF_SHA_512
ECDH_ES_A128KW
ECDH_ES_A192KW
ECDH_ES_A256KW
ECDH_ES_HKDF_256
ECDH_ES_HKDF_512
ECDH_SS_A128KW
ECDH_SS_A192KW
ECDH_SS_A256KW
ECDH_SS_HKDF_256
ECDH_SS_HKDF_512
EDDSA
ES256
ES384
ES512
ES256K
HASH_ALGS
HASH_ALGS_NAMES
HMAC_256_64
HMAC_256_256
HMAC_384_384
HMAC_512_512
PS256
PS384
PS512
RSA_OAEP_1
RSA_OAEP_256
RSA_OAEP_512
SHA_256

Functions§

sign
Function to sign content with a given key and algorithm.
verify
Function to verify a signature with a given key, algorithm and content that was signed.