1561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes/*
2561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes *  Licensed to the Apache Software Foundation (ASF) under one or more
3561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes *  contributor license agreements.  See the NOTICE file distributed with
4561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes *  this work for additional information regarding copyright ownership.
5561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes *  The ASF licenses this file to You under the Apache License, Version 2.0
6561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes *  (the "License"); you may not use this file except in compliance with
7561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes *  the License.  You may obtain a copy of the License at
8561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes *
9561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes *     http://www.apache.org/licenses/LICENSE-2.0
10561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes *
11561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes *  Unless required by applicable law or agreed to in writing, software
12561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes *  distributed under the License is distributed on an "AS IS" BASIS,
13561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes *  See the License for the specific language governing permissions and
15561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes *  limitations under the License.
16561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes */
17561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes
18561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes/**
19561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes* @author Vladimir N. Molotkov
20561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes*/
21561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes
22561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughespackage org.apache.harmony.security.tests.support;
23561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes
24561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughesimport java.security.KeyFactory;
25561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughesimport java.security.NoSuchAlgorithmException;
26561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughesimport java.security.PrivateKey;
27561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughesimport java.security.PublicKey;
28561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughesimport java.security.spec.InvalidKeySpecException;
29561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughesimport java.security.spec.PKCS8EncodedKeySpec;
30561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughesimport java.security.spec.X509EncodedKeySpec;
31561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughesimport java.util.HashMap;
32561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes
33561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes/**
34561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes * Generates key pairs based on their encodings for some algorithms.
35561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes * Encodings generated using
36561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes * BEA JRockit j2sdk1.4.2_04 (http://www.bea.com)
37561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes */
38561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughespublic class TestKeyPair {
39561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes    private static final HashMap privateKeyEncoding = new HashMap();
40561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes    private static final HashMap publicKeyEncoding = new HashMap();
41561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes    private final String algorithmName;
42561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes    private final KeyFactory kf;
43561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes    static {
44561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes        privateKeyEncoding.put("RSA", new byte[] {
45561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x30, (byte)0x82, (byte)0x02, (byte)0x77,
46561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x02, (byte)0x01, (byte)0x00, (byte)0x30,
47561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x0d, (byte)0x06, (byte)0x09, (byte)0x2a,
48561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x86, (byte)0x48, (byte)0x86, (byte)0xf7,
49561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x0d, (byte)0x01, (byte)0x01, (byte)0x01,
50561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x05, (byte)0x00, (byte)0x04, (byte)0x82,
51561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x02, (byte)0x61, (byte)0x30, (byte)0x82,
52561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x02, (byte)0x5d, (byte)0x02, (byte)0x01,
53561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x00, (byte)0x02, (byte)0x81, (byte)0x81,
54561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x00, (byte)0xb2, (byte)0x4a, (byte)0x9b,
55561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x5b, (byte)0xba, (byte)0x01, (byte)0xc0,
56561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xcd, (byte)0x65, (byte)0x09, (byte)0x63,
57561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x70, (byte)0x0b, (byte)0x5a, (byte)0x1b,
58561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x92, (byte)0x08, (byte)0xf8, (byte)0x55,
59561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x5e, (byte)0x7c, (byte)0x1b, (byte)0x50,
60561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x17, (byte)0xec, (byte)0x44, (byte)0x4c,
61561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x58, (byte)0x42, (byte)0x2b, (byte)0x41,
62561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x09, (byte)0x59, (byte)0xf2, (byte)0xe1,
63561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x5d, (byte)0x43, (byte)0x71, (byte)0x4d,
64561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x92, (byte)0x03, (byte)0x1d, (byte)0xb6,
65561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x6c, (byte)0x7f, (byte)0x5d, (byte)0x48,
66561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xcd, (byte)0x17, (byte)0xec, (byte)0xd7,
67561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x4c, (byte)0x39, (byte)0xb1, (byte)0x7b,
68561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xe2, (byte)0xbf, (byte)0x96, (byte)0x77,
69561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xbe, (byte)0xd0, (byte)0xa0, (byte)0xf0,
70561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x2d, (byte)0x6b, (byte)0x24, (byte)0xaa,
71561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x14, (byte)0xba, (byte)0x82, (byte)0x79,
72561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x10, (byte)0x9b, (byte)0x16, (byte)0x68,
73561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x47, (byte)0x81, (byte)0x54, (byte)0xa2,
74561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xfa, (byte)0x91, (byte)0x9e, (byte)0x0a,
75561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x2a, (byte)0x53, (byte)0xa6, (byte)0xe7,
76561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x9e, (byte)0x7d, (byte)0x29, (byte)0x33,
77561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xd8, (byte)0x05, (byte)0xfc, (byte)0x02,
78561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x3f, (byte)0xbd, (byte)0xc7, (byte)0x6e,
79561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xed, (byte)0xaa, (byte)0x30, (byte)0x6c,
80561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x5f, (byte)0x52, (byte)0xed, (byte)0x35,
81561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x65, (byte)0x4b, (byte)0x0e, (byte)0xc8,
82561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xa7, (byte)0x12, (byte)0x10, (byte)0x56,
83561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x37, (byte)0xaf, (byte)0x11, (byte)0xfa,
84561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x21, (byte)0x0e, (byte)0x99, (byte)0xff,
85561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xfa, (byte)0x8c, (byte)0x65, (byte)0x8e,
86561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x6d, (byte)0x02, (byte)0x03, (byte)0x01,
87561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x00, (byte)0x01, (byte)0x02, (byte)0x81,
88561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x80, (byte)0x78, (byte)0x41, (byte)0x72,
89561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x40, (byte)0x90, (byte)0x59, (byte)0x96,
90561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x5d, (byte)0xf3, (byte)0x84, (byte)0x3d,
91561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x99, (byte)0xd9, (byte)0x4e, (byte)0x51,
92561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xc2, (byte)0x52, (byte)0x62, (byte)0x8d,
93561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xd2, (byte)0x49, (byte)0x0b, (byte)0x73,
94561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x1e, (byte)0x6f, (byte)0xb2, (byte)0x31,
95561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x7c, (byte)0x66, (byte)0x45, (byte)0x1e,
96561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x7c, (byte)0xdc, (byte)0x3a, (byte)0xc2,
97561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x5f, (byte)0x51, (byte)0x9a, (byte)0x1e,
98561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xa4, (byte)0x19, (byte)0x8d, (byte)0xf4,
99561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xf9, (byte)0x81, (byte)0x7e, (byte)0xbe,
100561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x17, (byte)0xf7, (byte)0xc7, (byte)0x3c,
101561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x00, (byte)0xa1, (byte)0xf9, (byte)0x60,
102561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x82, (byte)0x34, (byte)0x8f, (byte)0x9c,
103561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xfd, (byte)0x0b, (byte)0x63, (byte)0x42,
104561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x1b, (byte)0x7f, (byte)0x45, (byte)0xf1,
105561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x31, (byte)0xc3, (byte)0x63, (byte)0x47,
106561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x5c, (byte)0xc1, (byte)0xb2, (byte)0x5f,
107561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x57, (byte)0xee, (byte)0x02, (byte)0x9f,
108561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x5e, (byte)0x08, (byte)0x48, (byte)0xba,
109561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x74, (byte)0xba, (byte)0x81, (byte)0xb7,
110561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x30, (byte)0xac, (byte)0x4c, (byte)0x01,
111561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x35, (byte)0xce, (byte)0x46, (byte)0x47,
112561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x8c, (byte)0xe4, (byte)0x62, (byte)0x36,
113561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x1a, (byte)0x65, (byte)0x0e, (byte)0x33,
114561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x56, (byte)0xf9, (byte)0xb7, (byte)0xa0,
115561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xc4, (byte)0xb6, (byte)0x82, (byte)0x55,
116561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x7d, (byte)0x36, (byte)0x55, (byte)0xc0,
117561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x52, (byte)0x5e, (byte)0x35, (byte)0x54,
118561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xbd, (byte)0x97, (byte)0x01, (byte)0x00,
119561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xbf, (byte)0x10, (byte)0xdc, (byte)0x1b,
120561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x51, (byte)0x02, (byte)0x41, (byte)0x00,
121561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xe7, (byte)0x68, (byte)0x03, (byte)0x3e,
122561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x21, (byte)0x64, (byte)0x68, (byte)0x24,
123561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x7b, (byte)0xd0, (byte)0x31, (byte)0xa0,
124561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xa2, (byte)0xd9, (byte)0x87, (byte)0x6d,
125561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x79, (byte)0x81, (byte)0x8f, (byte)0x8f,
126561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x2d, (byte)0x7a, (byte)0x95, (byte)0x2e,
127561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x55, (byte)0x9f, (byte)0xd7, (byte)0x86,
128561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x29, (byte)0x93, (byte)0xbd, (byte)0x04,
129561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x7e, (byte)0x4f, (byte)0xdb, (byte)0x56,
130561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xf1, (byte)0x75, (byte)0xd0, (byte)0x4b,
131561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x00, (byte)0x3a, (byte)0xe0, (byte)0x26,
132561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xf6, (byte)0xab, (byte)0x9e, (byte)0x0b,
133561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x2a, (byte)0xf4, (byte)0xa8, (byte)0xd7,
134561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xff, (byte)0xbe, (byte)0x01, (byte)0xeb,
135561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x9b, (byte)0x81, (byte)0xc7, (byte)0x5f,
136561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x02, (byte)0x73, (byte)0xe1, (byte)0x2b,
137561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x02, (byte)0x41, (byte)0x00, (byte)0xc5,
138561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x3d, (byte)0x78, (byte)0xab, (byte)0xe6,
139561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xab, (byte)0x3e, (byte)0x29, (byte)0xfd,
140561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x98, (byte)0xd0, (byte)0xa4, (byte)0x3e,
141561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x58, (byte)0xee, (byte)0x48, (byte)0x45,
142561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xa3, (byte)0x66, (byte)0xac, (byte)0xe9,
143561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x4d, (byte)0xbd, (byte)0x60, (byte)0xea,
144561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x24, (byte)0xff, (byte)0xed, (byte)0x0c,
145561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x67, (byte)0xc5, (byte)0xfd, (byte)0x36,
146561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x28, (byte)0xea, (byte)0x74, (byte)0x88,
147561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xd1, (byte)0xd1, (byte)0xad, (byte)0x58,
148561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xd7, (byte)0xf0, (byte)0x67, (byte)0x20,
149561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xc1, (byte)0xe3, (byte)0xb3, (byte)0xdb,
150561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x52, (byte)0xad, (byte)0xf3, (byte)0xc4,
151561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x21, (byte)0xd8, (byte)0x8c, (byte)0x4c,
152561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x41, (byte)0x27, (byte)0xdb, (byte)0xd0,
153561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x35, (byte)0x92, (byte)0xc7, (byte)0x02,
154561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x41, (byte)0x00, (byte)0xe0, (byte)0x99,
155561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x42, (byte)0xb4, (byte)0x76, (byte)0x02,
156561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x97, (byte)0x55, (byte)0xf9, (byte)0xda,
157561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x3b, (byte)0xa0, (byte)0xd7, (byte)0x0e,
158561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xdc, (byte)0xf4, (byte)0x33, (byte)0x7f,
159561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xbd, (byte)0xcf, (byte)0xd0, (byte)0xeb,
160561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x6e, (byte)0x89, (byte)0xf7, (byte)0x4f,
161561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x5a, (byte)0x07, (byte)0x7c, (byte)0xa9,
162561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x49, (byte)0x47, (byte)0x68, (byte)0x35,
163561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xa8, (byte)0x05, (byte)0x3d, (byte)0xfd,
164561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x04, (byte)0x7b, (byte)0x17, (byte)0x31,
165561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x0d, (byte)0xc8, (byte)0xa3, (byte)0x98,
166561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x34, (byte)0xa0, (byte)0x50, (byte)0x44,
167561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x00, (byte)0xf1, (byte)0x0c, (byte)0xe6,
168561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xe5, (byte)0xc4, (byte)0x41, (byte)0x3d,
169561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xf8, (byte)0x3d, (byte)0x4e, (byte)0x0b,
170561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x1c, (byte)0xdb, (byte)0x02, (byte)0x41,
171561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x00, (byte)0x82, (byte)0x9b, (byte)0x8a,
172561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xfd, (byte)0xa1, (byte)0x98, (byte)0x41,
173561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x68, (byte)0xc2, (byte)0xd1, (byte)0xdf,
174561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x4e, (byte)0xf3, (byte)0x2e, (byte)0x26,
175561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x53, (byte)0x5b, (byte)0x31, (byte)0xb1,
176561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x7a, (byte)0xcc, (byte)0x5e, (byte)0xbb,
177561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x09, (byte)0xa2, (byte)0xe2, (byte)0x6f,
178561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x4a, (byte)0x04, (byte)0x0d, (byte)0xef,
179561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x90, (byte)0x15, (byte)0xbe, (byte)0x10,
180561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x4a, (byte)0xac, (byte)0x92, (byte)0xeb,
181561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xda, (byte)0x72, (byte)0xdb, (byte)0x43,
182561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x08, (byte)0xb7, (byte)0x2b, (byte)0x4c,
183561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xe1, (byte)0xbb, (byte)0x58, (byte)0xcb,
184561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x71, (byte)0x80, (byte)0xad, (byte)0xbc,
185561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xdc, (byte)0x62, (byte)0x5e, (byte)0x3e,
186561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xcb, (byte)0x92, (byte)0xda, (byte)0xf6,
187561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xdf, (byte)0x02, (byte)0x40, (byte)0x4d,
188561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x81, (byte)0x90, (byte)0xc5, (byte)0x77,
189561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x30, (byte)0xb7, (byte)0x29, (byte)0x00,
190561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xa8, (byte)0xf1, (byte)0xb4, (byte)0xae,
191561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x52, (byte)0x63, (byte)0x00, (byte)0xb2,
192561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x2d, (byte)0x3e, (byte)0x7d, (byte)0xd6,
193561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x4d, (byte)0xf9, (byte)0x8a, (byte)0xc1,
194561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xb1, (byte)0x98, (byte)0x89, (byte)0x52,
195561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x40, (byte)0x14, (byte)0x1b, (byte)0x0e,
196561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x61, (byte)0x8f, (byte)0xf4, (byte)0xbe,
197561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x59, (byte)0x79, (byte)0x79, (byte)0x95,
198561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x19, (byte)0x5c, (byte)0x51, (byte)0x08,
199561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x66, (byte)0xc1, (byte)0x42, (byte)0x30,
200561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xb3, (byte)0x7a, (byte)0x86, (byte)0x9f,
201561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x3e, (byte)0xf5, (byte)0x19, (byte)0xa3,
202561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xae, (byte)0x64, (byte)0x69, (byte)0x14,
203561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x07, (byte)0x50, (byte)0x97
204561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes        });
205561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes        publicKeyEncoding.put("RSA", new byte[] {
206561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x30, (byte)0x81, (byte)0x9f, (byte)0x30,
207561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x0d, (byte)0x06, (byte)0x09, (byte)0x2a,
208561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x86, (byte)0x48, (byte)0x86, (byte)0xf7,
209561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x0d, (byte)0x01, (byte)0x01, (byte)0x01,
210561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x05, (byte)0x00, (byte)0x03, (byte)0x81,
211561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x8d, (byte)0x00, (byte)0x30, (byte)0x81,
212561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x89, (byte)0x02, (byte)0x81, (byte)0x81,
213561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x00, (byte)0xb2, (byte)0x4a, (byte)0x9b,
214561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x5b, (byte)0xba, (byte)0x01, (byte)0xc0,
215561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xcd, (byte)0x65, (byte)0x09, (byte)0x63,
216561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x70, (byte)0x0b, (byte)0x5a, (byte)0x1b,
217561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x92, (byte)0x08, (byte)0xf8, (byte)0x55,
218561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x5e, (byte)0x7c, (byte)0x1b, (byte)0x50,
219561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x17, (byte)0xec, (byte)0x44, (byte)0x4c,
220561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x58, (byte)0x42, (byte)0x2b, (byte)0x41,
221561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x09, (byte)0x59, (byte)0xf2, (byte)0xe1,
222561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x5d, (byte)0x43, (byte)0x71, (byte)0x4d,
223561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x92, (byte)0x03, (byte)0x1d, (byte)0xb6,
224561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x6c, (byte)0x7f, (byte)0x5d, (byte)0x48,
225561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xcd, (byte)0x17, (byte)0xec, (byte)0xd7,
226561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x4c, (byte)0x39, (byte)0xb1, (byte)0x7b,
227561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xe2, (byte)0xbf, (byte)0x96, (byte)0x77,
228561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xbe, (byte)0xd0, (byte)0xa0, (byte)0xf0,
229561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x2d, (byte)0x6b, (byte)0x24, (byte)0xaa,
230561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x14, (byte)0xba, (byte)0x82, (byte)0x79,
231561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x10, (byte)0x9b, (byte)0x16, (byte)0x68,
232561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x47, (byte)0x81, (byte)0x54, (byte)0xa2,
233561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xfa, (byte)0x91, (byte)0x9e, (byte)0x0a,
234561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x2a, (byte)0x53, (byte)0xa6, (byte)0xe7,
235561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x9e, (byte)0x7d, (byte)0x29, (byte)0x33,
236561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xd8, (byte)0x05, (byte)0xfc, (byte)0x02,
237561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x3f, (byte)0xbd, (byte)0xc7, (byte)0x6e,
238561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xed, (byte)0xaa, (byte)0x30, (byte)0x6c,
239561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x5f, (byte)0x52, (byte)0xed, (byte)0x35,
240561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x65, (byte)0x4b, (byte)0x0e, (byte)0xc8,
241561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xa7, (byte)0x12, (byte)0x10, (byte)0x56,
242561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x37, (byte)0xaf, (byte)0x11, (byte)0xfa,
243561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x21, (byte)0x0e, (byte)0x99, (byte)0xff,
244561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xfa, (byte)0x8c, (byte)0x65, (byte)0x8e,
245561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x6d, (byte)0x02, (byte)0x03, (byte)0x01,
246561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x00, (byte)0x01
247561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes        });
248561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes        privateKeyEncoding.put("DSA", new byte[] {
249561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x30, (byte)0x82, (byte)0x01, (byte)0x4a,
250561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x02, (byte)0x01, (byte)0x00, (byte)0x30,
251561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x82, (byte)0x01, (byte)0x2b, (byte)0x06,
252561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x07, (byte)0x2a, (byte)0x86, (byte)0x48,
253561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xce, (byte)0x38, (byte)0x04, (byte)0x01,
254561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x30, (byte)0x82, (byte)0x01, (byte)0x1e,
255561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x02, (byte)0x81, (byte)0x81, (byte)0x00,
256561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xca, (byte)0x84, (byte)0x1d, (byte)0xa3,
257561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xab, (byte)0xb9, (byte)0x98, (byte)0xf4,
258561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x61, (byte)0x8b, (byte)0x66, (byte)0xdb,
259561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x4e, (byte)0x3a, (byte)0xb2, (byte)0x11,
260561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x4e, (byte)0xa9, (byte)0xda, (byte)0x35,
261561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x91, (byte)0xc9, (byte)0x4e, (byte)0xc3,
262561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x16, (byte)0xa7, (byte)0xed, (byte)0xb8,
263561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x8f, (byte)0xd7, (byte)0xea, (byte)0xea,
264561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xdb, (byte)0x77, (byte)0xe1, (byte)0x77,
265561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x7a, (byte)0xc9, (byte)0xf3, (byte)0x37,
266561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x33, (byte)0x01, (byte)0x72, (byte)0xbc,
267561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xd0, (byte)0x89, (byte)0x9b, (byte)0x18,
268561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xfd, (byte)0x84, (byte)0xd6, (byte)0xe9,
269561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xbf, (byte)0x13, (byte)0x35, (byte)0x5e,
270561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x40, (byte)0xf6, (byte)0x9d, (byte)0xd9,
271561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x1a, (byte)0xba, (byte)0xa9, (byte)0xc3,
272561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x8c, (byte)0xe3, (byte)0x95, (byte)0xc8,
273561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xdf, (byte)0x2e, (byte)0x41, (byte)0xa1,
274561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xbf, (byte)0xde, (byte)0x5d, (byte)0xad,
275561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x21, (byte)0xcc, (byte)0x0d, (byte)0x42,
276561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x56, (byte)0xa0, (byte)0x32, (byte)0xc0,
277561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x90, (byte)0x73, (byte)0x3e, (byte)0xa4,
278561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x0e, (byte)0x58, (byte)0xe4, (byte)0x64,
279561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x00, (byte)0xa3, (byte)0x27, (byte)0x49,
280561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x56, (byte)0xb2, (byte)0x43, (byte)0xbc,
281561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x72, (byte)0xa8, (byte)0xd2, (byte)0x26,
282561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x89, (byte)0x35, (byte)0x37, (byte)0x29,
283561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x8d, (byte)0x21, (byte)0xb5, (byte)0x8e,
284561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x59, (byte)0xfa, (byte)0x9e, (byte)0xdf,
285561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x37, (byte)0x0d, (byte)0x9e, (byte)0xab,
286561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xfd, (byte)0xbf, (byte)0x1a, (byte)0x9e,
287561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xf3, (byte)0xe8, (byte)0x3a, (byte)0xfb,
288561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x02, (byte)0x15, (byte)0x00, (byte)0xa2,
289561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x4e, (byte)0x5d, (byte)0xe3, (byte)0x10,
290561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x5d, (byte)0xa9, (byte)0x3a, (byte)0x6a,
291561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x4d, (byte)0x07, (byte)0x3b, (byte)0xab,
292561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xca, (byte)0x7d, (byte)0x09, (byte)0xd6,
293561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x06, (byte)0x79, (byte)0x49, (byte)0x02,
294561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x81, (byte)0x80, (byte)0x5a, (byte)0x91,
295561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x83, (byte)0x1c, (byte)0x04, (byte)0x33,
296561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xca, (byte)0x25, (byte)0xb0, (byte)0x68,
297561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xb3, (byte)0xb3, (byte)0xab, (byte)0x55,
298561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x29, (byte)0x33, (byte)0x4d, (byte)0xa9,
299561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x33, (byte)0x39, (byte)0xef, (byte)0x71,
300561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xca, (byte)0x95, (byte)0xf3, (byte)0xd8,
301561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x27, (byte)0x56, (byte)0x5f, (byte)0x42,
302561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xda, (byte)0x36, (byte)0x83, (byte)0xc5,
303561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xf1, (byte)0x53, (byte)0x62, (byte)0xa5,
304561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xdc, (byte)0xe6, (byte)0x4e, (byte)0x69,
305561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x45, (byte)0x71, (byte)0x1a, (byte)0x4a,
306561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xc3, (byte)0xf4, (byte)0x7f, (byte)0x0a,
307561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xd1, (byte)0x78, (byte)0xed, (byte)0xbe,
308561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x6e, (byte)0xa6, (byte)0x36, (byte)0x34,
309561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x4e, (byte)0xc3, (byte)0x1b, (byte)0x17,
310561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xaa, (byte)0xa4, (byte)0x76, (byte)0x44,
311561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x46, (byte)0xaf, (byte)0x26, (byte)0x16,
312561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x14, (byte)0xfb, (byte)0x9f, (byte)0x5d,
313561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x08, (byte)0xaf, (byte)0x92, (byte)0xdb,
314561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xba, (byte)0xd0, (byte)0xcb, (byte)0x8b,
315561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x1e, (byte)0xc3, (byte)0x8b, (byte)0x36,
316561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x3b, (byte)0x4c, (byte)0x02, (byte)0xc3,
317561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x66, (byte)0x28, (byte)0x69, (byte)0xd0,
318561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x74, (byte)0x4f, (byte)0x1c, (byte)0x4f,
319561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x97, (byte)0x75, (byte)0x7f, (byte)0x9e,
320561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x89, (byte)0x80, (byte)0xcf, (byte)0xb2,
321561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x17, (byte)0xd6, (byte)0x66, (byte)0x91,
322561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x12, (byte)0x3a, (byte)0xb0, (byte)0x3c,
323561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x3c, (byte)0xc2, (byte)0x31, (byte)0xd1,
324561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x31, (byte)0x2a, (byte)0x35, (byte)0xbe,
325561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x9d, (byte)0x54, (byte)0x71, (byte)0x03,
326561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xcb, (byte)0xcc, (byte)0x04, (byte)0x16,
327561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x02, (byte)0x14, (byte)0x52, (byte)0xfb,
328561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xf9, (byte)0x12, (byte)0x40, (byte)0x05,
329561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x59, (byte)0x8f, (byte)0xde, (byte)0x9d,
330561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xac, (byte)0xa1, (byte)0xe2, (byte)0xed,
331561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x56, (byte)0x62, (byte)0x5f, (byte)0x56,
332561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x67, (byte)0x74
333561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes        });
334561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes        publicKeyEncoding.put("DSA", new byte[] {
335561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x30, (byte)0x82, (byte)0x01, (byte)0xb7,
336561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x30, (byte)0x82, (byte)0x01, (byte)0x2b,
337561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x06, (byte)0x07, (byte)0x2a, (byte)0x86,
338561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x48, (byte)0xce, (byte)0x38, (byte)0x04,
339561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x01, (byte)0x30, (byte)0x82, (byte)0x01,
340561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x1e, (byte)0x02, (byte)0x81, (byte)0x81,
341561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x00, (byte)0xca, (byte)0x84, (byte)0x1d,
342561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xa3, (byte)0xab, (byte)0xb9, (byte)0x98,
343561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xf4, (byte)0x61, (byte)0x8b, (byte)0x66,
344561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xdb, (byte)0x4e, (byte)0x3a, (byte)0xb2,
345561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x11, (byte)0x4e, (byte)0xa9, (byte)0xda,
346561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x35, (byte)0x91, (byte)0xc9, (byte)0x4e,
347561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xc3, (byte)0x16, (byte)0xa7, (byte)0xed,
348561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xb8, (byte)0x8f, (byte)0xd7, (byte)0xea,
349561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xea, (byte)0xdb, (byte)0x77, (byte)0xe1,
350561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x77, (byte)0x7a, (byte)0xc9, (byte)0xf3,
351561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x37, (byte)0x33, (byte)0x01, (byte)0x72,
352561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xbc, (byte)0xd0, (byte)0x89, (byte)0x9b,
353561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x18, (byte)0xfd, (byte)0x84, (byte)0xd6,
354561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xe9, (byte)0xbf, (byte)0x13, (byte)0x35,
355561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x5e, (byte)0x40, (byte)0xf6, (byte)0x9d,
356561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xd9, (byte)0x1a, (byte)0xba, (byte)0xa9,
357561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xc3, (byte)0x8c, (byte)0xe3, (byte)0x95,
358561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xc8, (byte)0xdf, (byte)0x2e, (byte)0x41,
359561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xa1, (byte)0xbf, (byte)0xde, (byte)0x5d,
360561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xad, (byte)0x21, (byte)0xcc, (byte)0x0d,
361561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x42, (byte)0x56, (byte)0xa0, (byte)0x32,
362561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xc0, (byte)0x90, (byte)0x73, (byte)0x3e,
363561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xa4, (byte)0x0e, (byte)0x58, (byte)0xe4,
364561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x64, (byte)0x00, (byte)0xa3, (byte)0x27,
365561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x49, (byte)0x56, (byte)0xb2, (byte)0x43,
366561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xbc, (byte)0x72, (byte)0xa8, (byte)0xd2,
367561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x26, (byte)0x89, (byte)0x35, (byte)0x37,
368561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x29, (byte)0x8d, (byte)0x21, (byte)0xb5,
369561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x8e, (byte)0x59, (byte)0xfa, (byte)0x9e,
370561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xdf, (byte)0x37, (byte)0x0d, (byte)0x9e,
371561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xab, (byte)0xfd, (byte)0xbf, (byte)0x1a,
372561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x9e, (byte)0xf3, (byte)0xe8, (byte)0x3a,
373561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xfb, (byte)0x02, (byte)0x15, (byte)0x00,
374561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xa2, (byte)0x4e, (byte)0x5d, (byte)0xe3,
375561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x10, (byte)0x5d, (byte)0xa9, (byte)0x3a,
376561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x6a, (byte)0x4d, (byte)0x07, (byte)0x3b,
377561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xab, (byte)0xca, (byte)0x7d, (byte)0x09,
378561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xd6, (byte)0x06, (byte)0x79, (byte)0x49,
379561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x02, (byte)0x81, (byte)0x80, (byte)0x5a,
380561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x91, (byte)0x83, (byte)0x1c, (byte)0x04,
381561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x33, (byte)0xca, (byte)0x25, (byte)0xb0,
382561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x68, (byte)0xb3, (byte)0xb3, (byte)0xab,
383561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x55, (byte)0x29, (byte)0x33, (byte)0x4d,
384561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xa9, (byte)0x33, (byte)0x39, (byte)0xef,
385561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x71, (byte)0xca, (byte)0x95, (byte)0xf3,
386561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xd8, (byte)0x27, (byte)0x56, (byte)0x5f,
387561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x42, (byte)0xda, (byte)0x36, (byte)0x83,
388561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xc5, (byte)0xf1, (byte)0x53, (byte)0x62,
389561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xa5, (byte)0xdc, (byte)0xe6, (byte)0x4e,
390561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x69, (byte)0x45, (byte)0x71, (byte)0x1a,
391561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x4a, (byte)0xc3, (byte)0xf4, (byte)0x7f,
392561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x0a, (byte)0xd1, (byte)0x78, (byte)0xed,
393561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xbe, (byte)0x6e, (byte)0xa6, (byte)0x36,
394561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x34, (byte)0x4e, (byte)0xc3, (byte)0x1b,
395561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x17, (byte)0xaa, (byte)0xa4, (byte)0x76,
396561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x44, (byte)0x46, (byte)0xaf, (byte)0x26,
397561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x16, (byte)0x14, (byte)0xfb, (byte)0x9f,
398561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x5d, (byte)0x08, (byte)0xaf, (byte)0x92,
399561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xdb, (byte)0xba, (byte)0xd0, (byte)0xcb,
400561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x8b, (byte)0x1e, (byte)0xc3, (byte)0x8b,
401561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x36, (byte)0x3b, (byte)0x4c, (byte)0x02,
402561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xc3, (byte)0x66, (byte)0x28, (byte)0x69,
403561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xd0, (byte)0x74, (byte)0x4f, (byte)0x1c,
404561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x4f, (byte)0x97, (byte)0x75, (byte)0x7f,
405561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x9e, (byte)0x89, (byte)0x80, (byte)0xcf,
406561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xb2, (byte)0x17, (byte)0xd6, (byte)0x66,
407561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x91, (byte)0x12, (byte)0x3a, (byte)0xb0,
408561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x3c, (byte)0x3c, (byte)0xc2, (byte)0x31,
409561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xd1, (byte)0x31, (byte)0x2a, (byte)0x35,
410561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xbe, (byte)0x9d, (byte)0x54, (byte)0x71,
411561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x03, (byte)0xcb, (byte)0xcc, (byte)0x03,
412561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x81, (byte)0x85, (byte)0x00, (byte)0x02,
413561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x81, (byte)0x81, (byte)0x00, (byte)0x95,
414561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xcc, (byte)0x11, (byte)0xd4, (byte)0x53,
415561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x3d, (byte)0x9c, (byte)0x5c, (byte)0x73,
416561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xf4, (byte)0x70, (byte)0xf0, (byte)0xe1,
417561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xac, (byte)0xe3, (byte)0x2c, (byte)0x32,
418561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x16, (byte)0x1d, (byte)0x34, (byte)0x1a,
419561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x38, (byte)0x63, (byte)0x69, (byte)0x1a,
420561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x72, (byte)0x39, (byte)0x4e, (byte)0x41,
421561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x50, (byte)0xfa, (byte)0xdc, (byte)0x78,
422561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xa4, (byte)0xb8, (byte)0x17, (byte)0x5a,
423561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xe4, (byte)0xf9, (byte)0xa2, (byte)0x52,
424561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x41, (byte)0x85, (byte)0xab, (byte)0x3f,
425561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xf4, (byte)0x73, (byte)0x2e, (byte)0xae,
426561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xa9, (byte)0x21, (byte)0x8b, (byte)0x5e,
427561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x95, (byte)0x15, (byte)0xa2, (byte)0x86,
428561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x63, (byte)0x0d, (byte)0xba, (byte)0x01,
429561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xcb, (byte)0xe3, (byte)0x68, (byte)0xc6,
430561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xaf, (byte)0x56, (byte)0x51, (byte)0x7b,
431561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xa8, (byte)0x85, (byte)0x3f, (byte)0x01,
432561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x80, (byte)0x8b, (byte)0x1f, (byte)0xb4,
433561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x4c, (byte)0x93, (byte)0x6b, (byte)0x42,
434561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xa6, (byte)0xbd, (byte)0x67, (byte)0x2a,
435561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x95, (byte)0x05, (byte)0xff, (byte)0x03,
436561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x2e, (byte)0x6f, (byte)0xd4, (byte)0xd3,
437561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xf0, (byte)0x17, (byte)0xde, (byte)0xcb,
438561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x7d, (byte)0xd9, (byte)0x42, (byte)0x4d,
439561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x97, (byte)0x2c, (byte)0x53, (byte)0xe6,
440561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x39, (byte)0x61, (byte)0xd2, (byte)0x69,
441561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0xd1, (byte)0x1c, (byte)0x9a, (byte)0x8b,
442561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x5b, (byte)0x9c, (byte)0xfa, (byte)0xfa,
443561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x50, (byte)0x50, (byte)0xbb, (byte)0xe4,
444561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x2e, (byte)0x83, (byte)0x06, (byte)0x08,
445561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte)0x96, (byte)0x2a, (byte)0x68
446561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes        });
447561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes        privateKeyEncoding.put("DH", new byte[] {
448561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x30, (byte) 0xffffff81, (byte) 0xffffffe1, (byte) 0x2,
449561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x1, (byte) 0x0, (byte) 0x30, (byte) 0xffffff81,
450561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffff97, (byte) 0x6, (byte) 0x9, (byte) 0x2a,
451561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffff86, (byte) 0x48, (byte) 0xffffff86,
452561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xfffffff7, (byte) 0xd, (byte) 0x1, (byte) 0x3,
453561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x1, (byte) 0x30, (byte) 0xffffff81, (byte) 0xffffff89,
454561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x2, (byte) 0x41, (byte) 0x0, (byte) 0xfffffff0,
455561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffaa, (byte) 0x22, (byte) 0x5a, (byte) 0x29,
456561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffb2, (byte) 0x3f, (byte) 0xffffffc9, (byte) 0xb,
457561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffff87, (byte) 0x5d, (byte) 0xffffff91, (byte) 0x51,
458561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x1, (byte) 0xffffffa4, (byte) 0xffffffb9, (byte) 0x4e,
459561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x1e, (byte) 0xffffff85, (byte) 0xfffffffc,
460561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffa6, (byte) 0x5a, (byte) 0xffffff96,
461561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffb1, (byte) 0xffffffcb, (byte) 0xffffff81,
462561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffa3, (byte) 0x6e, (byte) 0xffffff90,
463561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffbd, (byte) 0xffffffa2, (byte) 0xe,
464561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffb4, (byte) 0xffffffba, (byte) 0x2c, (byte) 0x45,
465561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x9, (byte) 0x1c, (byte) 0xffffff98, (byte) 0x39,
466561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x26, (byte) 0x24, (byte) 0x40, (byte) 0xffffff80,
467561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffce, (byte) 0x15, (byte) 0xffffff8b,
468561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffe1, (byte) 0x67, (byte) 0x48, (byte) 0xfffffff3,
469561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x70, (byte) 0xffffff98, (byte) 0xffffffca,
470561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffa7, (byte) 0x71, (byte) 0x33, (byte) 0xffffffb6,
471561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x4, (byte) 0x13, (byte) 0xffffffe5, (byte) 0x61,
472561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x3c, (byte) 0x1f, (byte) 0x2, (byte) 0x40, (byte) 0x1e,
473561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffd8, (byte) 0x6f, (byte) 0xffffffce, (byte) 0x23,
474561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x71, (byte) 0x6a, (byte) 0x2a, (byte) 0xffffffa3,
475561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x4d, (byte) 0x62, (byte) 0xffffffe9, (byte) 0x5f,
476561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x17, (byte) 0xffffffa8, (byte) 0xffffffe8,
477561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffaa, (byte) 0xffffff8a, (byte) 0xffffff95,
478561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x26, (byte) 0x7c, (byte) 0x38, (byte) 0xffffffa9,
479561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x2b, (byte) 0x48, (byte) 0x5a, (byte) 0x16,
480561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x19, (byte) 0xfffffffa, (byte) 0xffffff83,
481561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffb8, (byte) 0x76, (byte) 0xffffffaf,
482561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffb8, (byte) 0x62, (byte) 0x72, (byte) 0x45,
483561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffff9f, (byte) 0xffffff95, (byte) 0x1e, (byte) 0x62,
484561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x36, (byte) 0xffffff97, (byte) 0xffffffbf,
485561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffab, (byte) 0x20, (byte) 0xffffffb0, (byte) 0x61,
486561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffc5, (byte) 0x21, (byte) 0xffffff9e,
487561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffe4, (byte) 0xffffffde, (byte) 0xffffff91,
488561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x1c, (byte) 0x6a, (byte) 0x7, (byte) 0x48, (byte) 0x77,
489561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x70, (byte) 0x1d, (byte) 0xffffffff, (byte) 0x58,
490561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x23, (byte) 0x2, (byte) 0x2, (byte) 0x1,
491561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffff, (byte) 0x4, (byte) 0x42, (byte) 0x2,
492561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x40, (byte) 0x69, (byte) 0xffffff86, (byte) 0x48,
493561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x57, (byte) 0xffffffbf, (byte) 0xffffffde, (byte) 0x8,
494561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffc6, (byte) 0x24, (byte) 0x6d, (byte) 0xf,
495561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x20, (byte) 0xffffff94, (byte) 0x4a, (byte) 0x22,
496561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x6e, (byte) 0x24, (byte) 0x60, (byte) 0xffffffd9,
497561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffa9, (byte) 0xffffffbd, (byte) 0x1e, (byte) 0x64,
498561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffff89, (byte) 0xffffff83, (byte) 0x3c,
499561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffe7, (byte) 0x70, (byte) 0x24, (byte) 0xffffffe1,
500561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffff8f, (byte) 0x3c, (byte) 0x4d, (byte) 0x39,
501561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x5f, (byte) 0xffffff9e, (byte) 0xffffff93, (byte) 0x13,
502561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffff86, (byte) 0xffffffe9, (byte) 0xffffff80,
503561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xf, (byte) 0xffffffc4, (byte) 0x41, (byte) 0xffffff8b,
504561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xfffffff4, (byte) 0xffffff8b, (byte) 0x65,
505561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffa4, (byte) 0x1b, (byte) 0xd, (byte) 0x4,
506561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x48, (byte) 0x40, (byte) 0xffffffd6, (byte) 0xffffffa2,
507561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x0, (byte) 0xffffff85, (byte) 0xffffffe9,
508561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffc4, (byte) 0x77, (byte) 0xffffffb2, (byte) 0x25,
509561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffd8
510561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes        });
511561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes        publicKeyEncoding.put("DH", new byte[] {
512561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x30, (byte) 0xffffff81, (byte) 0xffffffe0, (byte) 0x30,
513561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffff81, (byte) 0xffffff97, (byte) 0x6, (byte) 0x9,
514561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x2a, (byte) 0xffffff86, (byte) 0x48, (byte) 0xffffff86,
515561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xfffffff7, (byte) 0xd, (byte) 0x1, (byte) 0x3,
516561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x1, (byte) 0x30, (byte) 0xffffff81, (byte) 0xffffff89,
517561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x2, (byte) 0x41, (byte) 0x0, (byte) 0xfffffff0,
518561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffaa, (byte) 0x22, (byte) 0x5a, (byte) 0x29,
519561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffb2, (byte) 0x3f, (byte) 0xffffffc9, (byte) 0xb,
520561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffff87, (byte) 0x5d, (byte) 0xffffff91, (byte) 0x51,
521561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x1, (byte) 0xffffffa4, (byte) 0xffffffb9, (byte) 0x4e,
522561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x1e, (byte) 0xffffff85, (byte) 0xfffffffc,
523561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffa6, (byte) 0x5a, (byte) 0xffffff96,
524561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffb1, (byte) 0xffffffcb, (byte) 0xffffff81,
525561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffa3, (byte) 0x6e, (byte) 0xffffff90,
526561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffbd, (byte) 0xffffffa2, (byte) 0xe,
527561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffb4, (byte) 0xffffffba, (byte) 0x2c, (byte) 0x45,
528561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x9, (byte) 0x1c, (byte) 0xffffff98, (byte) 0x39,
529561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x26, (byte) 0x24, (byte) 0x40, (byte) 0xffffff80,
530561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffce, (byte) 0x15, (byte) 0xffffff8b,
531561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffe1, (byte) 0x67, (byte) 0x48, (byte) 0xfffffff3,
532561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x70, (byte) 0xffffff98, (byte) 0xffffffca,
533561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffa7, (byte) 0x71, (byte) 0x33, (byte) 0xffffffb6,
534561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x4, (byte) 0x13, (byte) 0xffffffe5, (byte) 0x61,
535561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x3c, (byte) 0x1f, (byte) 0x2, (byte) 0x40, (byte) 0x1e,
536561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffd8, (byte) 0x6f, (byte) 0xffffffce, (byte) 0x23,
537561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x71, (byte) 0x6a, (byte) 0x2a, (byte) 0xffffffa3,
538561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x4d, (byte) 0x62, (byte) 0xffffffe9, (byte) 0x5f,
539561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x17, (byte) 0xffffffa8, (byte) 0xffffffe8,
540561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffaa, (byte) 0xffffff8a, (byte) 0xffffff95,
541561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x26, (byte) 0x7c, (byte) 0x38, (byte) 0xffffffa9,
542561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x2b, (byte) 0x48, (byte) 0x5a, (byte) 0x16,
543561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x19, (byte) 0xfffffffa, (byte) 0xffffff83,
544561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffb8, (byte) 0x76, (byte) 0xffffffaf,
545561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffb8, (byte) 0x62, (byte) 0x72, (byte) 0x45,
546561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffff9f, (byte) 0xffffff95, (byte) 0x1e, (byte) 0x62,
547561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x36, (byte) 0xffffff97, (byte) 0xffffffbf,
548561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffab, (byte) 0x20, (byte) 0xffffffb0, (byte) 0x61,
549561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffc5, (byte) 0x21, (byte) 0xffffff9e,
550561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffe4, (byte) 0xffffffde, (byte) 0xffffff91,
551561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x1c, (byte) 0x6a, (byte) 0x7, (byte) 0x48, (byte) 0x77,
552561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x70, (byte) 0x1d, (byte) 0xffffffff, (byte) 0x58,
553561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x23, (byte) 0x2, (byte) 0x2, (byte) 0x1,
554561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffff, (byte) 0x3, (byte) 0x44, (byte) 0x0,
555561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x2, (byte) 0x41, (byte) 0x0, (byte) 0xffffff9d,
556561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffc4, (byte) 0xffffffcd, (byte) 0x10,
557561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffdf, (byte) 0x66, (byte) 0xffffff92,
558561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffe1, (byte) 0x33, (byte) 0xffffffb1,
559561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffc9, (byte) 0xffffff9f, (byte) 0xffffffb7,
560561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffdd, (byte) 0xffffff84, (byte) 0x4b,
561561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffe5, (byte) 0xffffff86, (byte) 0xfffffff0,
562561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x53, (byte) 0x2a, (byte) 0xffffffd5, (byte) 0xffffffc6,
563561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x15, (byte) 0xffffff94, (byte) 0xffffffae, (byte) 0x13,
564561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x7b, (byte) 0xffffff9d, (byte) 0x37, (byte) 0xffffff8b,
565561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffc6, (byte) 0xffffffc6, (byte) 0x78,
566561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffff9c, (byte) 0x60, (byte) 0xffffff8a, (byte) 0x6f,
567561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x35, (byte) 0x39, (byte) 0xffffffe0, (byte) 0x78,
568561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x33, (byte) 0x60, (byte) 0xffffff89, (byte) 0x30,
569561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x61, (byte) 0xffffff84, (byte) 0xffffff8a,
570561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffffbc, (byte) 0xffffff80, (byte) 0x6c, (byte) 0x1c,
571561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x55, (byte) 0xffffff96, (byte) 0x50, (byte) 0xffffffb1,
572561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0xffffff96, (byte) 0x5, (byte) 0x21, (byte) 0x65,
573561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                (byte) 0x55, (byte) 0xffffffbb, (byte) 0xffffffa4
574561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes        });
575561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes    }
576561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes
577561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes    public TestKeyPair(String algorithmName) throws
578561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes            NoSuchAlgorithmException {
579561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes        this.algorithmName = algorithmName;
580561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes        if (!privateKeyEncoding.containsKey(this.algorithmName)) {
581561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes            throw new NoSuchAlgorithmException("Encoded form not available for " +
582561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                    this.algorithmName);
583561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes        }
584561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes        kf = KeyFactory.getInstance(this.algorithmName);
585561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes    }
586561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes
587561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes    public PublicKey getPublic() throws
588561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes            InvalidKeySpecException {
589561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes        return kf.generatePublic(
590561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                new X509EncodedKeySpec(
591561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                        (byte[])publicKeyEncoding.get(algorithmName)));
592561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes    }
593561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes
594561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes    public PrivateKey getPrivate() throws
595561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes            InvalidKeySpecException {
596561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes        return kf.generatePrivate(
597561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                new PKCS8EncodedKeySpec(
598561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes                        (byte[])privateKeyEncoding.get(algorithmName)));
599561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes    }
600561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes
601561ee011997c6c2f1befbfaa9d5f0a99771c1d63Elliott Hughes}
602