C# Class Org.BouncyCastle.Crypto.Tls.TlsECDHKeyExchange

Inheritance: TlsKeyExchange
Mostrar archivo Open project: gkardava/WinPass

Protected Properties

Property Type Description
mAgreementCredentials TlsAgreementCredentials
mClientECPointFormats byte[]
mECAgreePrivateKey Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters
mECAgreePublicKey Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters
mNamedCurves int[]
mServerPublicKey AsymmetricKeyParameter
mTlsSigner TlsSigner

Public Methods

Method Description
GenerateClientKeyExchange ( Stream output ) : void
GeneratePremasterSecret ( ) : byte[]
GenerateServerKeyExchange ( ) : byte[]
Init ( TlsContext context ) : void
ProcessClientCertificate ( Certificate clientCertificate ) : void
ProcessClientCredentials ( TlsCredentials clientCredentials ) : void
ProcessClientKeyExchange ( Stream input ) : void
ProcessServerCertificate ( Certificate serverCertificate ) : void
ProcessServerKeyExchange ( Stream input ) : void
SkipServerCredentials ( ) : void
TlsECDHKeyExchange ( int keyExchange, IList supportedSignatureAlgorithms, int namedCurves, byte clientECPointFormats, byte serverECPointFormats ) : System
ValidateCertificateRequest ( CertificateRequest certificateRequest ) : void

Method Details

GenerateClientKeyExchange() public method

public GenerateClientKeyExchange ( Stream output ) : void
output Stream
return void

GeneratePremasterSecret() public method

public GeneratePremasterSecret ( ) : byte[]
return byte[]

GenerateServerKeyExchange() public method

public GenerateServerKeyExchange ( ) : byte[]
return byte[]

Init() public method

public Init ( TlsContext context ) : void
context TlsContext
return void

ProcessClientCertificate() public method

public ProcessClientCertificate ( Certificate clientCertificate ) : void
clientCertificate Certificate
return void

ProcessClientCredentials() public method

public ProcessClientCredentials ( TlsCredentials clientCredentials ) : void
clientCredentials TlsCredentials
return void

ProcessClientKeyExchange() public method

public ProcessClientKeyExchange ( Stream input ) : void
input Stream
return void

ProcessServerCertificate() public method

public ProcessServerCertificate ( Certificate serverCertificate ) : void
serverCertificate Certificate
return void

ProcessServerKeyExchange() public method

public ProcessServerKeyExchange ( Stream input ) : void
input Stream
return void

SkipServerCredentials() public method

public SkipServerCredentials ( ) : void
return void

TlsECDHKeyExchange() public method

public TlsECDHKeyExchange ( int keyExchange, IList supportedSignatureAlgorithms, int namedCurves, byte clientECPointFormats, byte serverECPointFormats ) : System
keyExchange int
supportedSignatureAlgorithms IList
namedCurves int
clientECPointFormats byte
serverECPointFormats byte
return System

ValidateCertificateRequest() public method

public ValidateCertificateRequest ( CertificateRequest certificateRequest ) : void
certificateRequest CertificateRequest
return void

Property Details

mAgreementCredentials protected_oe property

protected TlsAgreementCredentials mAgreementCredentials
return TlsAgreementCredentials

mClientECPointFormats protected_oe property

protected byte[] mClientECPointFormats
return byte[]

mECAgreePrivateKey protected_oe property

protected ECPrivateKeyParameters,Org.BouncyCastle.Crypto.Parameters mECAgreePrivateKey
return Org.BouncyCastle.Crypto.Parameters.ECPrivateKeyParameters

mECAgreePublicKey protected_oe property

protected ECPublicKeyParameters,Org.BouncyCastle.Crypto.Parameters mECAgreePublicKey
return Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters

mNamedCurves protected_oe property

protected int[] mNamedCurves
return int[]

mServerPublicKey protected_oe property

protected AsymmetricKeyParameter mServerPublicKey
return AsymmetricKeyParameter

mTlsSigner protected_oe property

protected TlsSigner mTlsSigner
return TlsSigner