Skip to main content

ASPublicKeyCredential

Trait ASPublicKeyCredential 

Source
pub unsafe trait ASPublicKeyCredential: ASAuthorizationCredential {
    // Provided methods
    unsafe fn rawClientDataJSON(&self) -> Retained<NSData>
       where Self: Sized + Message { ... }
    unsafe fn credentialID(&self) -> Retained<NSData>
       where Self: Sized + Message { ... }
}
Available on crate features ASAuthorizationCredential and ASPublicKeyCredential only.
Expand description

The base protocol for all PublicKeyCredential credential types.

See also Apple’s documentation

Provided Methods§

Source

unsafe fn rawClientDataJSON(&self) -> Retained<NSData>
where Self: Sized + Message,

A byte sequence containing the serialized clientDataJSON blob returned by the authenticator.

Source

unsafe fn credentialID(&self) -> Retained<NSData>
where Self: Sized + Message,

An identifier that uniquely identifies this credential.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn ASPublicKeyCredential

Source§

impl ProtocolType for dyn ASPublicKeyCredential

Source§

const NAME: &'static str = "ASPublicKeyCredential"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> ASPublicKeyCredential for ProtocolObject<T>

Implementors§

Source§

impl ASPublicKeyCredential for ASAuthorizationPlatformPublicKeyCredentialAssertion

Available on crate feature ASAuthorizationPlatformPublicKeyCredentialAssertion only.
Source§

impl ASPublicKeyCredential for ASAuthorizationPlatformPublicKeyCredentialRegistration

Available on crate feature ASAuthorizationPlatformPublicKeyCredentialRegistration only.
Source§

impl ASPublicKeyCredential for ASAuthorizationSecurityKeyPublicKeyCredentialAssertion

Available on crate feature ASAuthorizationSecurityKeyPublicKeyCredentialAssertion only.
Source§

impl ASPublicKeyCredential for ASAuthorizationSecurityKeyPublicKeyCredentialRegistration

Available on crate feature ASAuthorizationSecurityKeyPublicKeyCredentialRegistration only.