KeyUsages

public struct KeyUsages : OptionSet

Extended Key Usage for which the certified public key may be used.

  • Declaration

    Swift

    public let rawValue: UInt
  • For Server Authentication

    Declaration

    Swift

    public static let serverAuth: KeyUsages
  • For Client Authentication

    Declaration

    Swift

    public static let clientAuth: KeyUsages
  • Declaration

    Swift

    public init(rawValue: UInt)