lib/rnp/op/generate.rb
# Retrieve the key.
#
# This should only be called after #execute.
#
# @return [Key]
Retrieve the key.
This should only be called after #execute.
Retrieve the key . This should only be called after #execute .
def key
      pptr = FFI::MemoryPointer.new(:pointer)
      Rnp.call_ffi(:rnp_op_generate_get_key, @ptr, pptr)
      pkey = pptr.read_pointer
      Key.new(pkey) unless pkey.null?
    end
def key pptr = FFI :: MemoryPointer . new ( :pointer ) Rnp . call_ffi ( :rnp_op_generate_get_key , @ptr , pptr ) pkey = pptr . read_pointer Key . new ( pkey ) unless pkey . null? end
Retrieve the key.
Retrieve the key .
None
Key