Certificate

public class Certificate : CustomStringConvertible, JSONRepresentable

Certificate details.

  • Certificate subject.

    Declaration

    Swift

    public let subject: String
  • Certificate issuer.

    Declaration

    Swift

    public let issuer: String
  • Certificate issue date.

    Declaration

    Swift

    public let issueDate: String
  • Certificate expiration date.

    Declaration

    Swift

    public let expirationDate: String
  • Certificate serial number.

    Declaration

    Swift

    public let serialNumber: String
  • Certificate sha1 fingerprint.

    Declaration

    Swift

    public let sha1Fingerprint: String
  • Certificate common name.

    Declaration

    Swift

    public let commonName: String?
  • Declaration

    Swift

    public var description: String { get }