blob: 0b054f399d15f118f034a619d482ebe29c17b74f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
namespace Org.BouncyCastle.Asn1.Misc
{
// TODO[api] Make static
public abstract class MiscObjectIdentifiers
{
//
// Netscape
// iso/itu(2) joint-assign(16) us(840) uscompany(1) Netscape(113730) cert-extensions(1) }
//
public static readonly DerObjectIdentifier Netscape = new DerObjectIdentifier("2.16.840.1.113730.1");
public static readonly DerObjectIdentifier NetscapeCertType = Netscape.Branch("1");
public static readonly DerObjectIdentifier NetscapeBaseUrl = Netscape.Branch("2");
public static readonly DerObjectIdentifier NetscapeRevocationUrl = Netscape.Branch("3");
public static readonly DerObjectIdentifier NetscapeCARevocationUrl = Netscape.Branch("4");
public static readonly DerObjectIdentifier NetscapeRenewalUrl = Netscape.Branch("7");
public static readonly DerObjectIdentifier NetscapeCAPolicyUrl = Netscape.Branch("8");
public static readonly DerObjectIdentifier NetscapeSslServerName = Netscape.Branch("12");
public static readonly DerObjectIdentifier NetscapeCertComment = Netscape.Branch("13");
//
// Verisign
// iso/itu(2) joint-assign(16) us(840) uscompany(1) verisign(113733) cert-extensions(1) }
//
public static readonly DerObjectIdentifier Verisign = new DerObjectIdentifier("2.16.840.1.113733.1");
//
// CZAG - country, zip, age, and gender
//
public static readonly DerObjectIdentifier VerisignCzagExtension = Verisign.Branch("6.3");
public static readonly DerObjectIdentifier VerisignPrivate_6_9 = Verisign.Branch("6.9");
public static readonly DerObjectIdentifier VerisignOnSiteJurisdictionHash = Verisign.Branch("6.11");
public static readonly DerObjectIdentifier VerisignBitString_6_13 = Verisign.Branch("6.13");
// D&B D-U-N-S number
public static readonly DerObjectIdentifier VerisignDnbDunsNumber = Verisign.Branch("6.15");
public static readonly DerObjectIdentifier VerisignIssStrongCrypto = Verisign.Branch("8.1");
//
// Novell
// iso/itu(2) country(16) us(840) organization(1) novell(113719)
//
public static readonly DerObjectIdentifier Novell = new DerObjectIdentifier("2.16.840.1.113719");
public static readonly DerObjectIdentifier NovellSecurityAttribs = Novell.Branch("1.9.4.1");
//
// Entrust
// iso(1) member-body(16) us(840) nortelnetworks(113533) entrust(7)
//
public static readonly DerObjectIdentifier Entrust = new DerObjectIdentifier("1.2.840.113533.7");
public static readonly DerObjectIdentifier EntrustVersionExtension = Entrust.Branch("65.0");
public static readonly DerObjectIdentifier cast5CBC = Entrust.Branch("66.10");
//
// HMAC-SHA1 hMAC-SHA1 OBJECT IDENTIFIER ::= { iso(1) identified-organization(3)
// dod(6) internet(1) security(5) mechanisms(5) 8 1 2 }
//
public static readonly DerObjectIdentifier HMAC_SHA1 = new DerObjectIdentifier("1.3.6.1.5.5.8.1.2");
//
// Ascom
//
public static readonly DerObjectIdentifier as_sys_sec_alg_ideaCBC = new DerObjectIdentifier("1.3.6.1.4.1.188.7.1.1.2");
//
// Peter Gutmann's Cryptlib
//
public static readonly DerObjectIdentifier cryptlib = new DerObjectIdentifier("1.3.6.1.4.1.3029");
public static readonly DerObjectIdentifier cryptlib_algorithm = cryptlib.Branch("1");
public static readonly DerObjectIdentifier cryptlib_algorithm_blowfish_ECB = cryptlib_algorithm.Branch("1.1");
public static readonly DerObjectIdentifier cryptlib_algorithm_blowfish_CBC = cryptlib_algorithm.Branch("1.2");
public static readonly DerObjectIdentifier cryptlib_algorithm_blowfish_CFB = cryptlib_algorithm.Branch("1.3");
public static readonly DerObjectIdentifier cryptlib_algorithm_blowfish_OFB = cryptlib_algorithm.Branch("1.4");
//
// Blake2b
//
public static readonly DerObjectIdentifier blake2 = new DerObjectIdentifier("1.3.6.1.4.1.1722.12.2");
public static readonly DerObjectIdentifier id_blake2b160 = blake2.Branch("1.5");
public static readonly DerObjectIdentifier id_blake2b256 = blake2.Branch("1.8");
public static readonly DerObjectIdentifier id_blake2b384 = blake2.Branch("1.12");
public static readonly DerObjectIdentifier id_blake2b512 = blake2.Branch("1.16");
public static readonly DerObjectIdentifier id_blake2s128 = blake2.Branch("2.4");
public static readonly DerObjectIdentifier id_blake2s160 = blake2.Branch("2.5");
public static readonly DerObjectIdentifier id_blake2s224 = blake2.Branch("2.7");
public static readonly DerObjectIdentifier id_blake2s256 = blake2.Branch("2.8");
public static readonly DerObjectIdentifier blake3 = blake2.Branch("3");
public static readonly DerObjectIdentifier blake3_256 = blake3.Branch("8");
//
// Scrypt
public static readonly DerObjectIdentifier id_scrypt = new DerObjectIdentifier("1.3.6.1.4.1.11591.4.11");
// Composite key/signature oid - prototyping
//
// id-alg-composite OBJECT IDENTIFIER ::= {
// iso(1) identified-organization(3) dod(6) internet(1) private(4)
// enterprise(1) OpenCA(18227) Algorithms(2) id-alg-composite(1) }
public static readonly DerObjectIdentifier id_alg_composite = new DerObjectIdentifier("1.3.6.1.4.1.18227.2.1");
// -- To be replaced by IANA
//
//id-composite-key OBJECT IDENTIFIER ::= {
//
// joint-iso-itu-t(2) country(16) us(840) organization(1) entrust(114027)
//
// Algorithm(80) Composite(4) CompositeKey(1)
public static readonly DerObjectIdentifier id_composite_key =
new DerObjectIdentifier("2.16.840.1.114027.80.4.1");
public static readonly DerObjectIdentifier id_oracle_pkcs12_trusted_key_usage =
new DerObjectIdentifier("2.16.840.1.113894.746875.1.1");
}
}
|