Instance Propertyswift-nio-ssl 2.29.0NIOSSL
description
SSLCertificate.swift:424var description: String { get }
Other members in extension
Types
Show implementation details (2)
Hide implementation details
Type members
init(bytes: [UInt8], format: NIOSSLSerializationFormats
) throws Create a
NIOSSLCertificate
from a buffer of bytes in either PEM or DER format.init(file: String, format: NIOSSLSerializationFormats
) throws Create a
NIOSSLCertificate
from a file at a given path in either PEM or DER format.class func fromPEMBytes([UInt8]
) throws -> [NIOSSLCertificate] Create an array of
NIOSSLCertificate
s from a buffer of bytes in PEM format.class func fromPEMFile(String
) throws -> [NIOSSLCertificate] Create an array of
NIOSSLCertificate
s from a file at a given path in PEM format.static func == (lhs: NIOSSLCertificate, rhs: NIOSSLCertificate
) -> Bool
Show obsolete interfaces (2)
Hide obsolete interfaces
init(buffer: [Int8], format: NIOSSLSerializationFormats
) throws Create a
NIOSSLCertificate
from a buffer of bytes in either PEM or DER format.class func fromPEMBuffer([Int8]
) throws -> [NIOSSLCertificate] Create an array of
NIOSSLCertificate
s from a buffer of bytes in PEM format.
Instance members
var notValidAfter: time_t
Returns the timestamp after which this certificate is not valid.
var notValidBefore: time_t
Returns the timestamp before which this certificate is not valid.
var serialNumber: [UInt8]
The serial number of this certificate, as raw bytes.
func extractPublicKey(
) throws -> NIOSSLPublicKey Obtain the public key for this
NIOSSLCertificate
.func hash(into: inout Hasher
) func toDERBytes(
) throws -> [UInt8] Extracts the bytes of this certificate in DER format.
Show implementation details (2)
Hide implementation details
var _extensions: NIOSSLCertificate._Extensions
func _subjectAlternativeNames(
) -> _SubjectAlternativeNames Get a collection of the alternative names in the certificate.