Sign Method
Signs the data.
Syntax
public func sign() throws -> Void
Remarks
This method signs the data provided via InputFile (or InputStream) with SigningCertificate, and saves the signature in OutputFile (OutputStream). Set the desired signature variant via SignatureType property.
The class automatically timestamps the created signature if a TimestampServer is provided.