pub struct SerializedCredentialResponse<CS: CipherSuite> { /* private fields */ }Expand description
Serialized form of CredentialResponse.
Implementations§
Source§impl<CS: CipherSuite> SerializedCredentialResponse<CS>
impl<CS: CipherSuite> SerializedCredentialResponse<CS>
Sourcepub fn iter(&self) -> impl Clone + Iterator<Item = &[u8]>
pub fn iter(&self) -> impl Clone + Iterator<Item = &[u8]>
Returns the serialized form of
CredentialResponse in multiple byte
slices.
Sourcepub fn deserialize_take(input: &mut &[u8]) -> Result<Self, ProtocolError>
pub fn deserialize_take(input: &mut &[u8]) -> Result<Self, ProtocolError>
Returns a SerializedCredentialRequest deserialized from the given
bytes.
Trait Implementations§
Source§impl<CS: CipherSuite> Clone for SerializedCredentialResponse<CS>
impl<CS: CipherSuite> Clone for SerializedCredentialResponse<CS>
Source§impl<CS: CipherSuite> Debug for SerializedCredentialResponse<CS>
impl<CS: CipherSuite> Debug for SerializedCredentialResponse<CS>
Source§impl<'de, CS: CipherSuite> Deserialize<'de> for SerializedCredentialResponse<CS>
impl<'de, CS: CipherSuite> Deserialize<'de> for SerializedCredentialResponse<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
impl<CS: CipherSuite> Eq for SerializedCredentialResponse<CS>
Source§impl<CS: CipherSuite> Hash for SerializedCredentialResponse<CS>
impl<CS: CipherSuite> Hash for SerializedCredentialResponse<CS>
Source§impl<CS: CipherSuite> PartialEq for SerializedCredentialResponse<CS>
impl<CS: CipherSuite> PartialEq for SerializedCredentialResponse<CS>
Source§impl<CS: CipherSuite> Serialize for SerializedCredentialResponse<CS>
impl<CS: CipherSuite> Serialize for SerializedCredentialResponse<CS>
Source§impl<CS: CipherSuite> Serialize for SerializedCredentialResponse<CS>where
<<CS::OprfCs as CipherSuite>::Group as Group>::ElemLen: Add<U32>,
Sum<<<CS::OprfCs as CipherSuite>::Group as Group>::ElemLen, U32>: ArrayLength + Add<Sum<Sum<<<<CS::OprfCs as CipherSuite>::Hash as CoreProxy>::Core as OutputSizeUser>::OutputSize, U32>, <<CS::KeyExchange as KeyExchange>::Group as Group>::PkLen>>,
Sum<Sum<<<CS::OprfCs as CipherSuite>::Group as Group>::ElemLen, U32>, Sum<Sum<<<<CS::OprfCs as CipherSuite>::Hash as CoreProxy>::Core as OutputSizeUser>::OutputSize, U32>, <<CS::KeyExchange as KeyExchange>::Group as Group>::PkLen>>: ArrayLength,
impl<CS: CipherSuite> Serialize for SerializedCredentialResponse<CS>where
<<CS::OprfCs as CipherSuite>::Group as Group>::ElemLen: Add<U32>,
Sum<<<CS::OprfCs as CipherSuite>::Group as Group>::ElemLen, U32>: ArrayLength + Add<Sum<Sum<<<<CS::OprfCs as CipherSuite>::Hash as CoreProxy>::Core as OutputSizeUser>::OutputSize, U32>, <<CS::KeyExchange as KeyExchange>::Group as Group>::PkLen>>,
Sum<Sum<<<CS::OprfCs as CipherSuite>::Group as Group>::ElemLen, U32>, Sum<Sum<<<<CS::OprfCs as CipherSuite>::Hash as CoreProxy>::Core as OutputSizeUser>::OutputSize, U32>, <<CS::KeyExchange as KeyExchange>::Group as Group>::PkLen>>: ArrayLength,
Source§type Len = <<<<<CS as CipherSuite>::OprfCs as CipherSuite>::Group as Group>::ElemLen as Add<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>>::Output as Add<<<<<<<CS as CipherSuite>::OprfCs as CipherSuite>::Hash as CoreProxy>::Core as OutputSizeUser>::OutputSize as Add<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>>::Output as Add<<<<CS as CipherSuite>::KeyExchange as KeyExchange>::Group as Group>::PkLen>>::Output>>::Output
type Len = <<<<<CS as CipherSuite>::OprfCs as CipherSuite>::Group as Group>::ElemLen as Add<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>>::Output as Add<<<<<<<CS as CipherSuite>::OprfCs as CipherSuite>::Hash as CoreProxy>::Core as OutputSizeUser>::OutputSize as Add<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>>::Output as Add<<<<CS as CipherSuite>::KeyExchange as KeyExchange>::Group as Group>::PkLen>>::Output>>::Output
The length of the serialized types.
Source§impl<CS: CipherSuite> Zeroize for SerializedCredentialResponse<CS>
impl<CS: CipherSuite> Zeroize for SerializedCredentialResponse<CS>
Auto Trait Implementations§
impl<CS> Freeze for SerializedCredentialResponse<CS>where
<<<<CS as CipherSuite>::OprfCs as CipherSuite>::Group as Group>::ElemLen as ArraySize>::ArrayType<u8>: Freeze,
<<<<<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>::PkLen as ArrayLength>::ArrayType<u8>: Freeze,
impl<CS> RefUnwindSafe for SerializedCredentialResponse<CS>where
<<<<CS as CipherSuite>::OprfCs as CipherSuite>::Group as Group>::ElemLen as ArraySize>::ArrayType<u8>: RefUnwindSafe,
<<<<<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>::PkLen as ArrayLength>::ArrayType<u8>: RefUnwindSafe,
impl<CS> Send for SerializedCredentialResponse<CS>
impl<CS> Sync for SerializedCredentialResponse<CS>
impl<CS> Unpin for SerializedCredentialResponse<CS>where
<<<<CS as CipherSuite>::OprfCs as CipherSuite>::Group as Group>::ElemLen as ArraySize>::ArrayType<u8>: Unpin,
<<<<<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>::PkLen as ArrayLength>::ArrayType<u8>: Unpin,
impl<CS> UnsafeUnpin for SerializedCredentialResponse<CS>where
<<<<CS as CipherSuite>::OprfCs as CipherSuite>::Group as Group>::ElemLen as ArraySize>::ArrayType<u8>: UnsafeUnpin,
<<<<<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>::PkLen as ArrayLength>::ArrayType<u8>: UnsafeUnpin,
impl<CS> UnwindSafe for SerializedCredentialResponse<CS>where
<<<<CS as CipherSuite>::OprfCs as CipherSuite>::Group as Group>::ElemLen as ArraySize>::ArrayType<u8>: UnwindSafe,
<<<<<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>::PkLen as ArrayLength>::ArrayType<u8>: 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