pub struct SignedExtensionOutputs {
pub hmac_secret: Option<Bytes>,
}Expand description
All supported Authenticator extensions outputs during credential assertion
This is to be serialized to Value in AuthenticatorData::extensions
Fields§
§hmac_secret: Option<Bytes>Outputs the symmetric secrets after successfull processing. The output MUST be encrypted.
Implementations§
Source§impl SignedExtensionOutputs
impl SignedExtensionOutputs
Sourcepub fn zip_contents(self) -> Option<Self>
pub fn zip_contents(self) -> Option<Self>
Validates that there is at least one extension field that is Some.
If all fields are None then this returns None as well.
Trait Implementations§
Source§impl Debug for SignedExtensionOutputs
impl Debug for SignedExtensionOutputs
Source§impl<'de> Deserialize<'de> for SignedExtensionOutputs
impl<'de> Deserialize<'de> for SignedExtensionOutputs
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
Auto Trait Implementations§
impl Freeze for SignedExtensionOutputs
impl RefUnwindSafe for SignedExtensionOutputs
impl Send for SignedExtensionOutputs
impl Sync for SignedExtensionOutputs
impl Unpin for SignedExtensionOutputs
impl UnwindSafe for SignedExtensionOutputs
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