One Logo Pool Ball
SecureElementCredential · IOS API REFERENCE

CredentialSession.Credential

struct · iOS 18.1+ · SDK 27.1

struct Credential

Information about a credential that a credential session retrieves from the Secure Element. A credential is an abstraction of the cryptographic elements of your applet bundle installed in the Secure Element. You perform this installation with ``CredentialSession/provisionCredential(configurationUUID:name:)``, which retrieves the applet bundle you registered with the [Apple Business Register](https://register.apple.com/login), installs it in the Secure Element, and returns a `Credential` instance. `Credential` objects are snapshots of credential data at the time the ``CredentialSession/listCredentials()`` method loads them. To ensure up-to-date metadata, reload credentials with that same method.

Members (3)

get · iOS 18.1+

identifier

TypeScript
get identifier(): string
Swift declaration
let identifier: UUID

A unique identifier for the credential.

get · iOS 18.1+

name

TypeScript
get name(): string
Swift declaration
let name: String

A readable name for the credential.

get · iOS 18.1+

state

TypeScript
get state(): CredentialSession_Credential_State
Swift declaration
let state: CredentialSession.Credential.State

A snapshot of the credential's installation state.

Skipped declarations

No declarations were skipped in this snapshot.

All SecureElementCredential types →