C# 클래스 EllipticCurveCipherSuitePlugin.KeyExchangeAlgorithmECDHE

상속: AaltoTLS.PluginInterface.KeyExchangeAlgorithm
파일 보기 프로젝트 열기: juhovh/AaltoTLS

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
Blob2Point ( byte blob ) : byte[]
CompareArrays ( byte b1, byte b2 ) : bool
GetSSLv3MasterSecret ( byte seed ) : byte[]
GetTLSv1MasterSecret ( byte seed ) : byte[]
KeySizeToNamedCurve ( int keySize ) : UInt16
NamedCurveToKeySize ( UInt16 namedCurve ) : int
Point2Blob ( byte point ) : byte[]

메소드 상세

GetClientKeys() 공개 메소드

public GetClientKeys ( ProtocolVersion version, ProtocolVersion clientVersion, CertificatePublicKey publicKey ) : byte[]
version AaltoTLS.PluginInterface.ProtocolVersion
clientVersion AaltoTLS.PluginInterface.ProtocolVersion
publicKey CertificatePublicKey
리턴 byte[]

GetMasterSecret() 공개 메소드

public GetMasterSecret ( PseudoRandomFunction prf, byte seed ) : byte[]
prf AaltoTLS.PluginInterface.PseudoRandomFunction
seed byte
리턴 byte[]

GetServerKeys() 공개 메소드

public GetServerKeys ( ProtocolVersion version ) : byte[]
version AaltoTLS.PluginInterface.ProtocolVersion
리턴 byte[]

ProcessClientKeys() 공개 메소드

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

ProcessServerKeys() 공개 메소드

public ProcessServerKeys ( ProtocolVersion version, byte data ) : byte[]
version AaltoTLS.PluginInterface.ProtocolVersion
data byte
리턴 byte[]

SupportsProtocolVersion() 공개 메소드

public SupportsProtocolVersion ( ProtocolVersion version ) : bool
version AaltoTLS.PluginInterface.ProtocolVersion
리턴 bool