P256K CryptoKitError Enumeration CryptoKitError General cryptography errors used by CryptoKit. iOS 13.0+ macCatalyst 13.0+ macOS 10.15+ tvOS 13.0+ visionOS 1.0+ watchOS 6.0+ enum CryptoKitError Topics Enumeration Cases case authenticationFailureThe authentication tag or signature is incorrect. case incorrectKeySizeThe key size is incorrect. case incorrectParameterSizeThe parameter size is incorrect. case invalidParameterThe parameter is invalid. case underlyingCoreCryptoError(error: Int32)The underlying corecrypto library is unable to complete the requested action. case unwrapFailureThe framework can’t unwrap the specified key. case wrapFailureThe framework can’t wrap the specified key.