|
1 |
| -/// pkcs-9-at-extensionRequest in RFC 2985 |
| 1 | +/// pkcs-9-at-extensionRequest in [RFC 2985](https://www.rfc-editor.org/rfc/rfc2985#appendix-A) |
2 | 2 | pub const OID_PKCS_9_AT_EXTENSION_REQUEST: &[u64] = &[1, 2, 840, 113549, 1, 9, 14];
|
3 | 3 |
|
4 |
| -/// id-at-countryName in RFC 5280 |
| 4 | +/// id-at-countryName in [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280#appendix-A) |
5 | 5 | pub const OID_COUNTRY_NAME: &[u64] = &[2, 5, 4, 6];
|
6 |
| -/// id-at-localityName in RFC 5280 |
| 6 | +/// id-at-localityName in [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280#appendix-A) |
7 | 7 | pub const OID_LOCALITY_NAME: &[u64] = &[2, 5, 4, 7];
|
8 |
| -/// id-at-stateOrProvinceName in RFC 5280 |
| 8 | +/// id-at-stateOrProvinceName in [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280#appendix-A) |
9 | 9 | pub const OID_STATE_OR_PROVINCE_NAME: &[u64] = &[2, 5, 4, 8];
|
10 |
| -/// id-at-organizationName in RFC 5280 |
| 10 | +/// id-at-organizationName in [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280#appendix-A) |
11 | 11 | pub const OID_ORG_NAME: &[u64] = &[2, 5, 4, 10];
|
12 |
| -/// id-at-organizationalUnitName in RFC 5280 |
| 12 | +/// id-at-organizationalUnitName in [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280#appendix-A) |
13 | 13 | pub const OID_ORG_UNIT_NAME: &[u64] = &[2, 5, 4, 11];
|
14 |
| -/// id-at-commonName in RFC 5280 |
| 14 | +/// id-at-commonName in [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280#appendix-A) |
15 | 15 | pub const OID_COMMON_NAME: &[u64] = &[2, 5, 4, 3];
|
16 | 16 |
|
17 |
| -// https://tools.ietf.org/html/rfc5480#section-2.1.1 |
| 17 | +/// id-ecPublicKey in [RFC 5480](https://datatracker.ietf.org/doc/html/rfc5480#appendix-A) |
18 | 18 | pub const OID_EC_PUBLIC_KEY: &[u64] = &[1, 2, 840, 10045, 2, 1];
|
| 19 | +/// secp256r1 in [RFC 5480](https://datatracker.ietf.org/doc/html/rfc5480#appendix-A) |
19 | 20 | pub const OID_EC_SECP_256_R1: &[u64] = &[1, 2, 840, 10045, 3, 1, 7];
|
| 21 | +/// secp384r1 in [RFC 5480](https://datatracker.ietf.org/doc/html/rfc5480#appendix-A) |
20 | 22 | pub const OID_EC_SECP_384_R1: &[u64] = &[1, 3, 132, 0, 34];
|
21 | 23 |
|
22 |
| -// rsaEncryption in RFC 4055 |
| 24 | +/// rsaEncryption in [RFC 4055](https://www.rfc-editor.org/rfc/rfc4055#section-6) |
23 | 25 | pub const OID_RSA_ENCRYPTION: &[u64] = &[1, 2, 840, 113549, 1, 1, 1];
|
24 | 26 |
|
25 |
| -// id-RSASSA-PSS in RFC 4055 |
| 27 | +/// id-RSASSA-PSS in [RFC 4055](https://www.rfc-editor.org/rfc/rfc4055#section-6) |
26 | 28 | pub const OID_RSASSA_PSS: &[u64] = &[1, 2, 840, 113549, 1, 1, 10];
|
27 | 29 |
|
28 |
| -// https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.3 |
| 30 | +/// id-ce-keyUsage in [RFC 5280](https://tools.ietf.org/html/rfc5280#appendix-A.2) |
29 | 31 | pub const OID_KEY_USAGE: &[u64] = &[2, 5, 29, 15];
|
30 | 32 |
|
31 |
| -// https://tools.ietf.org/html/rfc5280#appendix-A.2 |
32 |
| -// https://tools.ietf.org/html/rfc5280#section-4.2.1.6 |
| 33 | +/// id-ce-subjectAltName in [RFC 5280](https://tools.ietf.org/html/rfc5280#appendix-A.2) |
33 | 34 | pub const OID_SUBJECT_ALT_NAME: &[u64] = &[2, 5, 29, 17];
|
34 | 35 |
|
35 |
| -// https://tools.ietf.org/html/rfc5280#section-4.2.1.9 |
| 36 | +/// id-ce-basicConstraints in [RFC 5280](https://tools.ietf.org/html/rfc5280#appendix-A.2) |
36 | 37 | pub const OID_BASIC_CONSTRAINTS: &[u64] = &[2, 5, 29, 19];
|
37 | 38 |
|
38 |
| -// https://tools.ietf.org/html/rfc5280#section-4.2.1.2 |
| 39 | +/// id-ce-subjectKeyIdentifier in [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280#appendix-A) |
39 | 40 | pub const OID_SUBJECT_KEY_IDENTIFIER: &[u64] = &[2, 5, 29, 14];
|
40 | 41 |
|
41 |
| -// https://tools.ietf.org/html/rfc5280#section-4.2.1.1 |
| 42 | +/// id-ce-authorityKeyIdentifier in [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280#appendix-A) |
42 | 43 | pub const OID_AUTHORITY_KEY_IDENTIFIER: &[u64] = &[2, 5, 29, 35];
|
43 | 44 |
|
44 |
| -// id-ce-extKeyUsage in |
45 |
| -// https://tools.ietf.org/html/rfc5280#section-4.2.1.12 |
| 45 | +/// id-ce-extKeyUsage in [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280#appendix-A) |
46 | 46 | pub const OID_EXT_KEY_USAGE: &[u64] = &[2, 5, 29, 37];
|
47 | 47 |
|
48 |
| -// id-ce-nameConstraints in |
49 |
| -// https://tools.ietf.org/html/rfc5280#section-4.2.1.10 |
| 48 | +/// id-ce-nameConstraints in [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280#appendix-A) |
50 | 49 | pub const OID_NAME_CONSTRAINTS: &[u64] = &[2, 5, 29, 30];
|
51 | 50 |
|
52 |
| -// id-ce-cRLDistributionPoints in |
53 |
| -// https://www.rfc-editor.org/rfc/rfc5280#section-4.2.1.13 |
| 51 | +/// id-ce-cRLDistributionPoints in [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280#appendix-A) |
54 | 52 | pub const OID_CRL_DISTRIBUTION_POINTS: &[u64] = &[2, 5, 29, 31];
|
55 | 53 |
|
56 |
| -// id-pe-acmeIdentifier in |
57 |
| -// https://www.iana.org/assignments/smi-numbers/smi-numbers.xhtml#smi-numbers-1.3.6.1.5.5.7.1 |
| 54 | +/// id-pe-acmeIdentifier in |
| 55 | +/// [IANA SMI Numbers registry](https://www.iana.org/assignments/smi-numbers/smi-numbers.xhtml#smi-numbers-1.3.6.1.5.5.7.1) |
58 | 56 | pub const OID_PE_ACME: &[u64] = &[1, 3, 6, 1, 5, 5, 7, 1, 31];
|
59 | 57 |
|
60 |
| -// id-ce-cRLNumber in |
61 |
| -// https://www.rfc-editor.org/rfc/rfc5280#section-5.2.3 |
| 58 | +/// id-ce-cRLNumber in [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280#appendix-A) |
62 | 59 | pub const OID_CRL_NUMBER: &[u64] = &[2, 5, 29, 20];
|
63 | 60 |
|
64 |
| -// id-ce-cRLReasons |
65 |
| -// https://www.rfc-editor.org/rfc/rfc5280#section-5.3.1 |
| 61 | +/// id-ce-cRLReasons in [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280#appendix-A) |
66 | 62 | pub const OID_CRL_REASONS: &[u64] = &[2, 5, 29, 21];
|
67 | 63 |
|
68 |
| -// id-ce-invalidityDate |
69 |
| -// https://www.rfc-editor.org/rfc/rfc5280#section-5.3.2 |
| 64 | +/// id-ce-invalidityDate in [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280#appendix-A) |
70 | 65 | pub const OID_CRL_INVALIDITY_DATE: &[u64] = &[2, 5, 29, 24];
|
71 | 66 |
|
72 |
| -// id-ce-issuingDistributionPoint |
73 |
| -// https://datatracker.ietf.org/doc/html/rfc5280#section-5.2.5 |
| 67 | +/// id-ce-issuingDistributionPoint in [RFC 5280](https://www.rfc-editor.org/rfc/rfc5280#appendix-A) |
74 | 68 | pub const OID_CRL_ISSUING_DISTRIBUTION_POINT: &[u64] = &[2, 5, 29, 28];
|
0 commit comments