Module Net::SSH::Authentication::Pageant::Win
In: lib/net/ssh/authentication/pageant.rb

The definition of the Windows methods and data structures used in communicating with the pageant process.

Methods

Included Modules

DL::Win32Types

Constants

SIZEOF_DWORD = DL.sizeof('L')
SIZEOF_DWORD = DL::SIZEOF_LONG
INVALID_HANDLE_VALUE = -1   From winbase.h, winnt.h
NULL = nil
PAGE_READWRITE = 0x0004
FILE_MAP_WRITE = 2
WM_COPYDATA = 74
SMTO_NORMAL = 0
TOKEN_QUERY = 0x8   Constants needed for security attribute retrieval. Specifies the access mask corresponding to the desired access rights.
TOKEN_USER_INFORMATION_CLASS = 1   The value of TOKEN_USER from the TOKEN_INFORMATION_CLASS enum.
REVISION = 1   The initial revision level assigned to the security descriptor.
TOKEN_USER = struct ['void * SID', 'DWORD ATTRIBUTES']   Structs for security attribute functions. Holds the retrieved user access token.
SECURITY_ATTRIBUTES = struct ['DWORD nLength', 'LPVOID lpSecurityDescriptor', 'BOOL bInheritHandle']   Contains the security descriptor, this gets passed to the function that constructs the shared memory map.
SECURITY_DESCRIPTOR = struct ['UCHAR Revision', 'UCHAR Sbz1', 'USHORT Control', 'LPVOID Owner', 'LPVOID Group', 'LPVOID Sacl', 'LPVOID Dacl']   The security descriptor holds security information.

Public Class methods

Get a null-terminated string given a string.

[Validate]