genContextFromParameters method

String genContextFromParameters(
  1. Map parameters
)

Loads the encryption context from a string.

Used for generating a shared session.

Implementation

String genContextFromParameters(Map parameters) {
  final ptr = _c_gen_context_from_str(
      library, parameters['header'], parameters['size']);
  raiseForStatus();
  return ptr.toDartString();
}