pub struct WithEncryptionEncryptedAuthorizationKey {
pub ciphertext: String,
pub encapsulated_key: String,
pub encryption_type: WithEncryptionEncryptedAuthorizationKeyEncryptionType,
}Expand description
The encrypted authorization key data.
JSON schema
{
"description": "The encrypted authorization key data.",
"type": "object",
"required": [
"ciphertext",
"encapsulated_key",
"encryption_type"
],
"properties": {
"ciphertext": {
"description": "The encrypted authorization key corresponding to
the user's current authentication session.",
"type": "string"
},
"encapsulated_key": {
"description": "Base64-encoded ephemeral public key used in the
HPKE encryption process. Required for decryption.",
"type": "string"
},
"encryption_type": {
"description": "The encryption type used. Currently only supports
HPKE.",
"type": "string",
"enum": [
"HPKE"
]
}
}
}Fields§
§ciphertext: StringThe encrypted authorization key corresponding to the user’s current authentication session.
encapsulated_key: StringBase64-encoded ephemeral public key used in the HPKE encryption process. Required for decryption.
encryption_type: WithEncryptionEncryptedAuthorizationKeyEncryptionTypeThe encryption type used. Currently only supports HPKE.
Trait Implementations§
Source§impl Clone for WithEncryptionEncryptedAuthorizationKey
impl Clone for WithEncryptionEncryptedAuthorizationKey
Source§fn clone(&self) -> WithEncryptionEncryptedAuthorizationKey
fn clone(&self) -> WithEncryptionEncryptedAuthorizationKey
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<'de> Deserialize<'de> for WithEncryptionEncryptedAuthorizationKey
impl<'de> Deserialize<'de> for WithEncryptionEncryptedAuthorizationKey
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 From<&WithEncryptionEncryptedAuthorizationKey> for WithEncryptionEncryptedAuthorizationKey
impl From<&WithEncryptionEncryptedAuthorizationKey> for WithEncryptionEncryptedAuthorizationKey
Source§fn from(value: &WithEncryptionEncryptedAuthorizationKey) -> Self
fn from(value: &WithEncryptionEncryptedAuthorizationKey) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WithEncryptionEncryptedAuthorizationKey
impl RefUnwindSafe for WithEncryptionEncryptedAuthorizationKey
impl Send for WithEncryptionEncryptedAuthorizationKey
impl Sync for WithEncryptionEncryptedAuthorizationKey
impl Unpin for WithEncryptionEncryptedAuthorizationKey
impl UnwindSafe for WithEncryptionEncryptedAuthorizationKey
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