carta
libressl-d2i_ESS_SIGNING_CERT(3)

libressl-d2i_ESS_SIGNING_CERT3

Decode and encode signing certificates for s/mime

Usage

Crypto Library (libcrypto, -lcrypto)

ESS_SIGNING_CERT *

int

ESS_CERT_ID *

int

ESS_ISSUER_SERIAL *

int

Overview

These functions decode and encode signing certificate attribute structures. For details about the semantics, examples, caveats, and bugs, see ASN1_item_d2i(3).

d2i_ESS_SIGNING_CERT() and i2d_ESS_SIGNING_CERT() decode and encode an ASN.1 SigningCertificate structure defined in RFC 2634 section 5.4.

d2i_ESS_CERT_ID() and i2d_ESS_CERT_ID() decode and encode an ASN.1 ESSCertID structure defined in RFC 2634 section 5.4.1.

d2i_ESS_ISSUER_SERIAL() and i2d_ESS_ISSUER_SERIAL() decode and encode an ASN.1 IssuerSerial structure defined in RFC 2634 section 5.4.1.

Return values

d2i_ESS_SIGNING_CERT(), d2i_ESS_CERT_ID(), and d2i_ESS_ISSUER_SERIAL() return an ESS_SIGNING_CERT, ESS_CERT_ID, or ESS_ISSUER_SERIAL object, respectively, or NULL if an error occurs.

i2d_ESS_SIGNING_CERT(), i2d_ESS_CERT_ID(), and i2d_ESS_ISSUER_SERIAL() return the number of bytes successfully encoded or a negative value if an error occurs.

Standards

RFC 2634: Enhanced Security Services for S/MIME, section 5: Signing Certificate Attribute

History

These functions first appeared in OpenSSL 1.0.0 and have been available since OpenBSD 4.9.

From libressl 4.4.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.