Re: [openssl-users] BIO_printf with ASN1_BIT_STRING and ASN1_INTEGER?

2018-10-16 Thread Matthias Ballreich
Hi, thanks for this - what about the ASN1_BIT_STRING? Is there such a predefined function? Von: openssl-users im Auftrag von Dave Coombs Gesendet: Dienstag, 16. Oktober 2018 15:17 Uhr An: openssl-users@openssl.org Betreff: Re: [openssl-users] BIO_printf with AS

Re: [openssl-users] OpenSSL 1.1.0 providing new OIDs to source code

2017-07-11 Thread Matthias Ballreich
re is fine as well... Cheers, Richard In message on Mon, 10 Jul 2017 16:47:28 +0000, Matthias Ballreich said: Matthias.Ballreich> Yes, MY_NID is really NID_whatever. I tried it with putting Matthias.Ballreich> OPENSSL_init_crypto(0, NULL); at start of my main(). Matthia

Re: [openssl-users] OpenSSL 1.1.0 providing new OIDs to source code

2017-07-10 Thread Matthias Ballreich
017 23:31:00 +0000, Matthias Ballreich said: matthias.ballreich> Hi there, matthias.ballreich> matthias.ballreich> i want to contribute some more OIDs. Therefore i added the OIDs inside matthias.ballreich> the „Objects.txt“ inside /crypto/objects matthias.ballreich> matthias.

Re: [openssl-users] OpenSSL 1.1.0 providing new OIDs to source code

2017-07-09 Thread Matthias Ballreich
Thanks. I tried it but i got the error Message that make update is not available. I am Building it on windows with nmake under the visual Studio Developer Shell. Why is nmake Update Not working there? Am 09.07.2017 um 08:40 schrieb Billy Brumley : >> i want to contribute some more OIDs. Theref

[openssl-users] OpenSSL 1.1.0 providing new OIDs to source code

2017-07-08 Thread Matthias Ballreich
Hi there, i want to contribute some more OIDs. Therefore i added the OIDs inside the „Objects.txt“ inside /crypto/objects Then i run these commands: perl objects.pl objects.txt obj_mac.num ../../include/openssl/obj_mac.h perl obj_dat.pl ../../include/openssl/obj_mac.h obj_dat.h perl objxref.pl o

Re: [openssl-users] C++ How to parse Subject Directory Attributes Extension?

2017-05-09 Thread Matthias Ballreich
Thanks for reply. Ohh that's bad news. So I have will look at the various d2i_XXX and i2d_XXX functions you mentioned. Von: openssl-users [mailto:openssl-users-boun...@openssl.org] Im Auftrag von Salz, Rich via openssl-users Gesendet: Dienstag, 9. Mai 2017 15:55 An: openssl-users@openssl.org Be

Re: [openssl-users] C++ How to parse Subject Directory Attributes Extension?

2017-05-09 Thread Matthias Ballreich
sl.org] Im Auftrag von Dr. Stephen Henson Gesendet: Dienstag, 9. Mai 2017 18:06 An: openssl-users@openssl.org Betreff: Re: [openssl-users] C++ How to parse Subject Directory Attributes Extension? On Tue, May 09, 2017, Matthias Ballreich wrote: > Here are nor some more details, which may help

Re: [openssl-users] C++ How to parse Subject Directory Attributes Extension?

2017-05-09 Thread Matthias Ballreich
EAj4yAu7LYa3X04h+C 7+DyD2xViJCm5zEYg1m5x4znHJIMZsYAU/vJJIJQkPKVsIgm6vP/H1kXyAu0g2Ep z+VWPnhZK1uw+ay1KRXw8rw2mR8hQ2Ug6QZHYdky2HH3H/69rWSPp888G8CW8RLU uIKzn+GhapCuGoC4qWdlGLWqfpc= -END CERTIFICATE- ____ Von: Matthias Ballreich Gesendet: Sonntag, 30. April 2017 13:44:48 An: opens

Re: [openssl-users] QcStatements with OpenSSL (C++)?

2017-05-05 Thread Matthias Ballreich
sl-users@openssl.org Betreff: Re: [openssl-users] QcStatements with OpenSSL (C++)? On 04/17/2017 06:40 PM, Matthias Ballreich wrote: Hi there, can OpenSSL pasre QcStatement X509v3 Extension btw. Did OpenSSL Support these? Any Piece of example Code of how can i parse the data? To my knowledge, there i

[openssl-users] C++ How to parse Subject Directory Attributes Extension?

2017-04-30 Thread Matthias Ballreich
Hi there, can anyone tell me how to parse a the Subject Directory Attribute Extension of a X509-Certificate in C++ with OpenSSL? I don't found any documentation or piece of code in the Github Repo of OpenSSL. I read the Extension this way: int loc = X509_get_ext_by_NID(cert, NID_subject_dire

[openssl-users] QcStatements with OpenSSL (C++)?

2017-04-18 Thread Matthias Ballreich
Hi there, can OpenSSL pasre QcStatement X509v3 Extension btw. Did OpenSSL Support these? Any Piece of example Code of how can i parse the data? Thanks Matthias -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Re: [openssl-users] Leading Zeros in ASN1_INTEGER?

2017-01-30 Thread Matthias Ballreich
: openssl-users@openssl.org Betreff: Re: [openssl-users] Leading Zeros in ASN1_INTEGER? > On Jan 28, 2017, at 10:01 AM, Matthias Ballreich > wrote: > > is it normal that OpenSSL removes the leading Zeros in an ASN1_INTEGER? > I tried to read the Certificate Serial and the Certificat

[openssl-users] Leading Zeros in ASN1_INTEGER?

2017-01-28 Thread Matthias Ballreich
Hi there, is it normal that OpenSSL removes the leading Zeros in an ASN1_INTEGER? I tried to read the Certificate Serial and the Certificate Serial in the AuthorityKeyID-Extension with C++, which works very well, but i noticed that OpenSSL removes the leading Zeros on it. The real ASN1-Value is:

[openssl-users] Access Mozilla NSS (shared) Database / PKCS#11 Modules via OpenSSL?

2016-11-08 Thread Matthias Ballreich
Hi there, how can i access the Mozilla NSS (shared) Database (cert8 or cert9d.db) / PKCS#11-Modules via OpenSSL? I need read & write access to the NSS User Cert Database (softokn3) and to the Built-In Cert Database (nssckbi) under Windows. I tried it with Libp11 this way: int rc = 0;