[openssl-users] BIO_printf with ASN1_BIT_STRING and ASN1_INTEGER?
Dave Coombs
dcoombs at carillon.ca
Tue Oct 16 13:17:28 UTC 2018
Hi,
You can use i2a_ASN1_INTEGER() to print an ASN1_INTEGER to a BIO.
-Dave
> On Oct 16, 2018, at 05:37, Opa114 <Opa114 at web.de> 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 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 predefined function like ASN1_INTEGER_PRINT or something similiar i can use. So can someone tell me how i print out these two data types with BIO_printf in the correct and actual way?
>
> thanks a lot.
> --
> openssl-users mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users <https://mta.openssl.org/mailman/listinfo/openssl-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20181016/699763c7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 9617 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20181016/699763c7/attachment-0001.bin>
More information about the openssl-users
mailing list