DIST_POINT_NEW(3)
π DIST_POINT_NEW(3) β like, the X.509 CRL distribution point extensions page, bestie
okay so this is from the Library Functions Manual, and it's literally all about DIST_POINT_new and its whole friend group π«Ά β the constructors and destructors for X.509 CRL distribution point extensions. no cap, it's giving "certificate infrastructure but make it cute." β¨
πΈ NAME πΈ
DIST_POINT_new, DIST_POINT_free, CRL_DIST_POINTS_new, CRL_DIST_POINTS_free, DIST_POINT_NAME_new, DIST_POINT_NAME_free, ISSUING_DIST_POINT_new, ISSUING_DIST_POINT_free β X.509 CRL distribution point extensions π
β¨ SYNOPSIS β¨
library βlibcryptoβ #include <openssl/x509v3.h>
DIST_POINT *
DIST_POINT_new(void);
void
DIST_POINT_free(DIST_POINT *dp);
CRL_DIST_POINTS *
CRL_DIST_POINTS_new(void);
void
CRL_DIST_POINTS_free(CRL_DIST_POINTS *dps);
DIST_POINT_NAME *
DIST_POINT_NAME_new(void);
void
DIST_POINT_NAME_free(DIST_POINT_NAME *name);
ISSUING_DIST_POINT *
ISSUING_DIST_POINT_new(void);
void
ISSUING_DIST_POINT_free(ISSUING_DIST_POINT *dp);
π¦ DESCRIPTION π¦
so the whole vibe here is the CRL distribution point extension β with it, a certificate can specify where to obtain certificate revocation lists that might later revoke it. literally "here's where you go to find out if i've been cancelled" energy π
DIST_POINT_new()allocates and initializes an emptyDIST_POINTobject, representing an ASN.1DistributionPointstructure defined in RFC 5280 section 4.2.1.13. It can hold issuer names, distribution point names, and reason flags. slay.DIST_POINT_free()frees dp.CRL_DIST_POINTS_new()allocates and initializes an emptyCRL_DIST_POINTSobject, which is aSTACK_OF(DIST_POINT)and represents the ASN.1CRLDistributionPointsstructure defined in RFC 5280 section 4.2.1.13. It can be used as an extension inX509and inX509_CRLobjects.CRL_DIST_POINTS_free()frees dps.DIST_POINT_NAME_new()allocates and initializes an emptyDIST_POINT_NAMEobject, representing an ASN.1DistributionPointNamestructure defined in RFC 5280 section 4.2.1.13. It is used by theDIST_POINTandISSUING_DIST_POINTobjects and can hold multiple names, each representing a different way to obtain the same CRL.DIST_POINT_NAME_free()frees name.ISSUING_DIST_POINT_new()allocates and initializes an emptyISSUING_DIST_POINTobject, representing an ASN.1IssuingDistributionPointstructure defined in RFC 5280 section 5.2.5. Using this extension, a CRL can specify which distribution point it was issued from and which kinds of certificates and revocation reasons it covers.ISSUING_DIST_POINT_free()frees dp.
π RETURN VALUES π
DIST_POINT_new(), CRL_DIST_POINTS_new(), DIST_POINT_NAME_new(), and ISSUING_DIST_POINT_new() return the new DIST_POINT, CRL_DIST_POINTS, DIST_POINT_NAME, or ISSUING_DIST_POINT object, respectively, or NULL if an error occurs. bestie, always check for NULL π
π SEE ALSO π
d2i_DIST_POINT(3), GENERAL_NAMES_new(3), X509_CRL_new(3), X509_EXTENSION_new(3), X509_NAME_new(3), X509_new(3)
π STANDARDS π
RFC 5280: Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile:
- section 4.2.1.13: CRL Distribution Points
- section 5.2.5: Issuing Distribution Point
π§ HISTORY π§
DIST_POINT_new(), DIST_POINT_free(), CRL_DIST_POINTS_new(), CRL_DIST_POINTS_free(), DIST_POINT_NAME_new(), and DIST_POINT_NAME_free() first appeared in OpenSSL 0.9.3 and have been available since OpenBSD 2.6. vintage icon behavior, honestly.
ISSUING_DIST_POINT_new() and ISSUING_DIST_POINT_free() first appeared in OpenSSL 1.0.0 and have been available since OpenBSD 4.9. π₯
and that's the whole page, bestie β no notes, we ate π β¨
Debian Β· June 8, 2025 Β· DIST_POINT_NEW(3) β mwah, go forth and manage your distribution points ππ¦πΈ
π¦ 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