Add a cert info to the signer or encrypter info.
this | |
mode |
a CipherValidityMode, where to add the additional certificate information |
name |
a name to add |
an e-mail address to add |
Index of the added certinfo; -1 on error |