EncryptionErrorReason

public enum EncryptionErrorReason

The possible underlying reasons for encryption errors.

  • Ditto data is not encrypted but passphrase was passed in.

    Declaration

    Swift

    case extraneousPassphraseGiven
  • Ditto data is encrypted but passed in passphrase is not valid.

    Declaration

    Swift

    case passphraseInvalid
  • Ditto data is encrypted but no passphrase was given.

    Declaration

    Swift

    case passphraseNotGiven