CertificateEntity

struct CertificateEntity
  • The country associated with the entity.

    Declaration

    Swift

    public private(set) var country: String? { get }
  • The organization associated with the entity.

    Declaration

    Swift

    public private(set) var organization: String? { get }
  • The organizational unit associated with the entity.

    Declaration

    Swift

    public private(set) var organizationUnit: String? { get }
  • The common name associated with the entity.

    Declaration

    Swift

    public private(set) var commonName: String? { get }
  • The serial number associated with the entity.

    Declaration

    Swift

    public private(set) var serialNumber: String? { get }
  • Initialize the CertificateEntity with a description string.

    Declaration

    Swift

    internal init(description: String)

    Parameters

    description

    The description string containing entity details.

  • Initialize a CertificateEntity with details extracted from an OpenSSL X509_NAME entity.

    Throws

    An error if there is an issue extracting entity details.

    Declaration

    Swift

    internal init(entity: OpaquePointer) throws

    Parameters

    entity

    An OpenSSL X509_NAME entity containing entity details.