Skip to content

Commit

Permalink
add comment to address #1206 (#1226)
Browse files Browse the repository at this point in the history
  • Loading branch information
carl-wallace authored Sep 21, 2023
1 parent 65f0b2f commit 21ff894
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions crmf/src/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,16 @@ pub struct CertRequest {
/// extensions [9] Extensions{{CertExtensions}} OPTIONAL }
/// ```
///
/// Note, the EXPLICIT tagging attribute used in the definition of the the issuer and subject fields
/// is because Name is a CHOICE and the original tag type cannot be obscured by an IMPLICIT tag.
/// See 31.2.6 in X.680:
///
/// ```text
/// All application of tags is either implicit tagging or explicit tagging. Implicit tagging
/// indicates, for those encoding rules which provide the option, that explicit identification
/// of the original tag of the "Type" in the "TaggedType" is not needed during transfer.
/// ```
///
/// [RFC 4211 Section 5]: https://www.rfc-editor.org/rfc/rfc4211#section-5
#[derive(Clone, Debug, Eq, PartialEq, Sequence)]
#[allow(missing_docs)]
Expand Down

0 comments on commit 21ff894

Please sign in to comment.