#[repr(C)]pub struct es_event_authentication_token_t {
pub instigator: ShouldNotBeNull<es_process_t>,
pub pubkey_hash: es_string_token_t,
pub token_id: es_string_token_t,
pub kerberos_principal: es_string_token_t,
}Available on macOS and crate feature
macos_13_0_0 only.Expand description
Token authentication data for type
ES_AUTHENTICATION_TYPE_TOKEN.
Fields§
§instigator: ShouldNotBeNull<es_process_t>Process that instigated the authentication (XPC caller that asked for authentication).
pubkey_hash: es_string_token_tHash of the public key which CryptoTokenKit is authenticating.
token_id: es_string_token_tToken identifier of the event which CryptoTokenKit is authenticating.
kerberos_principal: es_string_token_tOptional. This will be available if token is used for GSS PKINIT authentication for
obtaining a kerberos TGT. NULL in all other cases.
Implementations§
Source§impl es_event_authentication_token_t
Accessors for ShouldNotBeNull fields
impl es_event_authentication_token_t
Accessors for ShouldNotBeNull fields
Sourcepub unsafe fn instigator(&self) -> &es_process_t
pub unsafe fn instigator(&self) -> &es_process_t
Gives a references to the field while checking for null.
§Safety
See ShouldNotBeNull safety requirements.
Auto Trait Implementations§
impl Freeze for es_event_authentication_token_t
impl RefUnwindSafe for es_event_authentication_token_t
impl !Send for es_event_authentication_token_t
impl !Sync for es_event_authentication_token_t
impl Unpin for es_event_authentication_token_t
impl UnwindSafe for es_event_authentication_token_t
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