SecCertificateSigningRequest

public final class SecCertificateSigningRequest

This class represents a Certificate Signing Request (CSR) object. A CSR is generated from an asymmetric key-pair. A CSR is used to request signature of a certificate by a certificate authority.

  • The country of the requesting entity.

    Declaration

    Swift

    public var countryName: String
  • The organization name of the requesting entity.

    Declaration

    Swift

    public var organizationName: String
  • The organizational sub-unit of the requesting entity.

    Declaration

    Swift

    public var organizationalUnitName: String
  • The common name of the requesting entity.

    Declaration

    Swift

    public var commonName: String
  • pem

    PEM string representation of the CSR.

    Declaration

    Swift

    public var pem: String { get }
  • Data representation of the CSR.

    Declaration

    Swift

    public var data: Data { get }