unsupportedPrivateKey(reason:file:line:)

A digest private key isn’t supported

Error.swift:172
static func unsupportedPrivateKey(reason: String, file: String = #fileID, line: UInt = #line) -> CertificateError

Parameters

reason

A detailed reason indicating the unsupported private key.

file

The file where the error occurs.

line

The line where the error occurs.

Returns

A CertificateError with code set to unsupportedPrivateKey.