Enumeration

CryptoKitError

General CryptoKit errors.

Declaration

enum CryptoKitError

Topics

Reporting Errors

case incorrectKeySize

The key size was incorrect.

case incorrectParameterSize

The parameter size was incorrect.

case underlyingCoreCryptoError(error: Int32)

A general CryptoKit error ocurred.

Describing an Error

var localizedDescription: String

A localized description of the error suitable for display to the user.

Relationships

Conforms To

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software