generateCSR (method)
Creates a new certificate signing request (CSR).
Syntax
- (void)generateCSR:(int)keyBits;
public func generateCSR(_ keyBits: Int32) throws -> Void
Remarks
Call this method to generate a new certificate request with the specified parameters. The newly generated CSR is saved in CertificateRequest property. Use ExportCSR and ExportKey to serialize the generated objects.