X509CertificateDetails

public struct X509CertificateDetails

X509CertificateDetails is a structure representing the details of an X.509 certificate.

See also

X509Certificate
  • The fingerprint of the certificate.

    Declaration

    Swift

    public private(set) var fingerprint: String? { get }
  • The issuer of the certificate.

    Declaration

    Swift

    public private(set) var iusser: CertificateEntity? { get }
  • The subject (soggetto) of the certificate.

    Declaration

    Swift

    public private(set) var subject: CertificateEntity? { get }
  • The serial number of the certificate.

    Declaration

    Swift

    public private(set) var serialNumber: String? { get }
  • The name of the signature algorithm used in the certificate.

    Declaration

    Swift

    public private(set) var signatureAlgorithmName: String? { get }
  • The name of the public key algorithm used in the certificate.

    Declaration

    Swift

    public private(set) var publicKeyAlgorithmName: String? { get }
  • The date of issue (validity start) of the certificate.

    Declaration

    Swift

    public private(set) var dateOfIssue: String? { get }
  • The date of expiry (validity end) of the certificate.

    Declaration

    Swift

    public private(set) var dateOfExpiry: String? { get }
  • Initialize the X509CertificateDetails structure with an OpenSSL X509 certificate.

    Throws

    An error if there is an issue extracting certificate details.

    Declaration

    Swift

    internal init(cert: OpaquePointer) throws

    Parameters

    cert

    The OpenSSL X509 certificate.

  • Declaration

    Swift

    struct CertificateEntity