<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASAuthorizationProviderExtensionEncryptionAlgorithm",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "c:@T@ASAuthorizationProviderExtensionEncryptionAlgorithm"
  },
  "title" : "ASAuthorizationProviderExtensionEncryptionAlgorithm"
}
-->

# ASAuthorizationProviderExtensionEncryptionAlgorithm

```
struct ASAuthorizationProviderExtensionEncryptionAlgorithm
```

## Topics

### Initializers

[`init(NSNumber)`](/documentation/AuthenticationServices/ASAuthorizationProviderExtensionEncryptionAlgorithm/init(_:))

[`init(rawValue: NSNumber)`](/documentation/AuthenticationServices/ASAuthorizationProviderExtensionEncryptionAlgorithm/init(rawValue:))

### Type Properties

[`static let ecdhe_A256GCM: ASAuthorizationProviderExtensionEncryptionAlgorithm`](/documentation/AuthenticationServices/ASAuthorizationProviderExtensionEncryptionAlgorithm/ecdhe_A256GCM)

A encryption algorithm that uses NIST P-256 elliptic curve key agreement, ConcatKDF key derivation
with a 256-bit digest, and the Advanced Encryption Standard cipher in Galois/Counter Mode with a key length of 256 bits.

[`static let hpke_Curve25519_SHA256_ChachaPoly: ASAuthorizationProviderExtensionEncryptionAlgorithm`](/documentation/AuthenticationServices/ASAuthorizationProviderExtensionEncryptionAlgorithm/hpke_Curve25519_SHA256_ChachaPoly)

A cipher suite for HPKE that uses X25519 elliptic curve key agreement, SHA-2 key derivation
with a 256-bit digest, and the ChaCha20 stream cipher with the Poly1305 message authentication code.

[`static let hpke_P256_SHA256_AES_GCM_256: ASAuthorizationProviderExtensionEncryptionAlgorithm`](/documentation/AuthenticationServices/ASAuthorizationProviderExtensionEncryptionAlgorithm/hpke_P256_SHA256_AES_GCM_256)

A cipher suite for HPKE that uses NIST P-256 elliptic curve key agreement, SHA-2 key derivation
with a 256-bit digest, and the Advanced Encryption Standard cipher in Galois/Counter Mode with a key length of 256 bits.

[`static let hpke_P384_SHA384_AES_GCM_256: ASAuthorizationProviderExtensionEncryptionAlgorithm`](/documentation/AuthenticationServices/ASAuthorizationProviderExtensionEncryptionAlgorithm/hpke_P384_SHA384_AES_GCM_256)

A cipher suite that you use for HPKE using NIST P-384 elliptic curve key agreement, SHA-2 key derivation
with a 384-bit digest, and the Advanced Encryption Standard cipher in Galois/Counter Mode with a key length of 256 bits.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)