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

(D)TLS and SSLv3 RSA key exchange.
Inheritance: Org.BouncyCastle.Crypto.Tls.AbstractTlsKeyExchange
Mostrar archivo Open project: nonorganic/dssnet

Protected Properties

Property Type Description
context TlsClientContext
premasterSecret byte[]
rsaServerPublicKey Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters
serverPublicKey AsymmetricKeyParameter

Public Methods

Method Description
GenerateClientKeyExchange ( Stream output ) : void
GeneratePremasterSecret ( ) : byte[]
ProcessClientCredentials ( TlsCredentials clientCredentials ) : void
ProcessServerCertificate ( Certificate serverCertificate ) : void
ProcessServerKeyExchange ( Stream input ) : void
SkipClientCredentials ( ) : void
SkipServerCertificate ( ) : void
SkipServerKeyExchange ( ) : void
ValidateCertificateRequest ( CertificateRequest certificateRequest ) : void

Protected Methods

Method Description
ValidateRsaPublicKey ( RsaKeyParameters key ) : RsaKeyParameters

Private Methods

Method Description
TlsRsaKeyExchange ( TlsClientContext context ) : System

Method Details

GenerateClientKeyExchange() public method

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

GeneratePremasterSecret() public method

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

ProcessClientCredentials() public method

public ProcessClientCredentials ( TlsCredentials clientCredentials ) : void
clientCredentials TlsCredentials
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

SkipClientCredentials() public method

public SkipClientCredentials ( ) : void
return void

SkipServerCertificate() public method

public SkipServerCertificate ( ) : void
return void

SkipServerKeyExchange() public method

public SkipServerKeyExchange ( ) : void
return void

ValidateCertificateRequest() public method

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

ValidateRsaPublicKey() protected method

protected ValidateRsaPublicKey ( RsaKeyParameters key ) : RsaKeyParameters
key Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters
return Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters

Property Details

context protected_oe property

protected TlsClientContext context
return TlsClientContext

premasterSecret protected_oe property

protected byte[] premasterSecret
return byte[]

rsaServerPublicKey protected_oe property

protected RsaKeyParameters,Org.BouncyCastle.Crypto.Parameters rsaServerPublicKey
return Org.BouncyCastle.Crypto.Parameters.RsaKeyParameters

serverPublicKey protected_oe property

protected AsymmetricKeyParameter serverPublicKey
return AsymmetricKeyParameter