D2I_DIST_POINT(3)
π D2I_DIST_POINT(3) β Library Functions Manual π
okay so bestie, this is the Library Functions Manual page for the X.509 data-access-extension encode/decode girlies. no cap, theyβre highkey iconic, and itβs giving main character energy for the βwhere do I retrieve additional information online?β vibe. π¦
β¨ NAME β¨
These functions decode and encode X.509 data access extensions: d2i_DIST_POINT, i2d_DIST_POINT, d2i_CRL_DIST_POINTS, i2d_CRL_DIST_POINTS, d2i_DIST_POINT_NAME, i2d_DIST_POINT_NAME, d2i_ISSUING_DIST_POINT, i2d_ISSUING_DIST_POINT, d2i_ACCESS_DESCRIPTION, i2d_ACCESS_DESCRIPTION, d2i_AUTHORITY_INFO_ACCESS, i2d_AUTHORITY_INFO_ACCESS. periodt. π
π SYNOPSIS π
library βlibcryptoβ #include <openssl/x509v3.h>
DIST_POINT *
d2i_DIST_POINT(DIST_POINT_NAME **val_out, const unsigned char **der_in,
long length);
int
i2d_DIST_POINT(DIST_POINT *val_in, unsigned char **der_out);
CRL_DIST_POINTS *
d2i_CRL_DIST_POINTS(CRL_DIST_POINTS_NAME **val_out,
const unsigned char **der_in, long length);
int
i2d_CRL_DIST_POINTS(CRL_DIST_POINTS *val_in, unsigned char **der_out);
DIST_POINT_NAME *
d2i_DIST_POINT_NAME(DIST_POINT_NAME_NAME **val_out,
const unsigned char **der_in, long length);
int
i2d_DIST_POINT_NAME(DIST_POINT_NAME *val_in, unsigned char **der_out);
ISSUING_DIST_POINT *
d2i_ISSUING_DIST_POINT(ISSUING_DIST_POINT_NAME **val_out,
const unsigned char **der_in, long length);
int
i2d_ISSUING_DIST_POINT(ISSUING_DIST_POINT *val_in,
unsigned char **der_out);
ACCESS_DESCRIPTION *
d2i_ACCESS_DESCRIPTION(ACCESS_DESCRIPTION_NAME **val_out,
const unsigned char **der_in, long length);
int
i2d_ACCESS_DESCRIPTION(ACCESS_DESCRIPTION *val_in,
unsigned char **der_out);
AUTHORITY_INFO_ACCESS *
d2i_AUTHORITY_INFO_ACCESS(AUTHORITY_INFO_ACCESS_NAME **val_out,
const unsigned char **der_in, long length);
int
i2d_AUTHORITY_INFO_ACCESS(AUTHORITY_INFO_ACCESS *val_in,
unsigned char **der_out);
π DESCRIPTION π
Okay so these functions decode and encode X.509 extensions that communicate where to retrieve additional information online. For details about the semantics, examples, caveats, and bugs, see ASN1_item_d2i(3). iykyk π§
d2i_DIST_POINT()andi2d_DIST_POINT()decode and encode an ASN.1DistributionPointstructure defined in RFC 5280 section 4.2.1.13.d2i_CRL_DIST_POINTS()andi2d_CRL_DIST_POINTS()decode and encode an ASN.1CRLDistributionPointsstructure defined in RFC 5280 section 4.2.1.13.d2i_DIST_POINT_NAME()andi2d_DIST_POINT_NAME()decode and encode an ASN.1DistributionPointNamestructure defined in RFC 5280 section 4.2.1.13.d2i_ISSUING_DIST_POINT()andi2d_ISSUING_DIST_POINT()decode and encode an ASN.1IssuingDistributionPointstructure defined in RFC 5280 section 5.2.5.d2i_ACCESS_DESCRIPTION()andi2d_ACCESS_DESCRIPTION()decode and encode an ASN.1AccessDescriptionstructure defined in RFC 5280 section 4.2.2.1.d2i_AUTHORITY_INFO_ACCESS()andi2d_AUTHORITY_INFO_ACCESS()decode and encode an ASN.1AuthorityInfoAccessSyntaxstructure defined in RFC 5280 section 4.2.2.1.
π RETURN VALUES π
ngl, vibe check on what comes back, bestie:
d2i_DIST_POINT(),d2i_CRL_DIST_POINTS(),d2i_DIST_POINT_NAME(),d2i_ISSUING_DIST_POINT(),d2i_ACCESS_DESCRIPTION(), andd2i_AUTHORITY_INFO_ACCESS()return an object of the respective type orNULLif an error occurs. not the error jump scare πi2d_DIST_POINT(),i2d_CRL_DIST_POINTS(),i2d_DIST_POINT_NAME(),i2d_ISSUING_DIST_POINT(),i2d_ACCESS_DESCRIPTION(), andi2d_AUTHORITY_INFO_ACCESS()return the number of bytes successfully encoded or a negative value if an error occurs.
π SEE ALSO π
not me being obsessed with these cross-refs, bestie:
β STANDARDS β
The standard is RFC 5280: Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile. Iconic. π
π± HISTORY π±
d2i_DIST_POINT(),i2d_DIST_POINT(),d2i_CRL_DIST_POINTS(),i2d_CRL_DIST_POINTS(),d2i_DIST_POINT_NAME(), andi2d_DIST_POINT_NAME()first appeared in OpenSSL 0.9.3 and have been available since OpenBSD 2.6.d2i_ACCESS_DESCRIPTION(),i2d_ACCESS_DESCRIPTION(),d2i_AUTHORITY_INFO_ACCESS(), andi2d_AUTHORITY_INFO_ACCESS()first appeared in OpenSSL 0.9.5 and have been available since OpenBSD 2.7.d2i_ISSUING_DIST_POINT()andi2d_ISSUING_DIST_POINT()first appeared in OpenSSL 1.0.0 and have been available since OpenBSD 4.9.
thatβs the tea, bestie π This page comes from Debian, dated June 8, 2025, for D2I_DIST_POINT(3). slay responsibly π π«Ά
π¦ where this page comes from
- alpine 3.24: libressl-doc 4.3.1-r0 Β· custom
- arch rolling: libressl 4.4.0-1 Β· ISC AND custom:OpenSSL
- Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms