1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#![deny(missing_docs)]
#![deny(warnings)]

//! This library aims to provide safe Rust implementations for COSE, using
//! serde and serde_cbor as an encoding layer and OpenSSL as the base
//! crypto library.
//!
//! Currently only COSE Sign1 and COSE Encrypt0 are implemented.

pub mod crypto;
pub mod encrypt;
pub mod error;
pub mod header_map;
pub mod sign;

pub use crate::encrypt::CipherConfiguration;
pub use crate::encrypt::CoseEncrypt0;
#[doc(inline)]
pub use crate::sign::CoseSign1;