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.cryptopro; 19 20 import org.apache.geronimo.crypto.asn1.DERObjectIdentifier; 21 22 public interface CryptoProObjectIdentifiers 23 { 24 // GOST Algorithms OBJECT IDENTIFIERS : 25 // { iso(1) member-body(2) ru(643) rans(2) cryptopro(2)} 26 static final String GOST_id = "1.2.643.2.2"; 27 28 static final DERObjectIdentifier gostR3411 = new DERObjectIdentifier(GOST_id+".9"); 29 30 static final DERObjectIdentifier gostR28147_cbc = new DERObjectIdentifier(GOST_id+".21"); 31 32 static final DERObjectIdentifier gostR3410_94 = new DERObjectIdentifier(GOST_id+".20"); 33 static final DERObjectIdentifier gostR3410_2001 = new DERObjectIdentifier(GOST_id+".19"); 34 static final DERObjectIdentifier gostR3411_94_with_gostR3410_94 = new DERObjectIdentifier(GOST_id+".4"); 35 static final DERObjectIdentifier gostR3411_94_with_gostR3410_2001 = new DERObjectIdentifier(GOST_id+".3"); 36 37 // { iso(1) member-body(2) ru(643) rans(2) cryptopro(2) hashes(30) } 38 static final DERObjectIdentifier gostR3411_94_CryptoProParamSet = new DERObjectIdentifier(GOST_id+".30.1"); 39 40 // { iso(1) member-body(2) ru(643) rans(2) cryptopro(2) signs(32) } 41 static final DERObjectIdentifier gostR3410_94_CryptoPro_A = new DERObjectIdentifier(GOST_id+".32.2"); 42 static final DERObjectIdentifier gostR3410_94_CryptoPro_B = new DERObjectIdentifier(GOST_id+".32.3"); 43 static final DERObjectIdentifier gostR3410_94_CryptoPro_C = new DERObjectIdentifier(GOST_id+".32.4"); 44 static final DERObjectIdentifier gostR3410_94_CryptoPro_D = new DERObjectIdentifier(GOST_id+".32.5"); 45 46 // { iso(1) member-body(2) ru(643) rans(2) cryptopro(2) exchanges(33) } 47 static final DERObjectIdentifier gostR3410_94_CryptoPro_XchA = new DERObjectIdentifier(GOST_id+".33.1"); 48 static final DERObjectIdentifier gostR3410_94_CryptoPro_XchB = new DERObjectIdentifier(GOST_id+".33.2"); 49 static final DERObjectIdentifier gostR3410_94_CryptoPro_XchC = new DERObjectIdentifier(GOST_id+".33.3"); 50 51 //{ iso(1) member-body(2)ru(643) rans(2) cryptopro(2) ecc-signs(35) } 52 static final DERObjectIdentifier gostR3410_2001_CryptoPro_A = new DERObjectIdentifier(GOST_id+".35.1"); 53 static final DERObjectIdentifier gostR3410_2001_CryptoPro_B = new DERObjectIdentifier(GOST_id+".35.2"); 54 static final DERObjectIdentifier gostR3410_2001_CryptoPro_C = new DERObjectIdentifier(GOST_id+".35.3"); 55 56 // { iso(1) member-body(2) ru(643) rans(2) cryptopro(2) ecc-exchanges(36) } 57 static final DERObjectIdentifier gostR3410_2001_CryptoPro_XchA = new DERObjectIdentifier(GOST_id+".36.0"); 58 static final DERObjectIdentifier gostR3410_2001_CryptoPro_XchB = new DERObjectIdentifier(GOST_id+".36.1"); 59 60 static final DERObjectIdentifier gost_ElSgDH3410_default = new DERObjectIdentifier(GOST_id+".36.0"); 61 static final DERObjectIdentifier gost_ElSgDH3410_1 = new DERObjectIdentifier(GOST_id+".36.1"); 62 }