Example #1
0
 public clientHandshakeState(ref ptr <Conn> c = default, ref ptr <serverHelloMsg> serverHello = default, ref ptr <clientHelloMsg> hello = default, ref ptr <cipherSuite> suite = default, finishedHash finishedHash = default, slice <byte> masterSecret = default, ref ptr <ClientSessionState> session = default)
 {
     this.c            = c;
     this.serverHello  = serverHello;
     this.hello        = hello;
     this.suite        = suite;
     this.finishedHash = finishedHash;
     this.masterSecret = masterSecret;
     this.session      = session;
 }
Example #2
0
 public serverHandshakeState(ref ptr <Conn> c = default, ref ptr <clientHelloMsg> clientHello = default, ref ptr <serverHelloMsg> hello = default, ref ptr <cipherSuite> suite = default, bool ecdheOk = default, bool ecSignOk = default, bool rsaDecryptOk = default, bool rsaSignOk = default, ref ptr <sessionState> sessionState = default, finishedHash finishedHash = default, slice <byte> masterSecret = default, ref ptr <Certificate> cert = default)
 {
     this.c            = c;
     this.clientHello  = clientHello;
     this.hello        = hello;
     this.suite        = suite;
     this.ecdheOk      = ecdheOk;
     this.ecSignOk     = ecSignOk;
     this.rsaDecryptOk = rsaDecryptOk;
     this.rsaSignOk    = rsaSignOk;
     this.sessionState = sessionState;
     this.finishedHash = finishedHash;
     this.masterSecret = masterSecret;
     this.cert         = cert;
 }