objc2_authentication_services/generated/
ASAuthorizationPublicKeyCredentialAssertion.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9extern_protocol!(
10    /// [Apple's documentation](https://developer.apple.com/documentation/authenticationservices/asauthorizationpublickeycredentialassertion?language=objc)
11    #[cfg(all(
12        feature = "ASAuthorizationCredential",
13        feature = "ASPublicKeyCredential"
14    ))]
15    pub unsafe trait ASAuthorizationPublicKeyCredentialAssertion:
16        ASPublicKeyCredential
17    {
18        /// A byte sequence containing the encoded authenticatorData blob returned by the authenticator.
19        #[unsafe(method(rawAuthenticatorData))]
20        #[unsafe(method_family = none)]
21        unsafe fn rawAuthenticatorData(&self) -> Retained<NSData>;
22
23        /// The userID provided when creating this credential.
24        #[unsafe(method(userID))]
25        #[unsafe(method_family = none)]
26        unsafe fn userID(&self) -> Retained<NSData>;
27
28        /// The signature provided by the authenticator using the credential's private key.
29        #[unsafe(method(signature))]
30        #[unsafe(method_family = none)]
31        unsafe fn signature(&self) -> Retained<NSData>;
32    }
33);