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.
an array of key ids, terminated by a null element
output stream
0 on success or %-1 on fail.
ErrorWrap
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.