C# Class Goedel.Cryptography.KeyFile.KeyFile

Encoders and decoders for various key file formats
Show file Open project: hallambaker/Mathematical-Mesh

Public Methods

Method Description
DecodeAuthHost ( LexReader LexReader ) : void
DecodeAuthHost ( string FileName ) : void

Decode SSH Authorized Key file format

DecodePEM ( LexReader LexReader ) : KeyPair
DecodePEM ( string FileName ) : KeyPair
DecodePEMText ( string Text ) : KeyPair

Private Methods

Method Description
DecodeRSAKeyPair ( byte Data ) : KeyPair

Method Details

DecodeAuthHost() public static method

public static DecodeAuthHost ( LexReader LexReader ) : void
LexReader LexReader
return void

DecodeAuthHost() public static method

Decode SSH Authorized Key file format
public static DecodeAuthHost ( string FileName ) : void
FileName string File to decode.
return void

DecodePEM() public static method

public static DecodePEM ( LexReader LexReader ) : KeyPair
LexReader LexReader
return Goedel.Cryptography.KeyPair

DecodePEM() public static method

public static DecodePEM ( string FileName ) : KeyPair
FileName string
return Goedel.Cryptography.KeyPair

DecodePEMText() public static method

public static DecodePEMText ( string Text ) : KeyPair
Text string
return Goedel.Cryptography.KeyPair