pub struct ExternalEncryptionInfo {
pub ciphersuite: CiphersuiteId,
pub external_encryption_public_key: HpkePublicKey,
pub root_public_signature_key: SignaturePublicKey,
pub external_encryption_signature: SensitiveBytes,
}Available on crate feature
draft-mahy-mls-private-external only.Fields§
§ciphersuite: CiphersuiteId§external_encryption_public_key: HpkePublicKey§root_public_signature_key: SignaturePublicKey§external_encryption_signature: SensitiveBytesImplementations§
Source§impl ExternalEncryptionInfo
impl ExternalEncryptionInfo
pub fn to_tbs<'a>( &'a self, version: &'a ProtocolVersion, group_id: GroupIdRef<'a>, epoch: &'a Epoch, ) -> ExternalEncryptionInfoTBS<'a>
Trait Implementations§
Source§impl Clone for ExternalEncryptionInfo
impl Clone for ExternalEncryptionInfo
Source§fn clone(&self) -> ExternalEncryptionInfo
fn clone(&self) -> ExternalEncryptionInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Component for ExternalEncryptionInfo
impl Component for ExternalEncryptionInfo
Source§fn component_id() -> ComponentId
fn component_id() -> ComponentId
Available on crate feature
draft-ietf-mls-extensions only.Source§fn psk(psk_id: Vec<u8>, psk_nonce: SensitiveBytes) -> PreSharedKeyId
fn psk(psk_id: Vec<u8>, psk_nonce: SensitiveBytes) -> PreSharedKeyId
Available on crate feature
draft-ietf-mls-extensions only.Source§fn to_component_data(&self) -> MlsSpecResult<ComponentData>
fn to_component_data(&self) -> MlsSpecResult<ComponentData>
Available on crate feature
draft-ietf-mls-extensions only.Source§impl Debug for ExternalEncryptionInfo
impl Debug for ExternalEncryptionInfo
Source§impl<'de> Deserialize<'de> for ExternalEncryptionInfo
impl<'de> Deserialize<'de> for ExternalEncryptionInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Deserialize for ExternalEncryptionInfo
impl Deserialize for ExternalEncryptionInfo
Source§fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
Available on crate feature
std only.This function deserializes the
bytes from the provided a std::io::Read
and returns the populated struct. Read moreSource§impl PartialEq for ExternalEncryptionInfo
impl PartialEq for ExternalEncryptionInfo
Source§impl Serialize for &ExternalEncryptionInfo
impl Serialize for &ExternalEncryptionInfo
Source§impl Serialize for ExternalEncryptionInfo
impl Serialize for ExternalEncryptionInfo
Source§impl Serialize for ExternalEncryptionInfo
impl Serialize for ExternalEncryptionInfo
Source§impl Size for &ExternalEncryptionInfo
impl Size for &ExternalEncryptionInfo
fn tls_serialized_len(&self) -> usize
Source§impl Size for ExternalEncryptionInfo
impl Size for ExternalEncryptionInfo
fn tls_serialized_len(&self) -> usize
impl Eq for ExternalEncryptionInfo
impl StructuralPartialEq for ExternalEncryptionInfo
Auto Trait Implementations§
impl Freeze for ExternalEncryptionInfo
impl RefUnwindSafe for ExternalEncryptionInfo
impl Send for ExternalEncryptionInfo
impl Sync for ExternalEncryptionInfo
impl Unpin for ExternalEncryptionInfo
impl UnsafeUnpin for ExternalEncryptionInfo
impl UnwindSafe for ExternalEncryptionInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more