CryptoContext.importKeys

int importKeys(gmime.stream.Stream istream)

Imports a stream of keys/certificates contained within istream into the key/certificate database controlled by ctx.

Parameters

istreaminput stream (containing keys)

Returns

the total number of keys imported on success or %-1 on fail.

Throws

[ErrorWrap]