RFC 5913
Clearance Attribute and Authority Clearance Constraints Certificate Extension
Okay bestie, welcome to RFC 5913!! πβ¨
This one is Clearance Attribute and Authority Clearance Constraints Certificate Extension π . It's a Standards Track doc from the IETF, dated June 2010, ISSN 2070-1721. The authors are S. Turner from IECA and S. Chokhani from Cygnacom Solutions π§. The header doesn't list anything it obsoletes or updates, so it's standing on its own, no cap π.
Abstract π¦
Okay so this doc defines the syntax and semantics for the Clearance attribute and the Authority Clearance Constraints extension in X.509 certificates π. The Clearance attribute tells everyone what clearance the subject holds. It can show up in the subject directory attributes extension of a public key certificate, or in the attributes field of an attribute certificate. The Authority Clearance Constraints values sitting in a Trust Anchor (TA), in Certification Authority (CA) public key certificates, and in an Attribute Authority (AA) public key certificate along a certification path for a given subject are what keep the subject's effective Clearance in check π.
Status of This Memo π
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 of RFC 5741.
Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at http://www.rfc-editor.org/info/rfc5913. π
Copyright Notice Β©οΈ
Copyright (c) 2010 IETF Trust and the persons identified as the document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.
Table of Contents π
1. Introduction ....................................................3
1.1. Terminology ................................................4
1.2. ASN.1 Syntax Notation ......................................4
2. Clearance Attribute .............................................4
3. Authority Clearance Constraints Certificate Extension ...........5
4. Processing Clearance and Authority Clearance Constraints
in a PKC ........................................................6
4.1. Collecting Constraints .....................................7
4.1.1. Certification Path Processing .......................7
4.1.1.1. Inputs .....................................8
4.1.1.2. Initialization .............................8
4.1.1.3. Basic Certificate Processing ...............8
4.1.1.4. Preparation for Certificate i+1 ............9
4.1.1.5. Wrap-up Procedure ..........................9
4.1.1.5.1. Wrap Up Clearance ...............9
4.1.1.6. Outputs ...................................10
5. Clearance and Authority Clearance Constraints
Processing in AC ...............................................10
5.1. Collecting Constraints ....................................11
5.1.1. Certification Path Processing ......................11
5.1.1.1. Inputs ....................................11
5.1.1.2. Initialization ............................11
5.1.1.3. Basic PKC Processing ......................12
5.1.1.4. Preparation for Certificate i+1 ...........12
5.1.1.5. Wrap-up Procedure .........................12
5.1.1.5.1. Wrap Up Clearance ..............12
5.1.1.6. Outputs ...................................12
6. Computing the Intersection of permitted-clearances and
Authority Clearance Constraints Extension ......................12
7. Computing the Intersection of securityCategories ...............13
8. Recommended securityCategories .................................15
9. Security Considerations ........................................15
10. References ....................................................16
10.1. Normative References .....................................16
10.2. Informative References ...................................16
Appendix A. ASN.1 Module ..........................................17
Acknowledgments ...................................................19
1. Introduction β¨
Okay so organizations that have a security policy can issue certificates that say what clearance values the subject holds π . The Clearance attribute shows the security policy, the clearance levels the subject has, and any extra authorization info the subject holds too. This spec uses the ASN.1 syntax for clearance from [RFC5912] π«Ά.
The Clearance attribute can go in the subject directory attributes extension of a Public Key Certificate (PKC), or it can go in a separate attribute certificate (AC) π¦.
Putting the Clearance attribute in PKCs makes sense 1) when the clearance info is pretty static and can be verified as part of the PKC issuance process (like with local databases), or 2) when credentials like PKCs need to be revoked whenever the clearance info changes. It can also be included to simplify the infrastructure, to cut down on infrastructure design cost, or to cut down on infrastructure operations cost π§ . An example of this in an operational Public Key Infrastructure (PKI) is the Defense Messaging Service. Qualified Certificates [RFC3739] are an example of attributes living in PKCs too β¨.
Putting Clearance attributes in ACs is the move when the clearance info is pretty dynamic, when changes to it don't require revoking credentials like PKCs, or when the clearance info can't be verified as part of the PKC issuance process π.
Since [RFC5755] doesn't allow a chain of ACs, the Authority Clearance Constraints extension may only appear in the PKCs of a Certification Authority (CA) or Attribute Authority (AA). It may also appear in a trust anchor (TA), or be associated with a TA π«.
Some organizations have multiple TAs, CAs, and/or AAs, and they might want to tell relying parties which clearance values from a particular TA, CA, or AA should be accepted π. For example, check out the security policies described in [RFC3114], where a policy was defined for Amoco with three security classification values (HIGHLY CONFIDENTIAL, CONFIDENTIAL, and GENERAL). To constrain a CA to just one security classification, the Authority Clearance Constraints certificate extension would be included in the CA's PKC π―.
Cross-certified domains can use the Authority Clearance Constraints certificate extension too, to show which clearance values relying parties should accept π.
This document augments the certification path validation rules for PKCs (in [RFC5280]) and ACs (in [RFC5755]) π.
1.1. Terminology
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119]. π
1.2. ASN.1 Syntax Notation
All X.509 PKC [RFC5280] extensions are defined using ASN.1 [X.680]. All X.509 AC [RFC5755] extensions are defined using ASN.1 [X.680]. Heads up, though: [X.680] is the 2002 version of ASN.1, which is the most recent one with freeware compiler support π.
2. Clearance Attribute π
Okay, the Clearance attribute in a certificate tells you what clearances the subject holds π. It uses the clearance attribute syntax, whose semantics are defined in [RFC5755], in the Attributes field. A certificate MUST include either zero or one instance of the Clearance attribute. If the Clearance attribute is present, it MUST contain a single value π .
The following object identifier identifies the Clearance attribute (either in the subject directory attributes extension of a PKC or in the Attributes field of an AC):
id-at-clearance OBJECT IDENTIFIER ::= { joint-iso-ccitt(2)
ds(5) attributeTypes(4) clearance(55) }
The ASN.1 syntax for the Clearance attribute is defined in [RFC5912], and that RFC is the normative definition π. The ASN.1 syntax for the Clearance attribute goes like this:
Clearance ::= SEQUENCE {
policyId OBJECT IDENTIFIER,
classList ClassList DEFAULT {unclassified},
securityCategories SET OF SecurityCategory
{{ SupportedSecurityCategories }} OPTIONAL
}
ClassList ::= BIT STRING {
unmarked (0),
unclassified (1),
restricted (2),
confidential (3),
secret (4),
topSecret (5)
}
SECURITY-CATEGORY ::= TYPE-IDENTIFIER
SecurityCategory { SECURITY-CATEGORY:Supported }::= SEQUENCE {
type [0] IMPLICIT SECURITY-CATEGORY.&id({Supported}),
value [1] EXPLICIT SECURITY-CATEGORY.&Type
({Supported}{@type})
}
NOTE: SecurityCategory is shown exactly as it is in [RFC5912]. That module is an EXPLICIT tagged module, whereas the module contained in this document is an IMPLICIT tagged module. π§
The Clearance attribute gets its meaning from Section 4.4.6 of [RFC5755], which is repeated here for convenience π:
- policyId identifies the security policy the clearance relates to. The policyId tells you what the classList and securityCategories fields mean ποΈ.
- classList identifies the security classifications. Six basic values are defined in bit positions 0 through 5, and more can be defined by an organizational security policy πΈ.
- securityCategories provides additional authorization information β¨.
If a trust anchor's public key is used directly, then the Clearance associated with the trust anchor, if any, should be used as the effective clearance (also defined as effective-clearance for a certification path). π«Άπ
3. Authority Clearance Constraints Certificate Extension β¨
okay so this is the bit where the trust anchor, CA PKC, or AA PKC gets to say who's allowed to have which clearances π it's giving gatekeeper energy, bestie π The Authority Clearance Constraints certificate extension tells the relying party which clearances should be acceptable for the subject of the AC, or for the subject of the last certificate in a PKC certification path π¦ It only means something in a trust anchor, a CA PKC, or an AA PKC πΈ A trust anchor, CA PKC, or AA PKC MUST include either zero or one instance of this extension π The extension MAY be critical or non-critical, so you get to pick π«Ά
No cap, if this extension is absent from a TA, a CA PKC, or an AA PKC, that means the clearance of the subject of the AC or the subject of the last certificate in a PKC certification path (the one containing that TA, CA, or AA) is not constrained by that TA, CA, or AA π Basically no limits, periodt β¨
Here's the object identifier that identifies this extension π§
id-pe-authorityClearanceConstraints OBJECT IDENTIFIER ::= {
iso(1) identified-organization(3) dod(6) internet(1) security(5)
mechanisms(5) pkix(7) pe(1) 21 }
And here's the ASN.1 syntax, which is giving very simple but very serious π
AuthorityClearanceConstraints ::= SEQUENCE SIZE (1..MAX) OF
Clearance
The syntax holds the Clearances that the CA or the AA is asserting π The sequence MUST NOT include more than one entry with the same policyId π This constraint gets enforced during Clearance and Authority Clearance Constraints Processing, as described below π₯ If there's more than one entry with the same policyId in this extension, the certification path is rejected π
4. Processing of Clearance and Authority Clearance Constraints in a PKC π
okay this section is all about how the certification path gets processed when Clearance is asserted in the PKC we're looking at πΈ
User input, the Authority Clearance Constraints certificate extension, and Clearance attribute processing together determine the effective clearance (we'll call it effective-clearance) for the end PKC π User input and the Authority Clearance Constraints extension in the TA and in each PKC (up to but not including the end PKC) in a PKC certification path both affect effective-clearance β¨ If there's more than one path to the end PKC, each path gets processed independently π¦ The process has two steps:
- collecting the Authority Clearance Constraints; and
- using the Authority Clearance Constraints in the certification path and the Clearance in the end PKC to determine the effective-clearance for the subject of the end PKC π
So if a certification path has n PKCs, the effective-clearance for the subject of the end PKC is the intersection of: 1) the Clearance attribute in the subject PKC, 2) the Authority Clearance Constraints, if present, in the trust anchor, 3) user input, and 4) all Authority Clearance Constraints present in the n-1 intermediate PKCs π§ Any effective-clearance calculation algorithm that performs this calculation and gives the same outcome as the algorithm described here counts as compliant with the requirements of this RFC π
When we process a certification path, Authority Clearance Constraints are kept in one state variable called permitted-clearances π When processing begins, permitted-clearances gets set to the user input value, or to the special value all-clearances if no Authority Clearance Constraints user input is provided π«Ά The permitted-clearances state variable gets updated by first processing the Authority Clearance Constraints associated with the trust anchor, and then each time an intermediate PKC that contains an Authority Clearance Constraints certificate extension in the path gets processed π
When we process the end PKC, the value in its Clearance attribute gets intersected with the permitted-clearances state variable π₯
The output of Clearance attribute and Authority Clearance Constraint certificate extension processing is the effective-clearance (which could also be an empty list), plus a status indicator of either success or failure π If the status indicator is failure, the process also returns a reason code π
4.1. Collecting Constraints π
Authority Clearance Constraints get collected from the user input, the trust anchor, and the intermediate PKCs in a certification path π
4.1.1. Certification Path Processing β¨
When we process Authority Clearance Constraints certificate extensions to validate a Clearance attribute in the end PKC, the processing described in this section, or an equivalent algorithm, MUST be performed in addition to the certification path validation π¦
This processing is presented as an addition to the certification path validation algorithm described in Section 6 of [RFC5280] πΈ This RFC is fully consistent with [RFC5280], but it adds the following steps to [RFC5280] π
- Ability to provide and process Authority Clearance Constraints as an additional input to the certification path processing engine, along with Trust anchor information.
- Requirement to process Authority Clearance Constraints present with trust anchor information.
4.1.1.1. Inputs π
User input may include an Authority Clearance Constraints structure, or it may leave it out π«Ά
Trust anchor information may include the Authority Clearance Constraints structure, which specifies Authority Clearance Constraints for the trust anchor π In other words, the trust anchor may be constrained or unconstrained π§
4.1.1.2. Initialization π
If the user input includes Authority Clearance Constraints, set permitted-clearances to the input value π Otherwise, set permitted-clearances to the special value all-clearances π₯
Check the permitted-clearances for the same Policy ID appearing more than once π If a policyId appears more than once in the permitted-clearances state variable, set effective-clearance to an empty list, set error code to "multiple instances of same clearance", and exit with failure π
If the trust anchor does not contain an Authority Clearance Constraints extension, continue at Section 4.1.1.3 β¨ Otherwise, execute the procedure described in Section 6 as an in-line macro, treating the trust anchor as a PKC π¦
4.1.1.3. Basic Certificate Processing π
If the PKC is the last PKC (that is, certificate n), skip the steps listed in this section π Otherwise, execute the procedure described in Section 6 as an in-line macro πΈ
4.1.1.4. Preparation for Certificate i+1 π
No additional action associated with the Clearance attribute or the Authority Clearance Constraints certificate extensions is taken during this phase of certification path validation, as described in Section 6 of [RFC5280] π«Ά
4.1.1.5. Wrap-up Procedure π
To finish up, perform the following steps for the last PKC (that is, certificate n) π§
Check the PKC and verify that it does not contain more than one instance of the Clearance attribute π If the PKC contains more than one instance of the Clearance attribute, set effective-clearance to an empty list, set the error code to "multiple instances of an attribute", and exit with failure π
If the Clearance attribute is not present in the end PKC, set effective-clearance to an empty list and exit with success β¨
Set effective-clearance to the Clearance attribute in the end PKC π₯
4.1.1.5.1. Wrap Up Clearance π
Check effective-clearance and verify that it does not contain more than one value π If effective-clearance contains more than one value, set effective-clearance to an empty list, set error code to "multiple values", and exit with failure π
If permitted-clearances is an empty list, set effective-clearance to an empty list and exit with success π¦
If permitted-clearances has the special value all-clearances, exit with success πΈ
Let us say policyId in effective-clearance is X π
If the policyId X in effective-clearance is absent from the permitted-clearances, set effective-clearance to an empty list and exit with success π
Assign a value of one (1) to those classList bits in effective-clearance that have a value of one (1) both in effective-clearance and in the clearance structure in permitted-clearances associated with policyId X π«Ά Assign a value of zero (0) to all other classList bits in effective-clearance π
If none of the classList bits have a value of one (1) in effective-clearance, set effective-clearance to an empty list and exit with success π§
Set the securityCategories in effective-clearance to the intersection of securityCategories in effective-clearance and securityCategories for policyId X in permitted-clearances, using the algorithm described in Section 7 π Note that an empty SET is represented by simply omitting the SET π
Exit with success β¨
4.1.1.6. Outputs π¦
If certification path validation processing succeeds, effective-clearance contains the subject's effective clearance for this certification path π₯ Processing also returns a success or failure indication, plus the reason for failure if applicable π
5. Clearance and Authority Clearance Constraints Processing in AC π
Okay so this section is all about what happens when a Clearance is asserted in an AC π. The cast of characters here is: one TA, zero or more CA PKCs, zero or one AA PKC, and one AC.
User input, the Authority Clearance Constraints certificate extension, and Clearance attribute processing all team up to figure out the effective-clearance for the subject of the AC β¨. User input and the Authority Clearance Constraints certificate extensions in the TA and in each PKC (up to and including the AA PKC) in a certification path all affect that result. If there's more than one path to the AA PKC, each path gets processed on its own π¦. The whole thing happens in two steps:
- collecting the Authority Clearance Constraints; and
- using the Authority Clearance Constraints in the PKC certification path and the Clearance in the AC to work out the effective-clearance for the subject of the AC π₯.
The effective-clearance for the subject of the AC is the intersection of: 1) the Clearance attribute in the subject AC, 2) the Authority Clearance Constraints, if they're present, in the trust anchor, 3) user input, and 4) all the Authority Clearance Constraints present in the PKC certification path from the TA to the AA π. Any effective-clearance calculation algorithm that does this and gives the same outcome as the one described here counts as compliant with this RFC, so you've got room to be creative π.
The Authority Clearance Constraints live in one state variable called permitted-clearances π§. When processing begins, permitted-clearances gets set to the user input, or to the special value all-clearances if no Authority Clearance Constraints user input was provided. The permitted-clearances state variable gets updated first by processing the Authority Clearance Constraints tied to the trust anchor, and then again each time a PKC (other than the AC holder PKC) that has an Authority Clearance Constraints certificate extension in the path gets processed π.
When the AC is processed, the value in its Clearance attribute gets intersected with the permitted-clearances state variable π.
The output of Clearance attribute and Authority Clearance Constraint certificate extension processing is the effective-clearance, which could also be an empty list. The output also includes success or failure, with a reason code if it's a failure π.
5.1. Collecting Constraints
Authority Clearance Constraints get collected from the user input, the trust anchor, and all the PKCs in the AA PKC certification path π«Ά.
5.1.1. Certification Path Processing
When you process Authority Clearance Constraints certificate extensions to validate a Clearance attribute in the AC, the processing described in this section, or an equivalent algorithm, MUST be performed in addition to the certification path validation π. This processing is presented as an addition to the PKC certification path validation algorithm described in Section 6 of [RFC5280] for the AA PKC certification path, and to the algorithm described in Section 5 of [RFC5755] for the AC validation. Also check out the note related to [RFC5280] augmentation in Section 4.1.1 πΈ.
5.1.1.1. Inputs
Same as Section 4.1.1.1.
In addition, let's assume that the PKC certification path for the AA consists of n certificates π§.
5.1.1.2. Initialization
Same as Section 4.1.1.2.
5.1.1.3. Basic PKC Processing
Same as Section 4.1.1.3, except that the logic is applied to all n PKCs π .
5.1.1.4. Preparation for Certificate i+1
Same as Section 4.1.1.4.
5.1.1.5. Wrap-up Procedure
To finish up, perform the following steps for the AC β¨.
Examine the AC and verify that it doesn't contain more than one instance of the Clearance attribute. If the AC has more than one instance of the Clearance attribute, set effective-clearance to an empty list, set the error code to "multiple instances of an attribute", and exit with failure π.
If the Clearance attribute isn't present in the AC, set effective-clearance to an empty list and exit with success π¦.
Otherwise, set effective-clearance to the Clearance attribute in the AC π.
5.1.1.5.1. Wrap Up Clearance
Same as Section 4.1.1.5.1.
5.1.1.6. Outputs
Same as Section 4.1.1.6.
In addition, apply the AC processing rules described in Section 5 of [RFC5755] π.
6. Computing the Intersection of permitted-clearances and Authority Clearance Constraints Extension π§
Examine the PKC and verify that it doesn't contain more than one instance of the Authority Clearance Constraints extension. If the PKC has more than one instance of the Authority Clearance Constraints extension, set effective-clearance to an empty list, set the error code to "multiple extension instances", and exit with failure π.
If the Authority Clearance Constraints certificate extension isn't present in the PKC, no action is taken and the permitted-clearances value stays unchanged π«Ά.
If the Authority Clearance Constraints certificate extension is present in the PKC, set the variable temp-clearances to the value of that extension. Then examine temp-clearances for any Policy ID that shows up more than once. If a policyId appears more than once in the temp-clearances state variable, set effective-clearance to an empty list, set the error code to "multiple instances of same clearance", and exit with failure π.
If the Authority Clearance Constraints certificate extension is present in the PKC and permitted-clearances contains the all-clearances special value, assign permitted-clearances the value of temp-clearances π₯.
If the Authority Clearance Constraints certificate extension is present in the PKC and permitted-clearances does not contain the all-clearances special value, take the intersection of temp-clearances and permitted-clearances. Do this by repeating the following steps for each clearance in the permitted-clearances state variable:
- If the policyId associated with the clearance is absent from temp-clearances, delete the clearance structure associated with that policyId from the permitted-clearances state variable.
- If the policyId is present in temp-clearances:
- For every classList bit, assign the classList bit a value of one (1) for the policyId in the permitted-clearances state variable if the bit is one (1) in both the permitted-clearances state variable and temp-clearances for that policyId. Otherwise, assign the bit a value of zero (0) β¨.
- If no bits are one (1) for the classList, delete the clearance structure associated with the policyId from the permitted-clearances state variable, and skip the next step of processing securityCategories π.
- For the policyId in permitted-clearances, set securityCategories to the intersection of the securityCategories for that policyId in permitted-clearances and in temp-clearances, using the algorithm described in Section 7. Note that an empty SET is represented by simply omitting the SET π§.
7. Computing the Intersection of securityCategories π¦
The algorithm described here has the idempotent, associative, and commutative properties π.
This section describes how to compute the intersection of securityCategories A and B. It uses the state variable temp-set and also uses temporary variables X and Y πΈ.
Set the SET temp-set to empty.
Set X = A and Y = B.
If SET X is empty (i.e., securityCategories is absent), return temp-set.
If SET Y is empty (i.e., securityCategories is absent), return temp-set.
For each type OID in X, if all the elements for the type OID in X and if and only if all the elements for that type OID in Y are identical, add those elements to temp-set and delete those elements from X and Y. Note: identical means that if the element with the type OID and given value is present in X, it is also present in Y with the same type OID and given value, and vice versa. Delete the elements from X and from Y π.
If SET X is empty (i.e., securityCategories is absent), return temp-set.
If SET Y is empty (i.e., securityCategories is absent), return temp-set.
For every element (i.e., SecurityCategory) in the SET X, carry out the following steps:
- If there is no element in SET Y with the same type OID as the type OID in the element from SET X, go to step 5.
- If there is an element in SET Y with the same type OID and value as in the element in SET X, carry out the following steps:
- a) If the element is not present in the SET temp-set, add an element containing the type OID and the value to the SET temp-set.
- If the processing semantics of the type OID in the element in SET X are not known, go to step 5.
- For each element in SET Y, do the following:
- a) If the type OID of the element in SET Y is not the same as the element in SET X being processed, go to step 4.d.
- b) Perform the type-OID-specific intersection of the value in the element in SET X with the value in the element in SET Y.
- c) If the intersection is not empty, and the element representing the type OID and intersection value is not already present in temp-set, add the element containing the type OID and intersection value as an element to temp-set.
- d) Continue to the next element in SET Y.
- If more elements remain in SET X, process the next element starting with step 1.
Return temp-set π.
8. Recommended securityCategories π
This RFC also includes a recommended securityCategories object, as follows:
recommended-category SECURITY-CATEGORY ::=
{ BIT STRING IDENTIFIED BY OID }
The above structure is provided as an example. To use this structure, the object identifier (OID) needs to be registered, and the semantics of the bits in the bit string need to be enumerated π§.
Note that the type-specific intersection of two values for this type is simply setting the bits that are set in both values. If the resulting intersection has none of the bits set, the intersection is considered empty π.
9. Security Considerations π
Okay, this part is seriously important, bestie π. Certificate issuers have to recognize that the absence of Authority Clearance Constraints in a TA, in a CA certificate, or in an AA certificate means that, in terms of clearance, the subject Authority is not constrained π .
Absence of the Clearance attribute in a certificate means that the subject has not been assigned any clearance π«Ά.
If there's no Clearance associated with a TA, it means the TA has not been assigned any clearance π¦.
If the local security policy considers the clearance held by a subject, or the clearances supported by a CA or AA, to be sensitive, then the Clearance attribute or Authority Clearance Constraints should only be included if the subject's and Authority's certificates can be privacy protected. Also in this case, distribution of trust anchors and associated Authority Clearance Constraints extension or Clearance must also be privacy protected π₯.
10. References π
10.1. Normative References π
Okay bestie, these are the docs this spec is built on, so they're required reading. Here they are, exactly as cited:
- [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.
- [RFC5280] Cooper, D. et. al., "Internet X.509 Public Key Infrastructure Certificate and Certification Revocation List (CRL) Profile", RFC 5280, May 2008.
- [RFC5755] Farrell, S., Housley, R., and S. Turner, "An Internet Attribute Certificate Profile for Authorization", RFC 5755, January 2010.
- [RFC5912] Hoffman, P. and J. Schaad, "New ASN.1 Modules for the Public Key Infrastructure Using X.509 (PKIX) RFC 5912, June 2010.
- [X.680] ITU-T Recommendation X.680 (2002) | ISO/IEC 8824-1:2002. Information Technology - Abstract Syntax Notation One.
10.2. Informative References π§
These ones are more of a "good to know" vibe, so they're not strictly required but they're super helpful for context. β¨
- [RFC3114] Nicolls, W., "Implementing Company Classification Policy with the S/MIME Security Label", RFC 3114, May 2002.
- [RFC3739] Santesson, S., Nystrom, M., and T. Polk, "Internet X.509 Public Key Infrastructure: Qualified Certificates Profile", RFC 3739, March 2004.
Appendix A. ASN.1 Module π
Okay so this appendix is where the actual ASN.1 definitions live. It's giving formal, and it's the normative version of everything above, written in ASN.1 as defined in X.680. Yes it's a lot, but it's the source of truth. π«Ά
ClearanceConstraints { iso(1) identified-organization(3) dod(6)
internet(1) security(5) mechanisms(5) pkix(7) mod(0) 46 }
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
-- EXPORTS ALL --
IMPORTS
-- IMPORTS from [RFC5912]
id-at-clearance, Clearance
FROM PKIXAttributeCertificate-2009
{ iso(1) identified-organization(3) dod(6) internet(1)
security(5) mechanisms(5) pkix(7) id-mod(0)
id-mod-attribute-cert-02(47)
}
-- IMPORTS from [RFC5912]
EXTENSION, SECURITY-CATEGORY
FROM PKIX-CommonTypes-2009
{ iso(1) identified-organization(3) dod(6) internet(1)
security(5) mechanisms(5) pkix(7) id-mod(0)
id-mod-pkixCommon-02(57)
}
;
-- Clearance attribute OID and syntax
-- The following is a 2002 ASN.1 version for clearance.
-- It is included for convenience.
-- id-at-clearance OBJECT IDENTIFIER ::=
-- { joint-iso-ccitt(2) ds(5) attributeTypes(4) clearance (55) }
-- Clearance ::= SEQUENCE {
-- policyId OBJECT IDENTIFIER,
-- classList ClassList DEFAULT {unclassified},
-- securityCategories SET OF SecurityCategory
-- {{SupportSecurityCategories }} OPTIONAL
-- }
-- ClassList ::= BIT STRING {
-- unmarked (0),
-- unclassified (1),
-- restricted (2),
-- confidential (3),
-- secret (4),
-- topSecret (5)
-- }
-- SECURITY-CATEGORY ::= TYPE-IDENTIFIER
-- NOTE that the module SecurityCategory is taken from a module
-- that uses EXPLICIT tags [RFC5912]. If Clearance was not imported
-- from [RFC5912] and the comments were removed from the ASN.1
-- contained herein, then the IMPLICIT in type could also be removed
-- with no impact on the encoding.
-- SecurityCategory { SECURITY-CATEGORY:Supported } ::= SEQUENCE {
-- type [0] IMPLICIT SECURITY-CATEGORY.&id({Supported}),
-- value [1] EXPLICIT SECURITY-CATEGORY.&Type
-- ({Supported}{@type})
-- }
-- Authority Clearance Constraints certificate extension OID
-- and syntax
id-pe-clearanceConstraints OBJECT IDENTIFIER ::=
{ iso(1) identified-organization(3) dod(6) internet(1) security(5)
mechanisms(5) pkix(7) pe(1) 21 }
authorityClearanceConstraints EXTENSION ::= {
SYNTAX AuthorityClearanceConstraints
IDENTIFIED BY id-pe-clearanceConstraints
}
AuthorityClearanceConstraints ::= SEQUENCE SIZE (1..MAX) OF Clearance
END
Acknowledgments πΈ
Huge shoutout to Mark Saaltink for his amazing contributions to this doc, he's literally a legend. π
We also want to thank Francis Dupont, Pasi Eronen, Adrian Farrel, Dan Romascanu, and Stefan Santesson for reviewing and commenting. The people who read it closely are the real MVPs. π₯°
Authors' Addresses π
Here's who wrote this, and how to reach them:
Sean Turner
IECA, Inc.
3057 Nutley Street, Suite 106
Fairfax, VA 22031
USA
EMail: turners@ieca.com
Santosh Chokhani
CygnaCom Solutions, Inc.
EMail: SChokhani@cygnacom.com
And that's a wrap on RFC 5913! πβ¨ Honestly the whole thing is iconic. π
π¦ where this page comes from
- ietf: rfc5913 2010-06
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms