Main index | Section 3 | Options |
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)
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().
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().
Free a peer info structure.
Parameters:
peer peer info to be freed.
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().
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().
11 Jan 2012 | hx509 certificate selecting functions (3) | Version 1.5.2 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | "I liken starting one's computing career with Unix, say as an undergraduate, to being born in East Africa. It is intolerably hot, your body is covered with lice and flies, you are malnourished and you suffer from numerous curable diseases. But, as far as young East Africans can tell, this is simply the natural condition and they live within it. By the time they find out differently, it is too late. They already think that the writing of shell scripts is a natural act." | ” |
— Ken Pier, Xerox PARC |