You are viewing documentation for a previous version of this software.

Switch to the latest stable version.

SSLCert


CLASS

SSLCert

Swift
1open class SSLCert

Methods

init(data:)

Swift
1public init(data: Data)

Designated init for certificates

  • parameter data: is the binary data of the certificate

  • returns: a representation security object to be used with

Parameters

NameDescription
datais the binary data of the certificate

init(key:)

Swift
1public init(key: SecKey)

Designated init for public keys

  • parameter key: is the public key to be used

  • returns: a representation security object to be used with

Parameters

NameDescription
keyis the public key to be used
Feedback

Edit on GitHub

Forums