ECException

public enum ECException : Error, CustomStringConvertible

Elliptic curve exceptions

  • Textual description of self

    Declaration

    Swift

    public var description: String { get }
  • ASN1 has wrong structure

    Declaration

    Swift

    case asn1Structure
  • Authentication failed

    Declaration

    Swift

    case authentication
  • Base64 decoding exception

    Declaration

    Swift

    case base64
  • Invalid input to point decoding

    Declaration

    Swift

    case decodePoint
  • Either 4 * a^3 + 27 * b^2 = 0 when creating a prime domain or b = 0 when creating a characteristic 2 domain

    Declaration

    Swift

    case domainParameter
  • Point to encode does not lie on the domain curve

    Declaration

    Swift

    case encodePoint
  • Invalid key agreement parameter

    Declaration

    Swift

    case keyAgreementParameter
  • Not enough input to decrypt

    Declaration

    Swift

    case notEnoughInput
  • Padding is wrong

    Declaration

    Swift

    case padding
  • PEM structure is wrong

    Declaration

    Swift

    case pemStructure
  • Invalid parameter to ECPrivateKey constructor

    Declaration

    Swift

    case privateKeyParameter
  • Invalid parameter to ECPublicKey constructor

    Declaration

    Swift

    case publicKeyParameter
  • Unknown domain OID

    Declaration

    Swift

    case unknownOid
  • Point not on curve

    Declaration

    Swift

    case notOnCurve