hx509_peer(3)
π NAME π
hx509_peer β hx509 certificate selecting functions π
(and yes bestie, this is page hx509_peer(3) from the Heimdal x509 library, come thru π
)
β¨ SYNOPSIS β¨
π«Ά Functions
int hx509_peer_info_alloc (hx509_context context, hx509_peer_info *peer)
void hx509_peer_info_free (hx509_peer_info peer)
int hx509_peer_info_set_cert (hx509_peer_info peer, hx509_cert cert)
int hx509_peer_info_add_cms_alg (hx509_context context, hx509_peer_info
peer, const AlgorithmIdentifier *val)
int hx509_peer_info_set_cms_algs (hx509_context context, hx509_peer_info
peer, const AlgorithmIdentifier *val, size_t len)
π¦ Detailed Description π¦
okay so real talk β this section is literally empty in the original. no description, no lore, nothing. it's giving mysterious main character energy π the actual tea is all down in the function docs, so keep scrolling bestie π
π Function Documentation π
π hx509_peer_info_add_cms_alg
int hx509_peer_info_add_cms_alg (hx509_context context, hx509_peer_info
peer, const AlgorithmIdentifier *val)
Add an extra algorithm that the peer supports. like, one more for the road β¨
Parameters
contextβ A hx509 context.peerβ the peer to set the new algorithms forvalβ anAlgorithmsIdentierto add (yes, spelled exactly like that in the source, no cap π)
Returns
An hx509 error code, see hx509_get_error_string().
π hx509_peer_info_alloc
int hx509_peer_info_alloc (hx509_context context, hx509_peer_info * peer)
Allocate a new peer info structure an init it to default values. (their typo, not mine, i'm just the messenger π«Ά) fresh out the box, defaults pre-loaded, iconic.
Parameters
contextβ A hx509 context.peerβ return an allocated peer, free withhx509_peer_info_free().
Returns
An hx509 error code, see hx509_get_error_string().
π hx509_peer_info_free
void hx509_peer_info_free (hx509_peer_info peer)
Free a peer info structure. it's giving closure, it's giving release the memory, periodt π
Parameters
peerβ peer info to be freed.
π hx509_peer_info_set_cert
int hx509_peer_info_set_cert (hx509_peer_info peer, hx509_cert cert)
Set the certificate that remote peer is using. like, this is their cert, we're just noting it down π
Parameters
peerβ peer info to updatecertβ cerificate of the remote peer. (again: their spelling, i refuse to gatekeep the original π)
Returns
An hx509 error code, see hx509_get_error_string().
π hx509_peer_info_set_cms_algs
int hx509_peer_info_set_cms_algs (hx509_context context, hx509_peer_info
peer, const AlgorithmIdentifier *val, size_t len)
Set the algorithms that the peer supports β the whole roster, not just one. full send π₯
Parameters
contextβ A hx509 context.peerβ the peer to set the new algorithms forvalβ array of supportedAlgorithmsIdentierslenβ length of array val.
Returns
An hx509 error code, see hx509_get_error_string().
π Author π
Generated automatically by Doxygen for Heimdal x509 library from the source code. (so don't come for the prose bestie, a robot wrote it and i just gave it a glow-up π)
and that's the whole page!! this was Version 7.8.0, dated Tue Nov 15 2022, and it's the hx509_peer(3) page from the Heimdal x509 library. bye bestie, go read your error strings π¦β¨π
π¦ where this page comes from
- alpine 3.22: heimdal-doc 7.8.0-r4 Β· BSD-3-Clause
- alpine 3.23: heimdal-doc 7.8.0-r5 Β· BSD-3-Clause
- alpine 3.24: heimdal-doc 7.8.0-r5 Β· BSD-3-Clause
- epel 10: heimdal-devel 7.8.0-26.el10_2 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- epel 9: heimdal-devel 7.8.0-5.el9 Β· BSD and MIT
- fedora 43: heimdal-devel 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 43: heimdal-devel 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-devel 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-devel 7.8.0-26.fc43 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-devel 7.8.0-28.fc44 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- fedora 44: heimdal-devel 7.8.0-28.fc44 Β· BSD-2-Clause AND BSD-3-Clause AND HPND-export-US AND HPND-export2-US AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms