Attribute certificate printing functions
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>
Fri, 30 Jun 2023 21:44:29 +0000 (17:44 -0400)
committerMatt Caswell <matt@openssl.org>
Wed, 24 Apr 2024 13:05:35 +0000 (14:05 +0100)
commit6b167313f422b8744c1f4edc8688f7e6923a3a73
treeb211c26e6c2e8a332ae97aea0e40cb82e158735d
parent9e1a8b5ecce7bcf706f48805f2999bbc3d4ef09a
Attribute certificate printing functions

Add functions to print an attribute certificate.  Several
attribute value types defined by the RFC 5755 specification
are multi-field values (i.e ASN1_SEQUENCE rather than an ASN1_STRING
or similar format).  Currently those values are printed using
`ASN1_item_print`.  A more user-friendly output mechanism (maybe
similar to the i2r_ functions used for X509 extensions) could be
added in future.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15857)
crypto/x509/build.info
crypto/x509/t_acert.c [new file with mode: 0644]
doc/build.info
doc/man3/X509_ACERT_print_ex.pod [new file with mode: 0644]
include/openssl/x509_acert.h.in
util/libcrypto.num