Re: Getting CRYPT_ERROR_INVALID when attempting to have the CA issue a certificate

Peter Gutmann <[email protected]>
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
Ed Curren <[email protected]> writes:

>I am having a problem issuing a certificate from a CA.  When I call the
>cryptCACertManagement below it is returning a -26 as the result.  I cannot
>get an error locus or error type from them (they both return 0).

What object are you querying?  The error locus and type will only apply to the
certificates but the object that you're interacting with for the CA functions
is the keyset so you'd need to read the extended error information
CRYPT_ATTRIBUTE_INT_ERRORCODE and CRYPT_ATTRIBUTE_INT_ERRORMESSAGE to see what
the problem is.

Peter.

_______________________________________________
Cryptlib mailing list
[email protected] via Mail: [email protected]
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.