1 /**
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one or more
4 * contributor license agreements. See the NOTICE file distributed with
5 * this work for additional information regarding copyright ownership.
6 * The ASF licenses this file to You under the Apache License, Version 2.0
7 * (the "License"); you may not use this file except in compliance with
8 * the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18
19 package org.apache.geronimo.util.asn1.x509;
20
21 import org.apache.geronimo.util.asn1.DERObjectIdentifier;
22
23 public interface X509ObjectIdentifiers
24 {
25
26
27
28 static final String id = "2.5.4";
29
30 static final DERObjectIdentifier commonName = new DERObjectIdentifier(id + ".3");
31 static final DERObjectIdentifier countryName = new DERObjectIdentifier(id + ".6");
32 static final DERObjectIdentifier localityName = new DERObjectIdentifier(id + ".7");
33 static final DERObjectIdentifier stateOrProvinceName = new DERObjectIdentifier(id + ".8");
34 static final DERObjectIdentifier organization = new DERObjectIdentifier(id + ".10");
35 static final DERObjectIdentifier organizationalUnitName = new DERObjectIdentifier(id + ".11");
36
37
38
39 static final DERObjectIdentifier id_SHA1 = new DERObjectIdentifier("1.3.14.3.2.26");
40
41
42
43
44
45 static final DERObjectIdentifier ripemd160 = new DERObjectIdentifier("1.3.36.3.2.1");
46
47
48
49
50
51 static final DERObjectIdentifier ripemd160WithRSAEncryption = new DERObjectIdentifier("1.3.36.3.3.1.2");
52
53
54 static final DERObjectIdentifier id_ea_rsa = new DERObjectIdentifier("2.5.8.1.1");
55
56
57
58
59 static final DERObjectIdentifier ocspAccessMethod = new DERObjectIdentifier("1.3.6.1.5.5.7.48.1");
60 }
61