-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
swift-certificates/Sources/X509/CryptographicMessageSyntax/CMSOperations.swift
Lines 26 to 44 in 133a347
| public static func sign<Bytes: DataProtocol>( | |
| _ bytes: Bytes, | |
| signatureAlgorithm: Certificate.SignatureAlgorithm, | |
| additionalIntermediateCertificates: [Certificate] = [], | |
| certificate: Certificate, | |
| privateKey: Certificate.PrivateKey, | |
| signingTime: Date? = nil, | |
| detached: Bool = true | |
| ) throws -> [UInt8] { | |
| if let signingTime = signingTime { | |
| return try self.signWithSigningTime( | |
| bytes, | |
| signatureAlgorithm: signatureAlgorithm, | |
| certificate: certificate, | |
| privateKey: privateKey, | |
| signingTime: signingTime, | |
| detached: detached | |
| ) | |
| } |
Here, additionalIntermediateCertificates should be passed through to signWithSigningTime but it's not.
Metadata
Metadata
Assignees
Labels
No labels