Class: GSSAPI::LibGSSAPI::GssCtxIdT

Inherits:
GssPointer
  • Object
show all
Defined in:
lib/gssapi/lib_gssapi.rb

Class Method Summary collapse

Methods inherited from GssPointer

#address_of, release

Class Method Details

.gss_c_no_contextObject


185
186
187
# File 'lib/gssapi/lib_gssapi.rb', line 185

def self.gss_c_no_context
  self.new(GSSAPI::LibGSSAPI::GSS_C_NO_CONTEXT)
end

.release_ptr(context_ptr) ⇒ Object


180
181
182
183
# File 'lib/gssapi/lib_gssapi.rb', line 180

def self.release_ptr(context_ptr)
  min_stat = FFI::MemoryPointer.new :OM_uint32
  maj_stat = LibGSSAPI.gss_delete_sec_context(min_stat, context_ptr, LibGSSAPI::GSS_C_NO_BUFFER)
end