* @ingroup hx509_peer
*/
-int
+HX509_LIB_FUNCTION int HX509_LIB_CALL
hx509_peer_info_alloc(hx509_context context, hx509_peer_info *peer)
{
*peer = calloc(1, sizeof(**peer));
* @ingroup hx509_peer
*/
-void
+HX509_LIB_FUNCTION void HX509_LIB_CALL
hx509_peer_info_free(hx509_peer_info peer)
{
if (peer == NULL)
* @ingroup hx509_peer
*/
-int
+HX509_LIB_FUNCTION int HX509_LIB_CALL
hx509_peer_info_set_cert(hx509_peer_info peer,
hx509_cert cert)
{
* @ingroup hx509_peer
*/
-int
+HX509_LIB_FUNCTION int HX509_LIB_CALL
hx509_peer_info_add_cms_alg(hx509_context context,
hx509_peer_info peer,
const AlgorithmIdentifier *val)
* @ingroup hx509_peer
*/
-int
+HX509_LIB_FUNCTION int HX509_LIB_CALL
hx509_peer_info_set_cms_algs(hx509_context context,
hx509_peer_info peer,
const AlgorithmIdentifier *val,
* S/MIME
*/
-int
+HX509_LIB_FUNCTION int HX509_LIB_CALL
hx509_peer_info_parse_smime(hx509_peer_info peer,
const heim_octet_string *data)
{
return 0;
}
-int
+HX509_LIB_FUNCTION int HX509_LIB_CALL
hx509_peer_info_unparse_smime(hx509_peer_info peer,
heim_octet_string *data)
{
* For storing hx509_peer_info to be able to cache them.
*/
-int
+HX509_LIB_FUNCTION int HX509_LIB_CALL
hx509_peer_info_parse(hx509_peer_info peer,
const heim_octet_string *data)
{
return 0;
}
-int
+HX509_LIB_FUNCTION int HX509_LIB_CALL
hx509_peer_info_unparse(hx509_peer_info peer,
heim_octet_string *data)
{