API Differences in CryptoKit in macOS 14.0

It's more difficult than it used to be to find what changed in Apple SDKs. This page is automatically generated and shows what is new in CryptoKit in the macOS 14.0 SDK.

Table of Contents

Protocols

DiffieHellmanKeyAgreement
HPKEDiffieHellmanPrivateKey
HPKEDiffieHellmanPrivateKeyGeneration
HPKEDiffieHellmanPublicKey
HPKEPublicKeySerialization
KEMPrivateKey
KEMPublicKey

Structs

HPKE
Ciphersuite
HPKE
Recipient
HPKE
Sender

Enums

HPKE
HPKE
AEAD
HPKE
DHKEM
HPKE
Errors
HPKE
KDF
HPKE
KEM
KEM

Typealiases

Curve25519.KeyAgreement.PublicKey
public typealias EphemeralPrivateKey = CryptoKit.Curve25519.KeyAgreement.PrivateKey
Curve25519.KeyAgreement.PublicKey
public typealias HPKEEphemeralPrivateKey = CryptoKit.Curve25519.KeyAgreement.PrivateKey
P256.KeyAgreement.PublicKey
public typealias EphemeralPrivateKey = CryptoKit.P256.KeyAgreement.PrivateKey
P256.KeyAgreement.PublicKey
public typealias HPKEEphemeralPrivateKey = CryptoKit.P256.KeyAgreement.PrivateKey
P384.KeyAgreement.PublicKey
public typealias EphemeralPrivateKey = CryptoKit.P384.KeyAgreement.PrivateKey
P521.KeyAgreement.PublicKey
public typealias EphemeralPrivateKey = CryptoKit.P521.KeyAgreement.PrivateKey
P521.KeyAgreement.PublicKey
public typealias HPKEEphemeralPrivateKey = CryptoKit.P521.KeyAgreement.PrivateKey

Functions & Methods

Curve25519.KeyAgreement.PublicKey
public func hpkeRepresentation(kem: CryptoKit.HPKE.KEM) throws -> Foundation.Data
P256.KeyAgreement.PublicKey
public func hpkeRepresentation(kem: CryptoKit.HPKE.KEM) throws -> Foundation.Data
P384.KeyAgreement.PublicKey
public func hpkeRepresentation(kem: CryptoKit.HPKE.KEM) throws -> Foundation.Data
P521.KeyAgreement.PublicKey
public func hpkeRepresentation(kem: CryptoKit.HPKE.KEM) throws -> Foundation.Data

Conformances

Curve25519.KeyAgreement.PrivateKey
CryptoKit.HPKEDiffieHellmanPrivateKeyGeneration
Curve25519.KeyAgreement.PublicKey
CryptoKit.HPKEDiffieHellmanPublicKey
HPKE.Errors
Swift.Equatable
HPKE.Errors
Swift.Hashable
P256.KeyAgreement.PrivateKey
CryptoKit.HPKEDiffieHellmanPrivateKeyGeneration
P256.KeyAgreement.PublicKey
CryptoKit.HPKEDiffieHellmanPublicKey
P384.KeyAgreement.PrivateKey
CryptoKit.HPKEDiffieHellmanPrivateKeyGeneration
P384.KeyAgreement.PublicKey
CryptoKit.HPKEDiffieHellmanPublicKey
P521.KeyAgreement.PrivateKey
CryptoKit.HPKEDiffieHellmanPrivateKeyGeneration
P521.KeyAgreement.PublicKey
CryptoKit.HPKEDiffieHellmanPublicKey
SecureEnclave.P256.KeyAgreement.PrivateKey
CryptoKit.HPKEDiffieHellmanPrivateKey

Initializers

Curve25519.KeyAgreement.PublicKey
public init<D>(_ serialization: D, kem: CryptoKit.HPKE.KEM) throws where D : Foundation.ContiguousBytes
P256.KeyAgreement.PrivateKey
public init()
P256.KeyAgreement.PublicKey
public init<D>(_ serialization: D, kem: CryptoKit.HPKE.KEM) throws where D : Foundation.ContiguousBytes
P384.KeyAgreement.PrivateKey
public init()
P384.KeyAgreement.PublicKey
public init<D>(_ serialization: D, kem: CryptoKit.HPKE.KEM) throws where D : Foundation.ContiguousBytes
P521.KeyAgreement.PrivateKey
public init()
P521.KeyAgreement.PublicKey
public init<D>(_ serialization: D, kem: CryptoKit.HPKE.KEM) throws where D : Foundation.ContiguousBytes