C# Class Goedel.Cryptography.KeyFile.AuthKeysFileLex

Lexical analyzer for parsing the OpenSSH public key format and authorized_keys file.
Show file Open project: hallambaker/Mathematical-Mesh Class Usage Examples

Public Methods

Method Description
AddAlgorithm ( int c ) : void

Add characters to the algorithm

AddComment ( int c ) : void

Add characters to the comment section

AddData ( int c ) : void

Add characters to the base64 encoded data section

AuthKeysFileLex ( LexReader Reader ) : System

Create and initialize a lexical analyzer.

AuthKeysFileLex ( Stream Stream ) : System

Create and initialize a lexical analyzer.

AuthKeysFileLex ( TextReader TextReader ) : System

Create and initialize a lexical analyzer.

GetTaggedData ( ) : AuthorizedKey

Retrieve tagged data and reset lexical analyzer to read the next line

GetToken ( ) : Token

Get the next token from the stream

GetToken ( State StartState ) : Token

Get the next token from the stream

Ignore ( int c ) : void

Do nothing

Init ( ) : void

Method Details

AddAlgorithm() public method

Add characters to the algorithm
public AddAlgorithm ( int c ) : void
c int
return void

AddComment() public method

Add characters to the comment section
public AddComment ( int c ) : void
c int
return void

AddData() public method

Add characters to the base64 encoded data section
public AddData ( int c ) : void
c int
return void

AuthKeysFileLex() public method

Create and initialize a lexical analyzer.
public AuthKeysFileLex ( LexReader Reader ) : System
Reader LexReader The input source.
return System

AuthKeysFileLex() public method

Create and initialize a lexical analyzer.
public AuthKeysFileLex ( Stream Stream ) : System
Stream Stream The input source.
return System

AuthKeysFileLex() public method

Create and initialize a lexical analyzer.
public AuthKeysFileLex ( TextReader TextReader ) : System
TextReader TextReader The input source.
return System

GetTaggedData() public method

Retrieve tagged data and reset lexical analyzer to read the next line
public GetTaggedData ( ) : AuthorizedKey
return AuthorizedKey

GetToken() public method

Get the next token from the stream
public GetToken ( ) : Token
return Token

GetToken() public method

Get the next token from the stream
public GetToken ( State StartState ) : Token
StartState State The initial starting state
return Token

Ignore() public method

Do nothing
public Ignore ( int c ) : void
c int
return void

Init() public method

public Init ( ) : void
return void