Hello,
I would like to parse DER encoded x509 attributes and have no clue how
to use d2i_ASN1_SET_OF_X509_ATTRIBUTE. There are params that cannot find
what to pass like free_func.
I am trying to uderstand by collecting pieces of known code, looking
into openssl sources but...
PKCS7_SIGNER_INFO *p7si = PKCS7_SIGNER_INFO_new();
d2i_ASN1_SET_OF_X509_ATTRIBUTE(&p7si->auth_attr, &der_data,
der_data_length, d2i_X509_ATTRIBUTE, free_func, V_ASN1_SET,
V_ASN1_UNIVERSAL);
Could somebody help how to do it or give a link to some useful
documentation?
Search internet looks completely not useful in this topic... or do not
know how to ask...
Regards,
Libor
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users