01: /**
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * 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: */package org.apache.geronimo.crypto.asn1.cryptopro;
17:
18: import org.apache.geronimo.crypto.asn1.DERObjectIdentifier;
19:
20: public interface CryptoProObjectIdentifiers {
21: // GOST Algorithms OBJECT IDENTIFIERS :
22: // { iso(1) member-body(2) ru(643) rans(2) cryptopro(2)}
23: static final String GOST_id = "1.2.643.2.2";
24:
25: static final DERObjectIdentifier gostR3411 = new DERObjectIdentifier(
26: GOST_id + ".9");
27:
28: static final DERObjectIdentifier gostR28147_cbc = new DERObjectIdentifier(
29: GOST_id + ".21");
30:
31: static final DERObjectIdentifier gostR3410_94 = new DERObjectIdentifier(
32: GOST_id + ".20");
33: static final DERObjectIdentifier gostR3410_2001 = new DERObjectIdentifier(
34: GOST_id + ".19");
35: static final DERObjectIdentifier gostR3411_94_with_gostR3410_94 = new DERObjectIdentifier(
36: GOST_id + ".4");
37: static final DERObjectIdentifier gostR3411_94_with_gostR3410_2001 = new DERObjectIdentifier(
38: GOST_id + ".3");
39:
40: // { iso(1) member-body(2) ru(643) rans(2) cryptopro(2) hashes(30) }
41: static final DERObjectIdentifier gostR3411_94_CryptoProParamSet = new DERObjectIdentifier(
42: GOST_id + ".30.1");
43:
44: // { iso(1) member-body(2) ru(643) rans(2) cryptopro(2) signs(32) }
45: static final DERObjectIdentifier gostR3410_94_CryptoPro_A = new DERObjectIdentifier(
46: GOST_id + ".32.2");
47: static final DERObjectIdentifier gostR3410_94_CryptoPro_B = new DERObjectIdentifier(
48: GOST_id + ".32.3");
49: static final DERObjectIdentifier gostR3410_94_CryptoPro_C = new DERObjectIdentifier(
50: GOST_id + ".32.4");
51: static final DERObjectIdentifier gostR3410_94_CryptoPro_D = new DERObjectIdentifier(
52: GOST_id + ".32.5");
53:
54: // { iso(1) member-body(2) ru(643) rans(2) cryptopro(2) exchanges(33) }
55: static final DERObjectIdentifier gostR3410_94_CryptoPro_XchA = new DERObjectIdentifier(
56: GOST_id + ".33.1");
57: static final DERObjectIdentifier gostR3410_94_CryptoPro_XchB = new DERObjectIdentifier(
58: GOST_id + ".33.2");
59: static final DERObjectIdentifier gostR3410_94_CryptoPro_XchC = new DERObjectIdentifier(
60: GOST_id + ".33.3");
61:
62: //{ iso(1) member-body(2)ru(643) rans(2) cryptopro(2) ecc-signs(35) }
63: static final DERObjectIdentifier gostR3410_2001_CryptoPro_A = new DERObjectIdentifier(
64: GOST_id + ".35.1");
65: static final DERObjectIdentifier gostR3410_2001_CryptoPro_B = new DERObjectIdentifier(
66: GOST_id + ".35.2");
67: static final DERObjectIdentifier gostR3410_2001_CryptoPro_C = new DERObjectIdentifier(
68: GOST_id + ".35.3");
69:
70: // { iso(1) member-body(2) ru(643) rans(2) cryptopro(2) ecc-exchanges(36) }
71: static final DERObjectIdentifier gostR3410_2001_CryptoPro_XchA = new DERObjectIdentifier(
72: GOST_id + ".36.0");
73: static final DERObjectIdentifier gostR3410_2001_CryptoPro_XchB = new DERObjectIdentifier(
74: GOST_id + ".36.1");
75:
76: static final DERObjectIdentifier gost_ElSgDH3410_default = new DERObjectIdentifier(
77: GOST_id + ".36.0");
78: static final DERObjectIdentifier gost_ElSgDH3410_1 = new DERObjectIdentifier(
79: GOST_id + ".36.1");
80: }
|