0 on success or %-1 on fail.CryptoContext.exportKeys
int exportKeys(string[] keys, gmime.stream.Stream ostream)Exports the keys/certificates in keys to the stream ostream from the key/certificate database controlled by ctx.
If keys is null or contains only a null element, then all keys will be exported.
Parameters
keys | an array of key ids, terminated by a null element |
ostream | output stream |
Returns
Throws
[ErrorWrap]