jdk/test/java/security/KeyFactory/GenerateRSAPrivateCrtKey.java
author jjg
Mon, 25 Nov 2013 17:42:28 -0800
changeset 21894 3535c1819067
parent 5506 202f599c92aa
permissions -rw-r--r--
8028318: [doclint] doclint will reject existing user-written doc comments using custom tags that follow the recommended rules Reviewed-by: darcy
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     2
 * Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
 * published by the Free Software Foundation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    21
 * questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
 * @test
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
 * @bug 4413634
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
 * @summary Make sure that RSA Private CRT Key factory generation using
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
 * java.security.spec.RSAPrivateCrtKeySpec passes
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
import java.math.BigInteger;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
import java.security.KeyFactory;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
import java.security.interfaces.RSAPrivateCrtKey;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
import java.security.spec.PKCS8EncodedKeySpec;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
import java.security.spec.RSAPrivateCrtKeySpec;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
import java.util.Arrays;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
public class GenerateRSAPrivateCrtKey {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
    public static void main(String[] args) throws Exception {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
        // Create an RSA Private Key from the CRT information
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
        RSAPrivateCrtKeySpec rsaCrtSpec =
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
            new RSAPrivateCrtKeySpec(new BigInteger(1, modulus),
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
                                     new BigInteger(1, pubExpo),
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
                                     new BigInteger(1, priExpo),
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
                                     new BigInteger(1, primeP),
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
                                     new BigInteger(1, primeQ),
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
                                     new BigInteger(1, expoP),
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
                                     new BigInteger(1, expoQ),
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
                                     new BigInteger(1, coeff));
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
        // Create an RSA private key from the CRT specification
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
        KeyFactory kf = KeyFactory.getInstance("RSA", "SunRsaSign");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
        RSAPrivateCrtKey rsaPriKey =
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
            (RSAPrivateCrtKey) kf.generatePrivate(rsaCrtSpec);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
        // test resulting key against original specification
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
        if (!rsaPriKey.getCrtCoefficient().equals(rsaCrtSpec.getCrtCoefficient()))
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
            throw new Exception("coefficients not equal");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
        if (!rsaPriKey.getPrimeExponentP().equals(rsaCrtSpec.getPrimeExponentP()))
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
            throw new Exception("primeExponentPs not equal");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
        if (!rsaPriKey.getPrimeExponentQ().equals(rsaCrtSpec.getPrimeExponentQ()))
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
            throw new Exception("primeExponentQs not equal");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
        if (!rsaPriKey.getPrimeP().equals(rsaCrtSpec.getPrimeP()))
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
            throw new Exception("primePs not equal");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
        if (!rsaPriKey.getPrimeQ().equals(rsaCrtSpec.getPrimeQ()))
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
            throw new Exception("primeQs not equal");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
        if (!rsaPriKey.getPublicExponent().equals(rsaCrtSpec.getPublicExponent()))
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
            throw new Exception("public exponents not equal");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
        if (!rsaPriKey.getPrivateExponent().equals(rsaCrtSpec.getPrivateExponent()))
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
            throw new Exception("private exponents not equal");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
        if (!rsaPriKey.getModulus().equals(rsaCrtSpec.getModulus()))
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
            throw new Exception("modulus not equal");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
        if (!rsaPriKey.getFormat().equals("PKCS#8") &&
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
            !rsaPriKey.getFormat().equals("PKCS8"))
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
            throw new Exception("format not PKCS#8");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
        if (!rsaPriKey.getAlgorithm().equals("RSA"))
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
            throw new Exception("algorithm not RSA");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
        if (rsaPriKey.getEncoded() == null)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
            throw new Exception("encoded key is null");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
        PKCS8EncodedKeySpec pkcs8Key =
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
            new PKCS8EncodedKeySpec(rsaPriKey.getEncoded());
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
        RSAPrivateCrtKey rsaPriKey2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
            = (RSAPrivateCrtKey) kf.generatePrivate(pkcs8Key);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
        if (!Arrays.equals(rsaPriKey.getEncoded(), rsaPriKey2.getEncoded()))
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
            throw new Exception("encoded keys not equal");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
    static byte[] modulus = {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
        (byte)0xab, (byte)0x38, (byte)0x39, (byte)0x40,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
        (byte)0x54, (byte)0x2c, (byte)0xac, (byte)0x9a,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
        (byte)0xc0, (byte)0x37, (byte)0x40, (byte)0xd0,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
        (byte)0x49, (byte)0x04, (byte)0xed, (byte)0x51,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
        (byte)0x0e, (byte)0x95, (byte)0x72, (byte)0x02,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
        (byte)0x51, (byte)0xc2, (byte)0xad, (byte)0x9d,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
        (byte)0xa7, (byte)0xeb, (byte)0xba, (byte)0x29,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
        (byte)0xae, (byte)0xd4, (byte)0x49, (byte)0x79,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
        (byte)0x53, (byte)0xfa, (byte)0xdf, (byte)0x01,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
        (byte)0x6c, (byte)0xbc, (byte)0x69, (byte)0x46,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
        (byte)0x4c, (byte)0x83, (byte)0x1b, (byte)0xd9,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
        (byte)0x3b, (byte)0x59, (byte)0x42, (byte)0x04,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
        (byte)0x99, (byte)0x0f, (byte)0x63, (byte)0x24,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
        (byte)0x75, (byte)0xa0, (byte)0xbe, (byte)0x6f,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
        (byte)0x92, (byte)0x4d, (byte)0x9d, (byte)0xa2,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
        (byte)0x40, (byte)0xda, (byte)0xf8, (byte)0x49
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
    };
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
    static byte[] pubExpo = {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
        (byte)0x01, (byte)0x00, (byte)0x01
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
    };
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
    static byte[] priExpo = {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
        (byte)0x4a, (byte)0xd2, (byte)0xe7, (byte)0x32,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
        (byte)0x15, (byte)0x96, (byte)0xf0, (byte)0x57,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
        (byte)0x30, (byte)0x68, (byte)0xf5, (byte)0x0a,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
        (byte)0x10, (byte)0xde, (byte)0xf6, (byte)0x56,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
        (byte)0xd5, (byte)0xe8, (byte)0xb9, (byte)0x4a,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
        (byte)0x0a, (byte)0x30, (byte)0xe9, (byte)0x6e,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
        (byte)0x5c, (byte)0x53, (byte)0xc7, (byte)0xa7,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
        (byte)0x2f, (byte)0x9f, (byte)0xd5, (byte)0xfb,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
        (byte)0x58, (byte)0x9b, (byte)0x1e, (byte)0x5b,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
        (byte)0xe8, (byte)0x6e, (byte)0xae, (byte)0x02,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
        (byte)0xaa, (byte)0x15, (byte)0x23, (byte)0x67,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
        (byte)0xaa, (byte)0x20, (byte)0x9e, (byte)0x82,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
        (byte)0x76, (byte)0x4c, (byte)0xad, (byte)0xe1,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
        (byte)0x95, (byte)0xde, (byte)0xe3, (byte)0x25,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
        (byte)0x66, (byte)0x2f, (byte)0xb0, (byte)0xab,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
        (byte)0x1c, (byte)0xe5, (byte)0xa0, (byte)0x01
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
    };
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
    static byte[] primeP = {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
        (byte)0xd1, (byte)0xeb, (byte)0x51, (byte)0xbd,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
        (byte)0x09, (byte)0x26, (byte)0x7e, (byte)0xe7,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
        (byte)0x12, (byte)0x8c, (byte)0xeb, (byte)0x5c,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
        (byte)0x32, (byte)0x18, (byte)0xd1, (byte)0x60,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
        (byte)0x0b, (byte)0x49, (byte)0x67, (byte)0x8f,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
        (byte)0x78, (byte)0x3c, (byte)0x58, (byte)0xc5,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
        (byte)0xb0, (byte)0x01, (byte)0x70, (byte)0xee,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
        (byte)0x1a, (byte)0xcf, (byte)0x6e, (byte)0xe1
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
    };
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
    static byte[] primeQ = {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
        (byte)0xd0, (byte)0xce, (byte)0x21, (byte)0x83,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
        (byte)0x41, (byte)0x73, (byte)0xf6, (byte)0x84,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
        (byte)0x32, (byte)0x06, (byte)0xa8, (byte)0xa6,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
        (byte)0xad, (byte)0x13, (byte)0x2b, (byte)0x65,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
        (byte)0x27, (byte)0x86, (byte)0x28, (byte)0xef,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
        (byte)0x0e, (byte)0x8c, (byte)0xca, (byte)0x4f,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
        (byte)0x20, (byte)0xc0, (byte)0x19, (byte)0x95,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
        (byte)0xfe, (byte)0x6c, (byte)0x3e, (byte)0x69
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
    };
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
    static byte[] expoP = {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
        (byte)0x1a, (byte)0x49, (byte)0x9c, (byte)0xb7,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
        (byte)0xce, (byte)0x80, (byte)0x8a, (byte)0x9d,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
        (byte)0xc7, (byte)0x3d, (byte)0xec, (byte)0x6f,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
        (byte)0x64, (byte)0x3a, (byte)0xa5, (byte)0x65,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
        (byte)0xa0, (byte)0xa4, (byte)0x35, (byte)0x9a,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
        (byte)0xca, (byte)0xd4, (byte)0xcb, (byte)0xcd,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
        (byte)0x1d, (byte)0xc8, (byte)0x60, (byte)0x6b,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
        (byte)0x00, (byte)0xe2, (byte)0x7f, (byte)0x21
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
    };
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
    static byte[] expoQ = {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
        (byte)0xa7, (byte)0x93, (byte)0xd7, (byte)0x77,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
        (byte)0x94, (byte)0xef, (byte)0x31, (byte)0x78,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
        (byte)0x55, (byte)0x01, (byte)0xdd, (byte)0x16,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
        (byte)0xaf, (byte)0xae, (byte)0xc3, (byte)0xd4,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
        (byte)0x12, (byte)0x0d, (byte)0x6d, (byte)0x0a,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
        (byte)0xb6, (byte)0xdd, (byte)0xad, (byte)0x7c,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
        (byte)0x25, (byte)0xe7, (byte)0xa6, (byte)0x61,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
        (byte)0x27, (byte)0xe8, (byte)0xcd, (byte)0x89
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
    };
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
    static byte[] coeff = {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
        (byte)0x0b, (byte)0xdb, (byte)0x90, (byte)0x7f,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
        (byte)0x33, (byte)0xc5, (byte)0x1f, (byte)0x5b,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
        (byte)0x4d, (byte)0xa4, (byte)0x86, (byte)0xda,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
        (byte)0x77, (byte)0xd4, (byte)0xb3, (byte)0x1d,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
        (byte)0xbc, (byte)0xc3, (byte)0xae, (byte)0x0b,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
        (byte)0xac, (byte)0x91, (byte)0xf3, (byte)0x38,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
        (byte)0x4a, (byte)0xcf, (byte)0x10, (byte)0xb1,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
        (byte)0x5e, (byte)0x5a, (byte)0xd1, (byte)0x86
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
    };
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
}