CertificateError

public struct CertificateError : Error, CustomStringConvertible, Equatable

Represents an error while reading the data for a certificate or private key.

  • A description of this error.

    Declaration

    Swift

    public let description: String
  • The given PEM string was invalid.

    Declaration

    Swift

    public static let invalidPEMString: CertificateError
  • The specified PEM file could not be found.

    Declaration

    Swift

    public static let fileNotFound: CertificateError
  • Declaration

    Swift

    public static func == (lhs: CertificateError, rhs: CertificateError) -> Bool