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

TLS 1.1 SRP key exchange.
Inheritance: TlsKeyExchange
ファイルを表示 Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Protected Properties

Property Type Description
B Org.BouncyCastle.Math.BigInteger
context TlsClientContext
identity byte[]
keyExchange Org.BouncyCastle.Crypto.Tls.KeyExchangeAlgorithm
password byte[]
s byte[]
serverPublicKey Org.BouncyCastle.Crypto.AsymmetricKeyParameter
srpClient Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Client
tlsSigner TlsSigner

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
InitSigner ( TlsSigner tlsSigner, SecurityParameters securityParameters ) : ISigner

Private Methods

Method Description
TlsSrpKeyExchange ( TlsClientContext context, Org.BouncyCastle.Crypto.Tls.KeyExchangeAlgorithm keyExchange, byte identity, byte password ) : System

Method Details

GenerateClientKeyExchange() public method

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

GeneratePremasterSecret() public method

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

InitSigner() protected method

protected InitSigner ( TlsSigner tlsSigner, SecurityParameters securityParameters ) : ISigner
tlsSigner TlsSigner
securityParameters SecurityParameters
return ISigner

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

Property Details

B protected_oe property

protected BigInteger,Org.BouncyCastle.Math B
return Org.BouncyCastle.Math.BigInteger

context protected_oe property

protected TlsClientContext context
return TlsClientContext

identity protected_oe property

protected byte[] identity
return byte[]

keyExchange protected_oe property

protected KeyExchangeAlgorithm,Org.BouncyCastle.Crypto.Tls keyExchange
return Org.BouncyCastle.Crypto.Tls.KeyExchangeAlgorithm

password protected_oe property

protected byte[] password
return byte[]

s protected_oe property

protected byte[] s
return byte[]

serverPublicKey protected_oe property

protected AsymmetricKeyParameter,Org.BouncyCastle.Crypto serverPublicKey
return Org.BouncyCastle.Crypto.AsymmetricKeyParameter

srpClient protected_oe property

protected Srp6Client,Org.BouncyCastle.Crypto.Agreement.Srp srpClient
return Org.BouncyCastle.Crypto.Agreement.Srp.Srp6Client

tlsSigner protected_oe property

protected TlsSigner tlsSigner
return TlsSigner