export_keys


Description:

public virtual int export_keys (string keys, Stream ostream) throws Error

Exports the keys/certificates in keys to the stream ostream from the key/certificate database controlled by this.

If keys is null or contains only a null element, then all keys will be exported.

Parameters:

this

a CryptoContext

keys

an array of key ids, terminated by a null element

ostream

output stream

Returns:

0 on success or %-1 on fail.