exportToCert (method)
Exports the key to a certificate.
Syntax
- (void)exportToCert;
public func exportToCert() throws -> Void
Remarks
Use this method to save the Key (both the public and secret parts) to the certificate specified in Certificate.