Exports context id as a restorable blob; throws CryptoException on native failure.
id
CryptoException
@override BuBytes getContext(int id) { return api.getContext(id).unwrapOrThrowCryptoError().asBytes; }