Enumeration Caseswift-crypto 3.12.2Crypto
outOfRangeSequenceNumber
The sequence number for encrypting or decrypting the message is out of range.
- iOS
- 13+
- macOS
- 10.15+
- tvOS
- 13+
- watchOS
- 6+
case outOfRangeSequenceNumber
The sequence number for encrypting or decrypting the message is out of range.
case outOfRangeSequenceNumber
import Crypto
A cryptography library for Swift.
enum Errors
Hybrid public key encryption (HPKE) errors that CryptoKit uses.
enum HPKE
A container for hybrid public key encryption (HPKE) operations.
case inconsistentParameters
The parameters for initializing an HPKE sender or receiver are inconsistent.
case inconsistentCiphersuiteAndKey
The supplied encryption key is incompatible with the requested cipher suite.
case exportOnlyMode
The object is in export-only mode and received a request to encrypt or decrypt data.
case inconsistentPSKInputs
The PSK is nil and the PSK ID isn’t nil, or the PSK ID is nil and the PSK isn’t nil.
case expectedPSK
The PSK is nil and the object is in PSK mode, or in authentication and PSK mode.
case unexpectedPSK
The PSK isn’t nil and the object is in base mode, or in authentication mode.
case ciphertextTooShort
The ciphertext is too short.