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

2018-10-16 Thread Dave Coombs
mbs > mailto:dcoo...@carillon.ca>> > Gesendet: Dienstag, 16. Oktober 2018 15:17 Uhr > An: openssl-users@openssl.org <mailto:openssl-users@openssl.org> > Betreff: Re: [openssl-users] BIO_printf with ASN1_BIT_STRING and ASN1_INTEGER? > > Hi, > > You can u

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

2018-10-16 Thread Opa114
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

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

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

2018-10-16 Thread Dave Coombs
Hi, You can use i2a_ASN1_INTEGER() to print an ASN1_INTEGER to a BIO. -Dave > On Oct 16, 2018, at 05:37, Opa114 wrote: > > Hi there, > > i have to print out some data, which is an ASN1_BIT_STRING and an > ASN1_INTEGER with BIO_printf. For GENERAL_NAME for example there a predefined >

[openssl-users] BIO_printf with ASN1_BIT_STRING and ASN1_INTEGER?

2018-10-16 Thread Opa114
Hi there, i have to print out some data, which is an ASN1_BIT_STRING and an ASN1_INTEGER with BIO_printf. For GENERAL_NAME for example there a predefined functions i can use like this: GENERAL_NAME_print(bp, GENERAL_NAME_VAR) <= 0 But for ASN1_INTGER and ASN1_BIT_STRING i haven't found any