pub struct RegistrationUpload<CS: CipherSuite> { /* private fields */ }Expand description
The final message from the client, containing sealed cryptographic identifiers
Implementations§
Source§impl<CS: CipherSuite> RegistrationUpload<CS>
impl<CS: CipherSuite> RegistrationUpload<CS>
Sourcepub fn serialize(&self) -> GenericArray<u8, RegistrationUploadLen<CS>>where
<<CS::KeyExchange as KeyExchange>::Group as Group>::PkLen: Add<<<<CS::OprfCs as CipherSuite>::Hash as CoreProxy>::Core as OutputSizeUser>::OutputSize>,
Sum<<<CS::KeyExchange as KeyExchange>::Group as Group>::PkLen, <<<CS::OprfCs as CipherSuite>::Hash as CoreProxy>::Core as OutputSizeUser>::OutputSize>: ArrayLength + Add<Sum<<<<CS::OprfCs as CipherSuite>::Hash as CoreProxy>::Core as OutputSizeUser>::OutputSize, U32>>,
RegistrationUploadLen<CS>: ArrayLength,
pub fn serialize(&self) -> GenericArray<u8, RegistrationUploadLen<CS>>where
<<CS::KeyExchange as KeyExchange>::Group as Group>::PkLen: Add<<<<CS::OprfCs as CipherSuite>::Hash as CoreProxy>::Core as OutputSizeUser>::OutputSize>,
Sum<<<CS::KeyExchange as KeyExchange>::Group as Group>::PkLen, <<<CS::OprfCs as CipherSuite>::Hash as CoreProxy>::Core as OutputSizeUser>::OutputSize>: ArrayLength + Add<Sum<<<<CS::OprfCs as CipherSuite>::Hash as CoreProxy>::Core as OutputSizeUser>::OutputSize, U32>>,
RegistrationUploadLen<CS>: ArrayLength,
Serialization into bytes
Sourcepub fn deserialize(input: &[u8]) -> Result<Self, ProtocolError>
pub fn deserialize(input: &[u8]) -> Result<Self, ProtocolError>
Deserialization from bytes
Trait Implementations§
Source§impl<CS: CipherSuite> Clone for RegistrationUpload<CS>
impl<CS: CipherSuite> Clone for RegistrationUpload<CS>
Source§impl<CS: CipherSuite> Debug for RegistrationUpload<CS>
impl<CS: CipherSuite> Debug for RegistrationUpload<CS>
Source§impl<'de, CS: CipherSuite> Deserialize<'de> for RegistrationUpload<CS>
impl<'de, CS: CipherSuite> Deserialize<'de> for RegistrationUpload<CS>
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<CS: CipherSuite> Drop for RegistrationUpload<CS>
impl<CS: CipherSuite> Drop for RegistrationUpload<CS>
impl<CS: CipherSuite> Eq for RegistrationUpload<CS>
Source§impl<CS: CipherSuite> Hash for RegistrationUpload<CS>
impl<CS: CipherSuite> Hash for RegistrationUpload<CS>
Source§impl<CS: CipherSuite> Ord for RegistrationUpload<CS>
impl<CS: CipherSuite> Ord for RegistrationUpload<CS>
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<CS: CipherSuite> PartialEq for RegistrationUpload<CS>
impl<CS: CipherSuite> PartialEq for RegistrationUpload<CS>
Source§impl<CS: CipherSuite> PartialOrd for RegistrationUpload<CS>
impl<CS: CipherSuite> PartialOrd for RegistrationUpload<CS>
Source§impl<CS: CipherSuite> Serialize for RegistrationUpload<CS>
impl<CS: CipherSuite> Serialize for RegistrationUpload<CS>
impl<CS: CipherSuite> ZeroizeOnDrop for RegistrationUpload<CS>
Auto Trait Implementations§
impl<CS> Freeze for RegistrationUpload<CS>where
<<<<<CS as CipherSuite>::OprfCs as CipherSuite>::Hash as CoreProxy>::Core as OutputSizeUser>::OutputSize as ArraySize>::ArrayType<u8>: Freeze,
<<<CS as CipherSuite>::KeyExchange as KeyExchange>::Group as Group>::Pk: Freeze,
impl<CS> RefUnwindSafe for RegistrationUpload<CS>where
<<<<<CS as CipherSuite>::OprfCs as CipherSuite>::Hash as CoreProxy>::Core as OutputSizeUser>::OutputSize as ArraySize>::ArrayType<u8>: RefUnwindSafe,
<<<CS as CipherSuite>::KeyExchange as KeyExchange>::Group as Group>::Pk: RefUnwindSafe,
impl<CS> Send for RegistrationUpload<CS>
impl<CS> Sync for RegistrationUpload<CS>
impl<CS> Unpin for RegistrationUpload<CS>where
<<<<<CS as CipherSuite>::OprfCs as CipherSuite>::Hash as CoreProxy>::Core as OutputSizeUser>::OutputSize as ArraySize>::ArrayType<u8>: Unpin,
<<<CS as CipherSuite>::KeyExchange as KeyExchange>::Group as Group>::Pk: Unpin,
impl<CS> UnsafeUnpin for RegistrationUpload<CS>where
<<<<<CS as CipherSuite>::OprfCs as CipherSuite>::Hash as CoreProxy>::Core as OutputSizeUser>::OutputSize as ArraySize>::ArrayType<u8>: UnsafeUnpin,
<<<CS as CipherSuite>::KeyExchange as KeyExchange>::Group as Group>::Pk: UnsafeUnpin,
impl<CS> UnwindSafe for RegistrationUpload<CS>where
<<<<<CS as CipherSuite>::OprfCs as CipherSuite>::Hash as CoreProxy>::Core as OutputSizeUser>::OutputSize as ArraySize>::ArrayType<u8>: UnwindSafe,
<<<CS as CipherSuite>::KeyExchange as KeyExchange>::Group as Group>::Pk: UnwindSafe,
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