sign(_:signatureAlgorithm:additionalIntermediateCertificates:certificate:privateKey:signingTime:detached:)

CMSOperations.swift:26

This declaration is gated by at least one @_spi attribute.

iOS
13+
macOS
10.15+
tvOS
13+
watchOS
6+
static func sign<Bytes>(_ bytes: Bytes, signatureAlgorithm: Certificate.SignatureAlgorithm, additionalIntermediateCertificates: [Certificate] = [], certificate: Certificate, privateKey: Certificate.PrivateKey, signingTime: Date? = nil, detached: Bool = true) throws -> [UInt8] where Bytes : DataProtocol