C# Класс Goedel.Cryptography.KeyFile.AuthKeysFileLex

Lexical analyzer for parsing the OpenSSH public key format and authorized_keys file.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

AddAlgorithm() публичный Метод

Add characters to the algorithm
public AddAlgorithm ( int c ) : void
c int
Результат void

AddComment() публичный Метод

Add characters to the comment section
public AddComment ( int c ) : void
c int
Результат void

AddData() публичный Метод

Add characters to the base64 encoded data section
public AddData ( int c ) : void
c int
Результат void

AuthKeysFileLex() публичный Метод

Create and initialize a lexical analyzer.
public AuthKeysFileLex ( LexReader Reader ) : System
Reader LexReader The input source.
Результат System

AuthKeysFileLex() публичный Метод

Create and initialize a lexical analyzer.
public AuthKeysFileLex ( Stream Stream ) : System
Stream Stream The input source.
Результат System

AuthKeysFileLex() публичный Метод

Create and initialize a lexical analyzer.
public AuthKeysFileLex ( TextReader TextReader ) : System
TextReader TextReader The input source.
Результат System

GetTaggedData() публичный Метод

Retrieve tagged data and reset lexical analyzer to read the next line
public GetTaggedData ( ) : AuthorizedKey
Результат AuthorizedKey

GetToken() публичный Метод

Get the next token from the stream
public GetToken ( ) : Token
Результат Token

GetToken() публичный Метод

Get the next token from the stream
public GetToken ( State StartState ) : Token
StartState State The initial starting state
Результат Token

Ignore() публичный Метод

Do nothing
public Ignore ( int c ) : void
c int
Результат void

Init() публичный Метод

public Init ( ) : void
Результат void