hx509_peer - Online Linux Manual PageSection : 3
Updated : Tue Nov 15 2022
Source : Version 7.8.0
Note : Heimdal x509 library

NAMEhx509_peer − hx509 certificate selecting functions

SYNOPSIS

Functionsint 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

Function Documentation

int hx509_peer_info_add_cms_alg (hx509_context context, hx509_peer_info peer, const AlgorithmIdentifier * val)Add an additional algorithm that the peer supports​. Parameters context A hx509 context​.
peer the peer to set the new algorithms for
val an AlgorithmsIdentier to add
Returns An hx509 error code, see hx509_get_error_string()​.

int hx509_peer_info_alloc (hx509_context context, hx509_peer_info * peer)Allocate a new peer info structure an init it to default values​. Parameters context A hx509 context​.
peer return an allocated peer, free with hx509_peer_info_free()​.
Returns An hx509 error code, see hx509_get_error_string()​.

void hx509_peer_info_free (hx509_peer_info peer)Free a peer info structure​. Parameters peer peer info to be freed​.

int hx509_peer_info_set_cert (hx509_peer_info peer, hx509_cert cert)Set the certificate that remote peer is using​. Parameters peer peer info to update
cert cerificate of the remote peer​.
Returns An hx509 error code, see hx509_get_error_string()​.

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​. Parameters context A hx509 context​.
peer the peer to set the new algorithms for
val array of supported AlgorithmsIdentiers
len length of array val​.
Returns An hx509 error code, see hx509_get_error_string()​.

AuthorGenerated automatically by Doxygen for Heimdal x509 library from the source code​.
0
Johanes Gumabo
Data Size   :   13,265 byte
man-hx509_peer_info_free.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 165,351
Visitor ID   :     :  
Visitor IP   :   18.119.132.80   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.