jdk/src/share/classes/sun/security/x509/PKIXExtensions.java
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 2 90ce3da70b43
child 2281 34fd38495efa
permissions -rw-r--r--
Initial load
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
 * Copyright 1997-2005 Sun Microsystems, Inc.  All Rights Reserved.
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.  Sun designates this
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
 * by Sun in the LICENSE file that accompanied this code.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
 * CA 95054 USA or visit www.sun.com if you need additional information or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
 * have any questions.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
package sun.security.x509;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
import java.io.*;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
import sun.security.util.*;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
/**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
 * Lists all the object identifiers of the X509 extensions of the PKIX profile.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
 * <p>Extensions are addiitonal attributes which can be inserted in a X509
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
 * v3 certificate. For example a "Driving License Certificate" could have
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
 * the driving license number as a extension.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
 * <p>Extensions are represented as a sequence of the extension identifier
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
 * (Object Identifier), a boolean flag stating whether the extension is to
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
 * be treated as being critical and the extension value itself (this is again
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
 * a DER encoding of the extension value).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
 * @see Extension
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
 * @author Amit Kapoor
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
 * @author Hemma Prafullchandra
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
public class PKIXExtensions {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
    // The object identifiers
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
    private static final int AuthorityKey_data [] = { 2, 5, 29, 35 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
    private static final int SubjectKey_data [] = { 2, 5, 29, 14 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
    private static final int KeyUsage_data [] = { 2, 5, 29, 15 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
    private static final int PrivateKeyUsage_data [] = { 2, 5, 29, 16 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
    private static final int CertificatePolicies_data [] = { 2, 5, 29, 32 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
    private static final int PolicyMappings_data [] = { 2, 5, 29, 33 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
    private static final int SubjectAlternativeName_data [] = { 2, 5, 29, 17 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
    private static final int IssuerAlternativeName_data [] = { 2, 5, 29, 18 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
    private static final int SubjectDirectoryAttributes_data [] = { 2, 5, 29, 9 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
    private static final int BasicConstraints_data [] = { 2, 5, 29, 19 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
    private static final int NameConstraints_data [] = { 2, 5, 29, 30 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
    private static final int PolicyConstraints_data [] = { 2, 5, 29, 36 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
    private static final int CRLDistributionPoints_data [] = { 2, 5, 29, 31 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
    private static final int CRLNumber_data [] = { 2, 5, 29, 20 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
    private static final int IssuingDistributionPoint_data [] = { 2, 5, 29, 28 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
    private static final int DeltaCRLIndicator_data [] = { 2, 5, 29, 27 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
    private static final int ReasonCode_data [] = { 2, 5, 29, 21 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
    private static final int HoldInstructionCode_data [] = { 2, 5, 29, 23 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
    private static final int InvalidityDate_data [] = { 2, 5, 29, 24 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
    private static final int ExtendedKeyUsage_data [] = { 2, 5, 29, 37 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
    private static final int InhibitAnyPolicy_data [] = { 2, 5, 29, 54 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
    private static final int CertificateIssuer_data [] = { 2, 5, 29, 29 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
    private static final int AuthInfoAccess_data [] = { 1, 3, 6, 1, 5, 5, 7, 1, 1};
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
    private static final int SubjectInfoAccess_data [] = { 1, 3, 6, 1, 5, 5, 7, 1, 11};
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
    private static final int FreshestCRL_data [] = { 2, 5, 29, 46 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
     * Identifies the particular public key used to sign the certificate.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
    public static final ObjectIdentifier AuthorityKey_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
     * Identifies the particular public key used in an application.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
    public static final ObjectIdentifier SubjectKey_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
     * Defines the purpose of the key contained in the certificate.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
    public static final ObjectIdentifier KeyUsage_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
     * Allows the certificate issuer to specify a different validity period
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
     * for the private key than the certificate.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
    public static final ObjectIdentifier PrivateKeyUsage_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
     * Contains the sequence of policy information terms.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
    public static final ObjectIdentifier CertificatePolicies_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
     * Lists pairs of objectidentifiers of policies considered equivalent by the
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
     * issuing CA to the subject CA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
    public static final ObjectIdentifier PolicyMappings_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
     * Allows additional identities to be bound to the subject of the certificate.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
    public static final ObjectIdentifier SubjectAlternativeName_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
     * Allows additional identities to be associated with the certificate issuer.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
    public static final ObjectIdentifier IssuerAlternativeName_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
     * Identifies additional directory attributes.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
     * This extension is always non-critical.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
    public static final ObjectIdentifier SubjectDirectoryAttributes_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
     * Identifies whether the subject of the certificate is a CA and how deep
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
     * a certification path may exist through that CA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
    public static final ObjectIdentifier BasicConstraints_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
     * Provides for permitted and excluded subtrees that place restrictions
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
     * on names that may be included within a certificate issued by a given CA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
    public static final ObjectIdentifier NameConstraints_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
     * Used to either prohibit policy mapping or limit the set of policies
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
     * that can be in subsequent certificates.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
    public static final ObjectIdentifier PolicyConstraints_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
     * Identifies how CRL information is obtained.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
    public static final ObjectIdentifier CRLDistributionPoints_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
     * Conveys a monotonically increasing sequence number for each CRL
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
     * issued by a given CA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
    public static final ObjectIdentifier CRLNumber_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
     * Identifies the CRL distribution point for a particular CRL.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
    public static final ObjectIdentifier IssuingDistributionPoint_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
     * Identifies the delta CRL.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
    public static final ObjectIdentifier DeltaCRLIndicator_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
     * Identifies the reason for the certificate revocation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
    public static final ObjectIdentifier ReasonCode_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
     * This extension provides a registered instruction identifier indicating
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
     * the action to be taken, after encountering a certificate that has been
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
     * placed on hold.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
    public static final ObjectIdentifier HoldInstructionCode_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
     * Identifies the date on which it is known or suspected that the private
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
     * key was compromised or that the certificate otherwise became invalid.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
    public static final ObjectIdentifier InvalidityDate_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
     * Identifies one or more purposes for which the certified public key
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
     * may be used, in addition to or in place of the basic purposes
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
     * indicated in the key usage extension field.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
    public static final ObjectIdentifier ExtendedKeyUsage_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
     * Specifies whether any-policy policy OID is permitted
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
    public static final ObjectIdentifier InhibitAnyPolicy_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
     * Identifies the certificate issuer associated with an entry in an
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
     * indirect CRL.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
    public static final ObjectIdentifier CertificateIssuer_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
     * This extension indicates how to access CA information and services for
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
     * the issuer of the certificate in which the extension appears.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
     * This information may be used for on-line certification validation
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
     * services.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
    public static final ObjectIdentifier AuthInfoAccess_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
     * This extension indicates how to access CA information and services for
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
     * the subject of the certificate in which the extension appears.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
    public static final ObjectIdentifier SubjectInfoAccess_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
     * Identifies how delta CRL information is obtained.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
    public static final ObjectIdentifier FreshestCRL_Id;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
    static {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
        AuthorityKey_Id = ObjectIdentifier.newInternal(AuthorityKey_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
        SubjectKey_Id   = ObjectIdentifier.newInternal(SubjectKey_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
        KeyUsage_Id     = ObjectIdentifier.newInternal(KeyUsage_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
        PrivateKeyUsage_Id = ObjectIdentifier.newInternal(PrivateKeyUsage_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
        CertificatePolicies_Id =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
            ObjectIdentifier.newInternal(CertificatePolicies_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
        PolicyMappings_Id = ObjectIdentifier.newInternal(PolicyMappings_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
        SubjectAlternativeName_Id =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
            ObjectIdentifier.newInternal(SubjectAlternativeName_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
        IssuerAlternativeName_Id =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
            ObjectIdentifier.newInternal(IssuerAlternativeName_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
        ExtendedKeyUsage_Id = ObjectIdentifier.newInternal(ExtendedKeyUsage_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
        InhibitAnyPolicy_Id = ObjectIdentifier.newInternal(InhibitAnyPolicy_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
        SubjectDirectoryAttributes_Id =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
            ObjectIdentifier.newInternal(SubjectDirectoryAttributes_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
        BasicConstraints_Id =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
            ObjectIdentifier.newInternal(BasicConstraints_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
        ReasonCode_Id = ObjectIdentifier.newInternal(ReasonCode_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
        HoldInstructionCode_Id  =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
            ObjectIdentifier.newInternal(HoldInstructionCode_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
        InvalidityDate_Id = ObjectIdentifier.newInternal(InvalidityDate_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
        NameConstraints_Id = ObjectIdentifier.newInternal(NameConstraints_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
        PolicyConstraints_Id =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
            ObjectIdentifier.newInternal(PolicyConstraints_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
        CRLDistributionPoints_Id =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
            ObjectIdentifier.newInternal(CRLDistributionPoints_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   247
        CRLNumber_Id =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
            ObjectIdentifier.newInternal(CRLNumber_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   249
        IssuingDistributionPoint_Id =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   250
            ObjectIdentifier.newInternal(IssuingDistributionPoint_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   251
        DeltaCRLIndicator_Id =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   252
            ObjectIdentifier.newInternal(DeltaCRLIndicator_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   253
        CertificateIssuer_Id =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   254
            ObjectIdentifier.newInternal(CertificateIssuer_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   255
        AuthInfoAccess_Id =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   256
            ObjectIdentifier.newInternal(AuthInfoAccess_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   257
        SubjectInfoAccess_Id =
90ce3da70b43 Initial load
duke
parents:
diff changeset
   258
            ObjectIdentifier.newInternal(SubjectInfoAccess_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   259
        FreshestCRL_Id = ObjectIdentifier.newInternal(FreshestCRL_data);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   260
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   261
}