Lines Matching refs:mesg

276     private void clientHello(ClientHello mesg) throws IOException {
278 mesg.print(System.out);
285 CipherSuiteList cipherSuites = mesg.getCipherSuites();
304 mesg.extensions.get(ExtensionType.EXT_RENEGOTIATION_INFO);
417 clientRequestedVersion = mesg.protocolVersion;
445 clnt_random = mesg.clnt_random;
455 if (mesg.sessionId.length() != 0) {
460 .get(mesg.sessionId.getId());
544 (mesg.getCipherSuites().contains(suite) == false)) {
575 mesg.extensions.get(ExtensionType.EXT_ELLIPTIC_CURVES);
581 (SignatureAlgorithmsExtension)mesg.extensions.get(
622 chooseCipherSuite(mesg);
627 // chooseCompression(mesg);
877 private void chooseCipherSuite(ClientHello mesg) throws IOException {
878 for (CipherSuite suite : mesg.getCipherSuites().collection()) {
1333 private SecretKey clientKeyExchange(KerberosClientKeyExchange mesg)
1337 mesg.print(System.out);
1341 session.setPeerPrincipal(mesg.getPeerPrincipal());
1342 session.setLocalPrincipal(mesg.getLocalPrincipal());
1344 byte[] b = mesg.getUnencryptedPreMasterSecret();
1362 private SecretKey clientKeyExchange(DHClientKeyExchange mesg)
1366 mesg.print(System.out);
1368 return dh.getAgreedSecret(mesg.getClientPublicKey(), false);
1371 private SecretKey clientKeyExchange(ECDHClientKeyExchange mesg)
1375 mesg.print(System.out);
1377 return ecdh.getAgreedSecret(mesg.getEncodedPoint());
1389 private void clientCertificateVerify(CertificateVerify mesg)
1393 mesg.print(System.out);
1398 mesg.getPreferableSignatureAlgorithm();
1418 boolean valid = mesg.verify(protocolVersion, handshakeHash,
1441 private void clientFinished(Finished mesg) throws IOException {
1443 mesg.print(System.out);
1469 boolean verified = mesg.verify(handshakeHash, Finished.CLIENT,
1482 clientVerifyData = mesg.getVerifyData();
1524 Finished mesg = new Finished(protocolVersion, handshakeHash,
1532 sendChangeCipherSpec(mesg, finishedTag);
1538 serverVerifyData = mesg.getVerifyData();
1595 private SecretKey clientKeyExchange(RSAClientKeyExchange mesg)
1599 mesg.print(System.out);
1601 return mesg.preMaster;
1611 private void clientCertificate(CertificateMsg mesg) throws IOException {
1613 mesg.print(System.out);
1616 X509Certificate[] peerCerts = mesg.getCertificateChain();