001 /** 002 * 003 * Licensed to the Apache Software Foundation (ASF) under one or more 004 * contributor license agreements. See the NOTICE file distributed with 005 * this work for additional information regarding copyright ownership. 006 * The ASF licenses this file to You under the Apache License, Version 2.0 007 * (the "License"); you may not use this file except in compliance with 008 * the License. You may obtain a copy of the License at 009 * 010 * http://www.apache.org/licenses/LICENSE-2.0 011 * 012 * Unless required by applicable law or agreed to in writing, software 013 * distributed under the License is distributed on an "AS IS" BASIS, 014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 015 * See the License for the specific language governing permissions and 016 * limitations under the License. 017 */ 018 019 package org.apache.geronimo.util.asn1.cryptopro; 020 021 import org.apache.geronimo.util.asn1.DERObjectIdentifier; 022 023 public interface CryptoProObjectIdentifiers 024 { 025 // GOST Algorithms OBJECT IDENTIFIERS : 026 // { iso(1) member-body(2) ru(643) rans(2) cryptopro(2)} 027 static final String GOST_id = "1.2.643.2.2"; 028 029 static final DERObjectIdentifier gostR3411 = new DERObjectIdentifier(GOST_id+".9"); 030 031 static final DERObjectIdentifier gostR28147_cbc = new DERObjectIdentifier(GOST_id+".21"); 032 033 static final DERObjectIdentifier gostR3410_94 = new DERObjectIdentifier(GOST_id+".20"); 034 static final DERObjectIdentifier gostR3410_2001 = new DERObjectIdentifier(GOST_id+".19"); 035 static final DERObjectIdentifier gostR3411_94_with_gostR3410_94 = new DERObjectIdentifier(GOST_id+".4"); 036 static final DERObjectIdentifier gostR3411_94_with_gostR3410_2001 = new DERObjectIdentifier(GOST_id+".3"); 037 038 // { iso(1) member-body(2) ru(643) rans(2) cryptopro(2) hashes(30) } 039 static final DERObjectIdentifier gostR3411_94_CryptoProParamSet = new DERObjectIdentifier(GOST_id+".30.1"); 040 041 // { iso(1) member-body(2) ru(643) rans(2) cryptopro(2) signs(32) } 042 static final DERObjectIdentifier gostR3410_94_CryptoPro_A = new DERObjectIdentifier(GOST_id+".32.2"); 043 static final DERObjectIdentifier gostR3410_94_CryptoPro_B = new DERObjectIdentifier(GOST_id+".32.3"); 044 static final DERObjectIdentifier gostR3410_94_CryptoPro_C = new DERObjectIdentifier(GOST_id+".32.4"); 045 static final DERObjectIdentifier gostR3410_94_CryptoPro_D = new DERObjectIdentifier(GOST_id+".32.5"); 046 047 // { iso(1) member-body(2) ru(643) rans(2) cryptopro(2) exchanges(33) } 048 static final DERObjectIdentifier gostR3410_94_CryptoPro_XchA = new DERObjectIdentifier(GOST_id+".33.1"); 049 static final DERObjectIdentifier gostR3410_94_CryptoPro_XchB = new DERObjectIdentifier(GOST_id+".33.2"); 050 static final DERObjectIdentifier gostR3410_94_CryptoPro_XchC = new DERObjectIdentifier(GOST_id+".33.3"); 051 052 //{ iso(1) member-body(2)ru(643) rans(2) cryptopro(2) ecc-signs(35) } 053 static final DERObjectIdentifier gostR3410_2001_CryptoPro_A = new DERObjectIdentifier(GOST_id+".35.1"); 054 static final DERObjectIdentifier gostR3410_2001_CryptoPro_B = new DERObjectIdentifier(GOST_id+".35.2"); 055 static final DERObjectIdentifier gostR3410_2001_CryptoPro_C = new DERObjectIdentifier(GOST_id+".35.3"); 056 057 // { iso(1) member-body(2) ru(643) rans(2) cryptopro(2) ecc-exchanges(36) } 058 static final DERObjectIdentifier gostR3410_2001_CryptoPro_XchA = new DERObjectIdentifier(GOST_id+".36.0"); 059 static final DERObjectIdentifier gostR3410_2001_CryptoPro_XchB = new DERObjectIdentifier(GOST_id+".36.1"); 060 061 static final DERObjectIdentifier gost_ElSgDH3410_default = new DERObjectIdentifier(GOST_id+".36.0"); 062 static final DERObjectIdentifier gost_ElSgDH3410_1 = new DERObjectIdentifier(GOST_id+".36.1"); 063 }