开发者_开发知识库I am using the function CertCreateSelfSignCertificate to generate a certificate. I need to specify the key size to be 2048
. I do not see how to provide this parameter.
Look at the description for the dwFlags
argument as described in CryptGenKey. That should permit you to select the key length.
精彩评论