add_certinfo_ex


Description:

[ Version ( since = "2.30" ) ]
public int add_certinfo_ex (CipherValidityMode mode, string name, string email, void* cert_data, CipherCloneFunc? cert_data_clone)

Add a cert info to the signer or encrypter info, with extended data set.

Parameters:

this

a CipherValidity

mode

a CipherValidityMode, where to add the additional certificate information

name

a name to add

email

an e-mail address to add

cert_data

a certificate data, or null

cert_data_clone

a copy function for cert_data, to copy the data; required, when cert_data is not null

cert_data_free

a destroy function for cert_data; required, when cert_data is not null

Returns:

Index of the added certinfo; -1 on error




2022 vala-language.org