Skip to content

Commit

Permalink
Added SCEP's failInfoText oid.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkstein committed Nov 2, 2023
1 parent ce9d249 commit ec16227
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion const-oid/oiddbgen/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions const-oid/oiddbgen/rfc8894.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Simple Certificate Enrolment Protocol
RFC 8894 unfortunately formatted the SCEP OIDs in a table, that can't
be parsed easily. For this reason the definitions are repeated here
in a parseable format.
`id-pkix` is not contained in RFC 8894. It was added to make failInfoText parseable, too.

# SCEP Secure Message Objects
## 3.2. SCEP pkiMessage
Expand All @@ -18,5 +19,6 @@ id-pkiStatus OBJECT IDENTIFIER ::= {id-attributes pkiStatus(3)}
id-failInfo OBJECT IDENTIFIER ::= {id-attributes failInfo(4)}
id-senderNonce OBJECT IDENTIFIER ::= {id-attributes senderNonce(5)}
id-recipientNonce OBJECT IDENTIFIER ::= {id-attributes recipientNonce(6)}
id-pkix OBJECT IDENTIFIER ::= {1 3 6 1 5 5 pkix(7)}
id-scep OBJECT IDENTIFIER ::= {id-pkix 24}
id-scep-failInfoText OBJECT IDENTIFIER ::= {id-scep 1}
18 changes: 18 additions & 0 deletions const-oid/src/db/gen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5495,11 +5495,26 @@ pub mod rfc8410 {
]);
}
pub mod rfc8894 {
#[doc = "1.3.6.1.5.5.7: id-pkix"]
pub const ID_PKIX: crate::ObjectIdentifierRef<'static> =
crate::ObjectIdentifierRef::from_bytes_unchecked(&[
49, 46, 51, 46, 54, 46, 49, 46, 53, 46, 53, 46, 55,
]);
#[doc = "1.3.6.1.5.5.7.24: id-scep"]
pub const ID_SCEP: crate::ObjectIdentifierRef<'static> =
crate::ObjectIdentifierRef::from_bytes_unchecked(&[
49, 46, 51, 46, 54, 46, 49, 46, 53, 46, 53, 46, 55, 46, 50, 52,
]);
#[doc = "2.16.840.1.113733: id-VeriSign"]
pub const ID_VERI_SIGN: crate::ObjectIdentifierRef<'static> =
crate::ObjectIdentifierRef::from_bytes_unchecked(&[
50, 46, 49, 54, 46, 56, 52, 48, 46, 49, 46, 49, 49, 51, 55, 51, 51,
]);
#[doc = "1.3.6.1.5.5.7.24.1: id-scep-failInfoText"]
pub const ID_SCEP_FAIL_INFO_TEXT: crate::ObjectIdentifierRef<'static> =
crate::ObjectIdentifierRef::from_bytes_unchecked(&[
49, 46, 51, 46, 54, 46, 49, 46, 53, 46, 53, 46, 55, 46, 50, 52, 46, 49,
]);
#[doc = "2.16.840.1.113733.1: id-pki"]
pub const ID_PKI: crate::ObjectIdentifierRef<'static> =
crate::ObjectIdentifierRef::from_bytes_unchecked(&[
Expand Down Expand Up @@ -7432,7 +7447,10 @@ pub const DB: super::Database<'static> = super::Database(&[
(rfc8410::ID_X_448, "id-X448"),
(rfc8410::ID_ED_25519, "id-Ed25519"),
(rfc8410::ID_ED_448, "id-Ed448"),
(rfc8894::ID_PKIX, "id-pkix"),
(rfc8894::ID_SCEP, "id-scep"),
(rfc8894::ID_VERI_SIGN, "id-VeriSign"),
(rfc8894::ID_SCEP_FAIL_INFO_TEXT, "id-scep-failInfoText"),
(rfc8894::ID_PKI, "id-pki"),
(rfc8894::ID_ATTRIBUTES, "id-attributes"),
(rfc8894::ID_MESSAGE_TYPE, "id-messageType"),
Expand Down

0 comments on commit ec16227

Please sign in to comment.