如何在CertCreateSelfSignCertificate函数中指定密钥大小

Sak*_*o73 3 encryption winapi cryptography certificate

我使用CertCreateSelfSignCertificate函数生成证书.我需要指定密钥大小2048.我没有看到如何提供此参数.

Sla*_*ast 5

查看CryptGenKey中描述的dwFlags参数描述.这应该允许您选择密钥长度.