Generate Method
Generates a new crypto key.
Syntax
public func generate(keyAlgorithm: String, scheme: String, schemeParams: String, keyBits: Int32) throws -> Void
Remarks
Call this method to generate a new key or keypair with the desired KeyAlgorithmand KeyBits of length.
The generated key will be populated in the Key property.