mirror of https://github.com/ctz/rustls
crypto: derive Clone & Debug for HpkeSuite
We will want to store this type in configurations that are `Clone` and `Debug`.
This commit is contained in:
parent
7f8fa55cef
commit
06939c2484
|
@ -26,6 +26,7 @@ pub trait HpkeProvider: Debug + Send + Sync + 'static {
|
|||
}
|
||||
|
||||
/// An HPKE suite, specifying a key encapsulation mechanism and a symmetric cipher suite.
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct HpkeSuite {
|
||||
/// The choice of HPKE key encapsulation mechanism.
|
||||
pub kem: HpkeKem,
|
||||
|
|
Loading…
Reference in New Issue