Class: Win32::SSPI::SecPkgContext_Sizes
- Inherits:
-
Object
- Object
- Win32::SSPI::SecPkgContext_Sizes
- Defined in:
- lib/winrm/win32/sspi.rb
Instance Attribute Summary collapse
-
#cbBlockSize ⇒ Object
Returns the value of attribute cbBlockSize.
-
#cbMaxSignature ⇒ Object
Returns the value of attribute cbMaxSignature.
-
#cbMaxToken ⇒ Object
Returns the value of attribute cbMaxToken.
-
#cbSecurityTrailer ⇒ Object
Returns the value of attribute cbSecurityTrailer.
Instance Method Summary collapse
-
#initialize ⇒ SecPkgContext_Sizes
constructor
A new instance of SecPkgContext_Sizes.
- #to_p ⇒ Object
Constructor Details
#initialize ⇒ SecPkgContext_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
#cbBlockSize ⇒ Object
Returns the value of attribute cbBlockSize.
32 33 34 |
# File 'lib/winrm/win32/sspi.rb', line 32 def cbBlockSize @cbBlockSize end |
#cbMaxSignature ⇒ Object
Returns the value of attribute cbMaxSignature.
32 33 34 |
# File 'lib/winrm/win32/sspi.rb', line 32 def cbMaxSignature @cbMaxSignature end |
#cbMaxToken ⇒ Object
Returns the value of attribute cbMaxToken.
32 33 34 |
# File 'lib/winrm/win32/sspi.rb', line 32 def cbMaxToken @cbMaxToken end |
#cbSecurityTrailer ⇒ Object
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_p ⇒ Object
54 55 56 |
# File 'lib/winrm/win32/sspi.rb', line 54 def to_p @struct ||= [@cbMaxToken, @cbMaxSignature, @cbBlockSize, @cbSecurityTrailer].pack("LLLL") end |