ENUM

CryptoImportError

Contents

public enum CryptoImportError: Error, CustomDebugStringConvertible

Crypto error when importing.

Cases

invalidPath(_:)

case invalidPath(_ reason: String)

Invalid path when importing the file.

invalidPEMString(_:cause:)

case invalidPEMString(_ reason: String, cause: Error?)

Invalid PEM string when importing.

invalidPassphrase

case invalidPassphrase

Invalid passphrase when importing.

invalidType(_:)

case invalidType(_ reason: String)

Invalid type when parsing the data.

outOfBounds

case outOfBounds

The provided data is invalid.

failedToImport(_:)

case failedToImport(_ reason: String)

Failure when importing due to a reason.

Properties

debugDescription

public var debugDescription: String