خرید بک لینک

Vote count: 0

I'm using an INF file such as the one below to generate a CSR with "certreq.exe -new -q request.inf request.csr":

[Version]
Signature= "$Windows NT$"

[NewRequest]
Subject = "CN=subject"
KeyLength = 2048
Exportable = TRUE
MachineKeySet = TRUE
SMIME = FALSE
PrivateKeyArchive = FALSE
UserProtected = FALSE
UseExistingKeySet = FALSE
ProviderName = "Microsoft RSA SChael Cryptographic Provider"
ProviderType = 12
RequestType = CMC
KeyUsage = 0 
KeyAlgorithm = RSA
HashAlgorithm = sha256

[EnhancedKeyUsageExtension]
OID=1.3.6.1.5.5.7.3.1

Is there a way that I can do this via .NET classes, and preferably without having to export the CSR to a file once it is generated?

Thanks a lot for your help.

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 17 فروردين 1395 ساعت: 3:03

صفحه بندی