Struct security_framework::os::macos::code_signing::GuestAttributes
source · pub struct GuestAttributes { /* private fields */ }Expand description
A helper to create guest attributes, which are normally passed as a
CFDictionary with varying types.
Implementations§
source§impl GuestAttributes
impl GuestAttributes
sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new, empty GuestAttributes. You must add values to it in
order for it to be of any use.
sourcepub fn set_audit_token(&mut self, token: CFDataRef)
pub fn set_audit_token(&mut self, token: CFDataRef)
The guest’s audit token.
sourcepub fn set_other<V: ToVoid<V>>(&mut self, key: CFStringRef, value: V)
pub fn set_other<V: ToVoid<V>>(&mut self, key: CFStringRef, value: V)
Support for arbirtary guest attributes.