No announcements
Found 53 threads
-
0 Votes
CertGetCertificateContextProperty & CertSetCertificateContextProperty
</returns> [DllImport ( "CRYPT32.DLL" , EntryPoint = "CertGetCertificateContextProperty" , CharSet = CharSet .Answered | 4 Replies | 3879 Views | Created by Paul Caesar - Monday, April 16, 2012 11:55 PM | Last reply by Paul Caesar - Thursday, April 19, 2012 11:38 PM -
0 Votes
Erroneous MSDN documentation of CertSetCertificateContextProperty
Hi, I am trying to use the CertSetCertificateContextProperty function to set the CERT_DATE_STAMP_PROP_ID property but I am getting an E_OUTOFMEMORY error.Unanswered | 3 Replies | 523 Views | Created by silviola - Monday, December 18, 2017 4:45 PM | Last reply by Hart Wang - Thursday, December 21, 2017 7:25 AM -
2 Votes
Enumerating pending certificate request IDs
The proper way to associate a request ID with a certificate appears to be by using CertSetCertificateContextProperty CERT_ENROLLMENT_PROP_ID.Answered | 7 Replies | 6946 Views | Created by J.Spraul - Tuesday, July 22, 2008 3:10 PM | Last reply by Fisnik Hasani - Saturday, January 2, 2010 2:42 PM -
0 Votes
Using CertGetCertificateContextProperty (and Set) to copy properties in root certificate store.
(CertGetCertificateContextProperty( pCertContext, ...Unanswered | 1 Replies | 4600 Views | Created by Peter Andersen, Denmark - Tuesday, February 23, 2010 9:37 AM | Last reply by Peter Andersen, Denmark - Wednesday, March 3, 2010 9:08 AM -
0 Votes
Example C: Getting and Setting Certificates Properties
main@@$$HYAHXZ) prueba3.obj : error LNK2028: unresolved token (0A000016) "extern "C" int __stdcall CertGetCertificateContextProperty(struct _CERT_CONTEXT ...Answered | 6 Replies | 8608 Views | Created by Javier Canones - Saturday, June 3, 2006 6:21 PM | Last reply by Javier Canones - Monday, June 5, 2006 12:35 PM -
0 Votes
CertGetPublicKeyLength callback?
This will allow you to intercept the call to CertGetCertificateContextProperty through your registered CertStoreProvGetCertProperty callback.Answered | 3 Replies | 3916 Views | Created by Paul Zhuang - Saturday, March 17, 2012 2:23 AM | Last reply by Nima Sharifimehr - Saturday, March 24, 2012 3:59 PM -
0 Votes
Implementing custom Cryptographic Service Provider (CSP) entry point in DLL file
We made self-signed digital certificate using MakeCert tool and this certificate is linked to the custom CSP dll by changing the property of certificate using Cryptography ...Answered | 1 Replies | 1169 Views | Created by NarendraPrasath - Thursday, January 4, 2018 9:18 AM | Last reply by Dave Patrick - Thursday, January 4, 2018 1:23 PM -
1 Votes
Why does NCryptExportKey return NTE_NOT_SUPPORTED ? [CryptoAPI & Crypto NG question]
I think it is a dual trick 1) CertGetCertificateContextProperty with CERT_KEY_CONTEXT_PROP_ID 2) SetProperty ...Answered | 8 Replies | 6764 Views | Created by Andrew7Webb - Wednesday, June 24, 2015 9:10 PM | Last reply by Andrew7Webb - Friday, July 6, 2018 10:26 AM -
0 Votes
Getting winhttp client cert context without showing the pin password prompt
I'll leave this maybe someone else will need it ...thing is that i don't know why using CertSetCertificateContextProperty with CERT_KEY_PROV_HANDLE_PROP_ID doesn't work.Unanswered | 1 Replies | 1261 Views | Created by Alex 1234 - Wednesday, August 1, 2018 6:55 AM | Last reply by Alex 1234 - Monday, August 20, 2018 2:08 PM -
2 Votes
How to map a certificate in Windows store ("Personal", ..) with the one CSP when sign a document from Word etc?
You need to use CertSetCertificateContextProperty http://msdn.microsoft.com/en-us/library/windows/desktop/aa376573(v=vs.85).aspx You will need to set the ...Unanswered | 3 Replies | 3775 Views | Created by Golden_Man - Tuesday, April 2, 2013 3:54 AM | Last reply by Andrew Bernat - Sunday, April 14, 2013 5:43 AM -
0 Votes
Merge X509 certificate request with signed certificate
The complete merge outline should be: CertSetCertificateContextProperty(CERT_KEY_PROV_INFO_PROP_ID) CertOpenStore(...)Answered | 2 Replies | 749 Views | Created by Björn Lundmark - Monday, October 17, 2016 12:06 PM | Last reply by Björn Lundmark - Tuesday, October 18, 2016 2:02 PM -
0 Votes
How can you add CSP information to an X509 certificate programmatically
X509Certificate2 certificate = new X509Certificate2(certificateInBytes); string keyContainer = GetSubjectName(certificate); ...Answered | 2 Replies | 886 Views | Created by Anonymous - Wednesday, March 3, 2010 4:50 AM | Last reply by Anonymous - Sunday, January 30, 2011 7:13 PM -
3 Votes
CryptoAPI CSP private keys are not deleted on filesystem. Security risk on CryptoAPI. How can i know which one to delete?
Anyhow CertGetCertificateContextProperty(pCertContext,CERT_PVK_FILE_PROP_ID,NULL,&pcbData)) still fails with CRYPT_E_NOT_FOUND for both certificates.Answered | 14 Replies | 9994 Views | Created by helpcrypto - Friday, December 2, 2011 1:04 PM | Last reply by Andrew Bernat - Thursday, January 19, 2012 1:38 AM -
0 Votes
SCHANNEL error EventID 36871 when authenticating with ECC client certificate
CertSetCertificateContextProperty( tmpCert.Handle, CertContextPropId.CERT_NCRYPT_KEY_HANDLE_PROP_ID, ... -
1 Votes
DSA verification
must this CertGetCertificateContextProperty(..) must work on all the certificates ?Answered | 8 Replies | 4186 Views | Created by Christophe.A - Thursday, February 12, 2009 11:10 AM | Last reply by Christophe.A - Friday, February 20, 2009 2:07 PM -
0 Votes
Certificate Import on Headless compact embedded 2013 to activate https
pCert) { goto ErrorReturn; } // Set the key provider info property to associate the private key with the cert keyProvInfo.pwszContainerName = ...Answered | 11 Replies | 1630 Views | Created by Norbert Stroick - Monday, February 9, 2015 1:34 PM | Last reply by Dominik Reichert - Wednesday, July 4, 2018 6:13 AM -
1 Votes
Certificate Enrollment control for certificate only renewals with VBScript
Can you confirm that CertFindCertificateInStore as well as CertGetCertificateContextProperty functions are also available to JavaScript / VBScript ?Answered | 2 Replies | 5754 Views | Created by Nikolai Koustov - Monday, April 12, 2010 4:32 PM | Last reply by BlUNt - Thursday, June 10, 2010 2:14 PM -
0 Votes
AT_KEYEXCHANGE vs AT_SIGNATURE
CertSetCertificateContextProperty(certCtx, CERT_KEY_PROV_INFO_PROP_ID, 0, &keyProvInfo)) {… When I use the installed certificate using ... -
0 Votes
Using Crypto API to set hash (message digest) to encoded message
pwszContainerName, pProvInfoData->pwszProvName, PROV_RSA_FULL, 0) CryptCreateHash() – get new hash handle this time from ...Unanswered | 2 Replies | 3370 Views | Created by Lilach_ma - Wednesday, July 15, 2009 3:51 PM | Last reply by Lilach_ma - Thursday, July 16, 2009 5:55 AM -
0 Votes
"Register" a certificate on store and 'say' that the private key is in smartcard.
So, I do the follow: 1 - CertOpenStore // Open 'MY' store 2 ... - Items 1 to 20 of 53 Next ›
No announcements