How to specify key size in CertCreateSelfSignCertificate function

I am using the CertCreateSelfSignCertificate function to create a certificate. I need to specify the key size 2048. I do not see how to provide this parameter.

+3
source share
1 answer

See the argument description dwFlagsas described in CryptGenKey . This should allow you to choose the key length.

+5
source

Source: https://habr.com/ru/post/1750590/


All Articles