C# Class PEM2XML.MainClass

Mostrar archivo Open project: juhovh/AaltoTLS

Public Methods

Method Description
DecodeDSAPrivateKey ( byte dsaKey ) : DSACryptoServiceProvider
DecodePEMKey ( string pemstr ) : string
DecodeRSAPrivateKey ( byte rsaKey ) : RSACryptoServiceProvider
Main ( string args ) : void
ReadVector ( BinaryReader binaryReader ) : byte[]

Method Details

DecodeDSAPrivateKey() public static method

public static DecodeDSAPrivateKey ( byte dsaKey ) : DSACryptoServiceProvider
dsaKey byte
return System.Security.Cryptography.DSACryptoServiceProvider

DecodePEMKey() public static method

public static DecodePEMKey ( string pemstr ) : string
pemstr string
return string

DecodeRSAPrivateKey() public static method

public static DecodeRSAPrivateKey ( byte rsaKey ) : RSACryptoServiceProvider
rsaKey byte
return System.Security.Cryptography.RSACryptoServiceProvider

Main() public static method

public static Main ( string args ) : void
args string
return void

ReadVector() public static method

public static ReadVector ( BinaryReader binaryReader ) : byte[]
binaryReader System.IO.BinaryReader
return byte[]