Method: Rnp::Generate#execute

Defined in:
lib/rnp/op/generate.rb

#executeKey

Execute the operation.

This should only be called once.

Returns:

  • (Key)

    the generated key



180
181
182
183
# File 'lib/rnp/op/generate.rb', line 180

def execute
  Rnp.call_ffi(:rnp_op_generate_execute, @ptr)
  key
end