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
CertificateEntitywith a description string.Declaration
Swift
internal init(description: String)Parameters
descriptionThe description string containing entity details.
-
Initialize a
CertificateEntitywith details extracted from an OpenSSLX509_NAMEentity.Throws
An error if there is an issue extracting entity details.
Declaration
Swift
internal init(entity: OpaquePointer) throwsParameters
entityAn OpenSSL
X509_NAMEentity containing entity details.
View on GitHub
CertificateEntity Structure Reference