Lines Matching refs:KeyBlob
201 .map(|(key_blob, _)| KeyBlob::Ref(key_blob)) in decrypt()
437 ) -> Result<KeyBlob<'a>> { in unwrap_key_if_required()
444 KeyBlob::Sensitive { in unwrap_key_if_required()
451 KeyBlob::Ref(blob) in unwrap_key_if_required()
800 key_blob_before_upgrade: &KeyBlob, in reencrypt_if_required() argument
802 ) -> Result<(KeyBlob<'a>, Option<BlobMetaData>)> { in reencrypt_if_required()
804 KeyBlob::Sensitive { reencrypt_with: super_key, .. } => { in reencrypt_if_required()
808 Ok((KeyBlob::NonSensitive(key), Some(metadata))) in reencrypt_if_required()
810 _ => Ok((KeyBlob::Ref(key_after_upgrade), None)), in reencrypt_if_required()
1186 pub enum KeyBlob<'a> { enum
1202 impl<'a> KeyBlob<'a> { impl
1204 if let KeyBlob::Sensitive { force_reencrypt, .. } = self { in force_reencrypt()
1213 impl<'a> Deref for KeyBlob<'a> { implementation