1 /** 2 * Licensed to the Apache Software Foundation (ASF) under one or more 3 * contributor license agreements. See the NOTICE file distributed with 4 * this work for additional information regarding copyright ownership. 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 7 * the License. You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 */ 17 18 package org.apache.geronimo.crypto.asn1.misc; 19 20 import org.apache.geronimo.crypto.asn1.DERObjectIdentifier; 21 22 public interface MiscObjectIdentifiers 23 { 24 // 25 // Netscape 26 // iso/itu(2) joint-assign(16) us(840) uscompany(1) netscape(113730) cert-extensions(1) } 27 // 28 static final String netscape = "2.16.840.1.113730.1"; 29 static final DERObjectIdentifier netscapeCertType = new DERObjectIdentifier(netscape + ".1"); 30 static final DERObjectIdentifier netscapeBaseURL = new DERObjectIdentifier(netscape + ".2"); 31 static final DERObjectIdentifier netscapeRevocationURL = new DERObjectIdentifier(netscape + ".3"); 32 static final DERObjectIdentifier netscapeCARevocationURL = new DERObjectIdentifier(netscape + ".4"); 33 static final DERObjectIdentifier netscapeRenewalURL = new DERObjectIdentifier(netscape + ".7"); 34 static final DERObjectIdentifier netscapeCApolicyURL = new DERObjectIdentifier(netscape + ".8"); 35 static final DERObjectIdentifier netscapeSSLServerName = new DERObjectIdentifier(netscape + ".12"); 36 static final DERObjectIdentifier netscapeCertComment = new DERObjectIdentifier(netscape + ".13"); 37 // 38 // Verisign 39 // iso/itu(2) joint-assign(16) us(840) uscompany(1) verisign(113733) cert-extensions(1) } 40 // 41 static final String verisign = "2.16.840.1.113733.1"; 42 43 // 44 // CZAG - country, zip, age, and gender 45 // 46 static final DERObjectIdentifier verisignCzagExtension = new DERObjectIdentifier(verisign + ".6.3"); 47 }