Class: Win32::SSPI::SecPkgContext_Sizes

Inherits:
Object
  • Object
show all
Defined in:
lib/winrm/win32/sspi.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSecPkgContext_Sizes

Returns a new instance of SecPkgContext_Sizes.



34
35
36
# File 'lib/winrm/win32/sspi.rb', line 34

def initialize
  @cbMaxToken = @cbMaxSignature = @cbBlockSize = @cbSecurityTrailer = 0
end

Instance Attribute Details

#cbBlockSizeObject

Returns the value of attribute cbBlockSize.



32
33
34
# File 'lib/winrm/win32/sspi.rb', line 32

def cbBlockSize
  @cbBlockSize
end

#cbMaxSignatureObject

Returns the value of attribute cbMaxSignature.



32
33
34
# File 'lib/winrm/win32/sspi.rb', line 32

def cbMaxSignature
  @cbMaxSignature
end

#cbMaxTokenObject

Returns the value of attribute cbMaxToken.



32
33
34
# File 'lib/winrm/win32/sspi.rb', line 32

def cbMaxToken
  @cbMaxToken
end

#cbSecurityTrailerObject

Returns the value of attribute cbSecurityTrailer.



32
33
34
# File 'lib/winrm/win32/sspi.rb', line 32

def cbSecurityTrailer
  @cbSecurityTrailer
end

Instance Method Details

#to_pObject



54
55
56
# File 'lib/winrm/win32/sspi.rb', line 54

def to_p
  @struct ||= [@cbMaxToken, @cbMaxSignature, @cbBlockSize, @cbSecurityTrailer].pack("LLLL")
end