---
title: CredentialSession.Credential
framework: secureelementcredential
role: symbol
role_heading: Structure
path: secureelementcredential/credentialsession/credential
---

# CredentialSession.Credential

Information about a credential that a credential session retrieves from the Secure Element.

## Declaration

```swift
struct Credential
```

## Mentioned in

Accessing and using secure element credentials

## Overview

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

## Topics

### Identifying a credential

- [identifier](secureelementcredential/credentialsession/credential/identifier.md)

### Getting a display name

- [name](secureelementcredential/credentialsession/credential/name.md)

### Inspecting credential state

- [state](secureelementcredential/credentialsession/credential/state-swift.property.md)
- [CredentialSession.Credential.State](secureelementcredential/credentialsession/credential/state-swift.enum.md)

### Hashing

- [hash(into:)](secureelementcredential/credentialsession/credential/hash(into:).md)

### Supporting types

- [CredentialSession.Credential.InstanceInfo](secureelementcredential/credentialsession/credential/instanceinfo.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Accessing credentials

- [listCredentials()](secureelementcredential/credentialsession/listcredentials().md)
