TrustStoreError

public enum TrustStoreError : Swift.Error
extension TrustStoreError: Equatable, LocalizedError
  • In case of HTTP/Connection error

    Declaration

    Swift

    case network(error: HTTPClientError)
  • When failed to extract a certificate from the CertList

    Declaration

    Swift

    case noCertificateFound
  • When one (or more) OCSP response(s) can not be parsed or do not meet expiry conditions

    Declaration

    Swift

    case invalidOCSPResponse
  • When one (or more) end entity certificate cannot be status verified by given OCSP responses

    Declaration

    Swift

    case eeCertificateOCSPStatusVerification
  • Other error cases

    Declaration

    Swift

    case unspecified(error: Swift.Error)
  • Internal error

    Declaration

    Swift

    case `internal`(error: InternalError)
  • Declaration

    Swift

    public enum InternalError : Swift.Error
  • Declaration

    Swift

    public static func == (lhs: TrustStoreError, rhs: TrustStoreError) -> Bool
  • Declaration

    Swift

    public var errorDescription: String? { get }