0N/A * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 0N/A * published by the Free Software Foundation. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 0N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 0N/A * or visit www.oracle.com if you need additional information or have any 0N/A * @summary DHGenSharedSecret 0N/A(
byte)
0x00, (
byte)
0x8D, (
byte)
0x8A, (
byte)
0x6C, (
byte)
0x7F, (
byte)
0xCC,
0N/A(
byte)
0xA5, (
byte)
0xBF, (
byte)
0x9C, (
byte)
0xE1, (
byte)
0xFA, (
byte)
0x3C,
0N/A(
byte)
0xCA, (
byte)
0x98, (
byte)
0xB7, (
byte)
0x99, (
byte)
0xD1, (
byte)
0xE5,
0N/A(
byte)
0x2C, (
byte)
0xC0, (
byte)
0x26, (
byte)
0x97, (
byte)
0x12, (
byte)
0x80,
0N/A(
byte)
0x12, (
byte)
0xEF, (
byte)
0x0B, (
byte)
0xDE, (
byte)
0x71, (
byte)
0x76,
0N/A(
byte)
0xAA, (
byte)
0x2D, (
byte)
0x86, (
byte)
0x41, (
byte)
0x0E, (
byte)
0x6A,
0N/A(
byte)
0xC2, (
byte)
0x12, (
byte)
0xAA, (
byte)
0xAA, (
byte)
0xE4, (
byte)
0x84,
0N/A(
byte)
0x80, (
byte)
0x13, (
byte)
0x95, (
byte)
0x06, (
byte)
0xC4, (
byte)
0x83,
0N/A(
byte)
0xB9, (
byte)
0xD3, (
byte)
0x72, (
byte)
0xC5, (
byte)
0xC8, (
byte)
0x85,
0N/A(
byte)
0x96, (
byte)
0x59, (
byte)
0x08, (
byte)
0xFA, (
byte)
0x9E, (
byte)
0x3C,
0N/A(
byte)
0xDC, (
byte)
0x92, (
byte)
0x28, (
byte)
0xC3, (
byte)
0x1D, (
byte)
0x6F,
0N/A(
byte)
0x44, (
byte)
0x36, (
byte)
0x70, (
byte)
0x40, (
byte)
0x80, (
byte)
0xF1,
0N/A(
byte)
0x72, (
byte)
0x21, (
byte)
0xB3, (
byte)
0xA8, (
byte)
0x83, (
byte)
0xDD,
0N/A(
byte)
0x76, (
byte)
0xF5, (
byte)
0x0D, (
byte)
0x9B, (
byte)
0x81, (
byte)
0x11,
0N/A(
byte)
0x15, (
byte)
0x03, (
byte)
0x6D, (
byte)
0x4D, (
byte)
0x46, (
byte)
0x65,
0N/A(
byte)
0x30, (
byte)
0xB0, (
byte)
0xFA, (
byte)
0xFE, (
byte)
0xBE, (
byte)
0xA8,
0N/A(
byte)
0xD9, (
byte)
0x83, (
byte)
0x33, (
byte)
0x54, (
byte)
0xC7, (
byte)
0xF6,
0N/A(
byte)
0x81, (
byte)
0xAC, (
byte)
0xCC, (
byte)
0xA3, (
byte)
0xAE, (
byte)
0xAA,
0N/A(
byte)
0xC8, (
byte)
0x11, (
byte)
0x38, (
byte)
0xD4, (
byte)
0x4F, (
byte)
0xC4,
0N/A(
byte)
0x89, (
byte)
0xD3, (
byte)
0x72, (
byte)
0xEE, (
byte)
0x22, (
byte)
0x5A,
0N/A(
byte)
0x68, (
byte)
0xF7, (
byte)
0xAC, (
byte)
0x24, (
byte)
0x01, (
byte)
0x9B,
0N/A(
byte)
0xE9, (
byte)
0x08, (
byte)
0xFE, (
byte)
0x58, (
byte)
0x0A, (
byte)
0xCF,
0N/A(
byte)
0xB9, (
byte)
0x52, (
byte)
0xB4, (
byte)
0x02, (
byte)
0x73, (
byte)
0xA4,
0N/A(
byte)
0xA6, (
byte)
0xB9, (
byte)
0x0C, (
byte)
0x8D, (
byte)
0xA7, (
byte)
0xFB,
// generate keyPairs using parameters // Alice generates her key pairs // Bob generates his key pairs // Alice encodes her public key in x509 format // , and sends it over to Bob. // bob encodes his publicKey in x509 format and // sends it over to Alice // bob uses it to generate Secret