Generates new Certificate Request using previously set subject information
The following algorithms may be used as public key algorithms:
Use this method to generate new certificate request. New public and private key are also generated.
Note, that the signature algorithm should correspond with public key algorithm. I.e. if the public key algorithm is set to SB_CERT_ALGORITHM_ID_RSA_ENCRYPTION, the signature algorithm should be set to one of SB_CERT_ALGORITHM_MD2_RSA_ENCRYPTION, SB_CERT_ALGORITHM_MD5_RSA_ENCRYPTION or SB_CERT_ALGORITHM_SHA1_RSA_ENCRYPTION.
You can use exising key material (eg. the one from the PKCS#11 device) by setting KeyMaterial and PreserveKeyMaterial properties. If you don't set them, new key material is generated.