Re: DN codepage problems

Peter Gutmann <[email protected]> Tue, 09 Dec 2014 22:35:11 +1300
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
TM <[email protected]> writes:

>I run into a new sort of problems. with
>err := cryptSetAttributeString(CertReq.Handle, CRYPT_CERTINFO_COMMONNAME, Pointer(FcommonName), Length(FcommonName));
>
>I am getting -3 error (bad argument 3) if FcommonName has only some of
>national win1250 letters

Can you send me the full string that you're using?  It's probably because it
can't be easily mapped from the Windows character set onto something that's
usable in a certificate.

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.