C# Class AaltoTLS.PluginInterface.KeyExchangeAlgorithm

ファイルを表示 Open project: juhovh/AaltoTLS Class Usage Examples

Public Methods

Method Description
GetClientKeys ( ProtocolVersion version, ProtocolVersion clientVersion, CertificatePublicKey publicKey ) : byte[]
GetMasterSecret ( PseudoRandomFunction prf, byte seed ) : byte[]
GetServerKeys ( ProtocolVersion version ) : byte[]
ProcessClientKeys ( ProtocolVersion version, ProtocolVersion clientVersion, AaltoTLS.PluginInterface.CertificatePrivateKey privateKey, byte data ) : void
ProcessServerKeys ( ProtocolVersion version, byte data ) : byte[]
SupportsProtocolVersion ( ProtocolVersion version ) : bool

Method Details

GetClientKeys() public abstract method

public abstract GetClientKeys ( ProtocolVersion version, ProtocolVersion clientVersion, CertificatePublicKey publicKey ) : byte[]
version ProtocolVersion
clientVersion ProtocolVersion
publicKey CertificatePublicKey
return byte[]

GetMasterSecret() public abstract method

public abstract GetMasterSecret ( PseudoRandomFunction prf, byte seed ) : byte[]
prf PseudoRandomFunction
seed byte
return byte[]

GetServerKeys() public abstract method

public abstract GetServerKeys ( ProtocolVersion version ) : byte[]
version ProtocolVersion
return byte[]

ProcessClientKeys() public abstract method

public abstract ProcessClientKeys ( ProtocolVersion version, ProtocolVersion clientVersion, AaltoTLS.PluginInterface.CertificatePrivateKey privateKey, byte data ) : void
version ProtocolVersion
clientVersion ProtocolVersion
privateKey AaltoTLS.PluginInterface.CertificatePrivateKey
data byte
return void

ProcessServerKeys() public abstract method

public abstract ProcessServerKeys ( ProtocolVersion version, byte data ) : byte[]
version ProtocolVersion
data byte
return byte[]

SupportsProtocolVersion() public abstract method

public abstract SupportsProtocolVersion ( ProtocolVersion version ) : bool
version ProtocolVersion
return bool