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 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061
|
<pre>Internet Engineering Task Force (IETF) S. Turner
Request for Comments: 5913 IECA
Category: Standards Track S. Chokhani
ISSN: 2070-1721 Cygnacom Solutions
June 2010
<span class="h1">Clearance Attribute and Authority Clearance Constraints</span>
<span class="h1">Certificate Extension</span>
Abstract
This document defines the syntax and semantics for the Clearance
attribute and the Authority Clearance Constraints extension in X.509
certificates. The Clearance attribute is used to indicate the
clearance held by the subject. The Clearance attribute may appear in
the subject directory attributes extension of a public key
certificate or in the attributes field of an attribute certificate.
The Authority Clearance Constraints certificate extension values in a
Trust Anchor (TA), in Certification Authority (CA) public key
certificates, and in an Attribute Authority (AA) public key
certificate in a certification path for a given subject constrain the
effective Clearance of the subject.
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 <a href="./rfc5741#section-2">Section 2 of RFC 5741</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc5913">http://www.rfc-editor.org/info/rfc5913</a>.
Copyright Notice
Copyright (c) 2010 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
<span class="grey">Turner & Chokhani Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc5913">RFC 5913</a> Clearance and Authority Clearance Constraints June 2010</span>
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
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-3">3</a>
<a href="#section-1.1">1.1</a>. Terminology ................................................<a href="#page-4">4</a>
<a href="#section-1.2">1.2</a>. ASN.1 Syntax Notation ......................................<a href="#page-4">4</a>
<a href="#section-2">2</a>. Clearance Attribute .............................................<a href="#page-4">4</a>
<a href="#section-3">3</a>. Authority Clearance Constraints Certificate Extension ...........<a href="#page-5">5</a>
4. Processing Clearance and Authority Clearance Constraints
in a PKC ........................................................<a href="#page-6">6</a>
<a href="#section-4.1">4.1</a>. Collecting Constraints .....................................<a href="#page-7">7</a>
<a href="#section-4.1.1">4.1.1</a>. Certification Path Processing .......................<a href="#page-7">7</a>
<a href="#section-4.1.1.1">4.1.1.1</a>. Inputs .....................................<a href="#page-8">8</a>
<a href="#section-4.1.1.2">4.1.1.2</a>. Initialization .............................<a href="#page-8">8</a>
<a href="#section-4.1.1.3">4.1.1.3</a>. Basic Certificate Processing ...............<a href="#page-8">8</a>
<a href="#section-4.1.1.4">4.1.1.4</a>. Preparation for Certificate i+1 ............<a href="#page-9">9</a>
<a href="#section-4.1.1.5">4.1.1.5</a>. Wrap-up Procedure ..........................<a href="#page-9">9</a>
<a href="#section-4.1.1.5.1">4.1.1.5.1</a>. Wrap Up Clearance ...............<a href="#page-9">9</a>
<a href="#section-4.1.1.6">4.1.1.6</a>. Outputs ...................................<a href="#page-10">10</a>
5. Clearance and Authority Clearance Constraints
Processing in AC ...............................................<a href="#page-10">10</a>
<a href="#section-5.1">5.1</a>. Collecting Constraints ....................................<a href="#page-11">11</a>
<a href="#section-5.1.1">5.1.1</a>. Certification Path Processing ......................<a href="#page-11">11</a>
<a href="#section-5.1.1.1">5.1.1.1</a>. Inputs ....................................<a href="#page-11">11</a>
<a href="#section-5.1.1.2">5.1.1.2</a>. Initialization ............................<a href="#page-11">11</a>
<a href="#section-5.1.1.3">5.1.1.3</a>. Basic PKC Processing ......................<a href="#page-12">12</a>
<a href="#section-5.1.1.4">5.1.1.4</a>. Preparation for Certificate i+1 ...........<a href="#page-12">12</a>
<a href="#section-5.1.1.5">5.1.1.5</a>. Wrap-up Procedure .........................<a href="#page-12">12</a>
<a href="#section-5.1.1.5.1">5.1.1.5.1</a>. Wrap Up Clearance ..............<a href="#page-12">12</a>
<a href="#section-5.1.1.6">5.1.1.6</a>. Outputs ...................................<a href="#page-12">12</a>
6. Computing the Intersection of permitted-clearances and
Authority Clearance Constraints Extension ......................<a href="#page-12">12</a>
<a href="#section-7">7</a>. Computing the Intersection of securityCategories ...............<a href="#page-13">13</a>
<a href="#section-8">8</a>. Recommended securityCategories .................................<a href="#page-15">15</a>
<a href="#section-9">9</a>. Security Considerations ........................................<a href="#page-15">15</a>
<a href="#section-10">10</a>. References ....................................................<a href="#page-16">16</a>
<a href="#section-10.1">10.1</a>. Normative References .....................................<a href="#page-16">16</a>
<a href="#section-10.2">10.2</a>. Informative References ...................................<a href="#page-16">16</a>
<a href="#appendix-A">Appendix A</a>. ASN.1 Module ..........................................<a href="#page-17">17</a>
Acknowledgments ...................................................<a href="#page-19">19</a>
<span class="grey">Turner & Chokhani Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc5913">RFC 5913</a> Clearance and Authority Clearance Constraints June 2010</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
Organizations that have implemented a security policy can issue
certificates that include an indication of the clearance values held
by the subject. The Clearance attribute indicates the security
policy, the clearance levels held by the subject, and additional
authorization information held by the subject. This specification
makes use of the ASN.1 syntax for clearance from [<a href="./rfc5912" title="P. and J. Schaad">RFC5912</a>].
The Clearance attribute may be placed in the subject directory
attributes extension of a Public Key Certificate (PKC) or may be
placed in a separate attribute certificate (AC).
The placement of the Clearance attribute in PKCs is suitable 1) when
the clearance information is relatively static and can be verified as
part of the PKC issuance process (e.g., using local databases) or 2)
when the credentials such as PKCs need to be revoked when the
clearance information changes. The Clearance attribute may also be
included to simplify the infrastructure, to reduce the infrastructure
design cost, or to reduce the infrastructure operations cost. An
example of placement of the Clearance attribute in PKCs in
operational Public Key Infrastructure (PKI) is the Defense Messaging
Service. An example of placement of attributes in PKCs is Qualified
Certificates [<a href="./rfc3739" title=""Internet X.509 Public Key Infrastructure: Qualified Certificates Profile"">RFC3739</a>].
The placement of Clearance attributes in ACs is desirable when the
clearance information is relatively dynamic and changes in the
clearance information do not require revocation of credentials such
as PKCs, or the clearance information cannot be verified as part of
the PKC issuance process.
Since [<a href="./rfc5755" title=""An Internet Attribute Certificate Profile for Authorization"">RFC5755</a>] does not permit a chain of ACs, the Authority
Clearance Constraints extension may only appear in the PKCs of a
Certification Authority (CA) or Attribute Authority (AA). The
Authority Clearance Constraints extension may also appear in a trust
anchor (TA) or may be associated with a TA.
Some organizations have multiple TAs, CAs, and/or AAs, and these
organizations may wish to indicate to relying parties which clearance
values from a particular TA, CA, or AA should be accepted. For
example, consider the security policies described in [<a href="./rfc3114" title=""Implementing Company Classification Policy with the S/MIME Security Label"">RFC3114</a>], where
a security policy has been defined for Amoco with three security
classification values (HIGHLY CONFIDENTIAL, CONFIDENTIAL, and
GENERAL). To constrain a CA for just one security classification,
the Authority Clearance Constraints certificate extension would be
included in the CA's PKC.
<span class="grey">Turner & Chokhani Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc5913">RFC 5913</a> Clearance and Authority Clearance Constraints June 2010</span>
Cross-certified domains can also make use of the Authority Clearance
Constraints certificate extension to indicate which clearance values
should be acceptable to relying parties.
This document augments the certification path validation rules for
PKCs (in [<a href="./rfc5280" title=""Internet X.509 Public Key Infrastructure Certificate and Certification Revocation List (CRL) Profile"">RFC5280</a>]) and ACs (in [<a href="./rfc5755" title=""An Internet Attribute Certificate Profile for Authorization"">RFC5755</a>]).
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Terminology</span>
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 [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="h3"><a class="selflink" id="section-1.2" href="#section-1.2">1.2</a>. ASN.1 Syntax Notation</span>
All X.509 PKC [<a href="./rfc5280" title=""Internet X.509 Public Key Infrastructure Certificate and Certification Revocation List (CRL) Profile"">RFC5280</a>] extensions are defined using ASN.1 [<a href="#ref-X.680">X.680</a>].
All X.509 AC [<a href="./rfc5755" title=""An Internet Attribute Certificate Profile for Authorization"">RFC5755</a>] extensions are defined using ASN.1 [<a href="#ref-X.680">X.680</a>].
Note that [<a href="#ref-X.680">X.680</a>] is the 2002 version of ASN.1, which is the most
recent version with freeware compiler support.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Clearance Attribute</span>
The Clearance attribute in a certificate indicates the clearances
held by the subject. It uses the clearance attribute syntax, whose
semantics are defined in [<a href="./rfc5755" title=""An Internet Attribute Certificate Profile for Authorization"">RFC5755</a>], 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 [<a href="./rfc5912" title="P. and J. Schaad">RFC5912</a>]
and that RFC provides the normative definition. The ASN.1 syntax for
Clearance attribute is as follows:
Clearance ::= SEQUENCE {
policyId OBJECT IDENTIFIER,
classList ClassList DEFAULT {unclassified},
securityCategories SET OF SecurityCategory
{{ SupportedSecurityCategories }} OPTIONAL
}
<span class="grey">Turner & Chokhani Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc5913">RFC 5913</a> Clearance and Authority Clearance Constraints June 2010</span>
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 [<a href="./rfc5912" title="P. and J. Schaad">RFC5912</a>]. That
module is an EXPLICIT tagged module, whereas the module contained in
this document is an IMPLICIT tagged module.
The Clearance attribute takes its meaning from <a href="./rfc5755#section-4.4.6">Section 4.4.6 of
[RFC5755]</a>, which is repeated here for convenience:
- policyId identifies the security policy to which the clearance
relates. The policyId indicates the semantics of the classList
and securityCategories fields.
- classList identifies the security classifications. Six basic
values are defined in bit positions 0 through 5, and more may 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).
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Authority Clearance Constraints Certificate Extension</span>
The Authority Clearance Constraints certificate extension indicates
to the relying party what clearances should be acceptable for the
subject of the AC or the subject of the last certificate in a PKC
certification path. It is only meaningful in a trust anchor, a CA
PKC, or an AA PKC. A trust anchor, CA PKC, or AA PKC MUST include
<span class="grey">Turner & Chokhani Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc5913">RFC 5913</a> Clearance and Authority Clearance Constraints June 2010</span>
either zero or one instance of the Authority Clearance Constraints
certificate extension. The Authority Clearance Constraints
certificate extension MAY be critical or non-critical.
Absence of this certificate extension in a TA, a CA PKC, or an AA PKC
indicates that clearance of the subject of the AC or the subject of
the last certificate in a PKC certification path containing the TA,
the CA, or the AA is not constrained by the respective TA, CA, or AA.
The following object identifier identifies the Authority Clearance
Constraints certificate extension:
id-pe-authorityClearanceConstraints OBJECT IDENTIFIER ::= {
iso(1) identified-organization(3) dod(6) internet(1) security(5)
mechanisms(5) pkix(7) pe(1) 21 }
The ASN.1 syntax for the Authority Clearance Constraints certificate
extension is as follows:
AuthorityClearanceConstraints ::= SEQUENCE SIZE (1..MAX) OF
Clearance
The syntax for the Authority Clearance Constraints certificate
extension contains Clearances that the CA or the AA asserts. The
sequence MUST NOT include more than one entry with the same policyId.
This constraint is enforced during Clearance and Authority Clearance
Constraints Processing as described below. If more than one entry
with the same policyId is present in the Authority Clearance
Constraints certificate extension, the certification path is
rejected.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Processing of Clearance and Authority Clearance Constraints in a PKC</span>
This section describes the certification path processing when
Clearance is asserted in the PKC under consideration.
User input, the Authority Clearance Constraints certificate
extension, and Clearance attribute processing determines the
effective clearance (henceforth called effective-clearance) for the
end PKC. User input and the Authority Clearance Constraints
certificate extension in the TA and in each PKC (up to but not
including the end PKC) in a PKC certification path impact the
effective-clearance. If there is more than one path to the end PKC,
each path is processed independently. The process involves two
steps:
<span class="grey">Turner & Chokhani Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc5913">RFC 5913</a> Clearance and Authority Clearance Constraints June 2010</span>
1) collecting the Authority Clearance Constraints; and
2) 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.
Assuming a certification path consisting of 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 n-1
intermediate PKCs. Any effective-clearance calculation algorithm
that performs this calculation and provides the same outcome as the
one from the algorithm described herein is considered compliant with
the requirements of this RFC.
When processing a certification path, Authority Clearance Constraints
are maintained in one state variable: permitted-clearances. When
processing begins, permitted-clearances is initialized to the user
input value or the special value all-clearances if Authority
Clearance Constraints user input is not provided. The permitted-
clearances state variable is updated by first processing 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 is processed.
When processing the end PKC, the value in the Clearance attribute in
the end PKC is 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), and a status indicator of either
success or failure. If the status indicator is failure, then the
process also returns a reason code.
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. Collecting Constraints</span>
Authority Clearance Constraints are collected from the user input,
the trust anchor, and the intermediate PKCs in a certification path.
<span class="h4"><a class="selflink" id="section-4.1.1" href="#section-4.1.1">4.1.1</a>. Certification Path Processing</span>
When processing Authority Clearance Constraints certificate
extensions for the purposes of validating 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.
<span class="grey">Turner & Chokhani Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc5913">RFC 5913</a> Clearance and Authority Clearance Constraints June 2010</span>
The processing is presented as an addition to the certification path
validation algorithm described in <a href="./rfc5280#section-6">Section 6 of [RFC5280]</a>. Note that
this RFC is fully consistent with [<a href="./rfc5280" title=""Internet X.509 Public Key Infrastructure Certificate and Certification Revocation List (CRL) Profile"">RFC5280</a>]; however, it augments
[<a href="./rfc5280" title=""Internet X.509 Public Key Infrastructure Certificate and Certification Revocation List (CRL) Profile"">RFC5280</a>] with the following steps:
o Ability to provide and process Authority Clearance Constraints
as an additional input to the certification path processing
engine with Trust anchor information.
o Requirement to process Authority Clearance Constraints present
with trust anchor information.
<span class="h5"><a class="selflink" id="section-4.1.1.1" href="#section-4.1.1.1">4.1.1.1</a>. Inputs</span>
User input may include an Authority Clearance Constraints structure
or omit it.
Trust anchor information may include the Authority Clearance
Constraints structure to specify Authority Clearance Constraints for
the trust anchor. In other words, the trust anchor may be
constrained or unconstrained.
<span class="h5"><a class="selflink" id="section-4.1.1.2" href="#section-4.1.1.2">4.1.1.2</a>. Initialization</span>
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.
Examine the permitted-clearances for the same Policy ID appearing
more then 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 <a href="#section-4.1.1.3">Section 4.1.1.3</a>. Otherwise,
execute the procedure described in <a href="#section-6">Section 6</a> as an in-line macro by
treating the trust anchor as a PKC.
<span class="h5"><a class="selflink" id="section-4.1.1.3" href="#section-4.1.1.3">4.1.1.3</a>. Basic Certificate Processing</span>
If the PKC is the last PKC (i.e., certificate n), skip the steps
listed in this section. Otherwise, execute the procedure described
in <a href="#section-6">Section 6</a> as an in-line macro.
<span class="grey">Turner & Chokhani Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc5913">RFC 5913</a> Clearance and Authority Clearance Constraints June 2010</span>
<span class="h5"><a class="selflink" id="section-4.1.1.4" href="#section-4.1.1.4">4.1.1.4</a>. Preparation for Certificate i+1</span>
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
<a href="./rfc5280#section-6">Section 6 of [RFC5280]</a>.
<span class="h5"><a class="selflink" id="section-4.1.1.5" href="#section-4.1.1.5">4.1.1.5</a>. Wrap-up Procedure</span>
To complete the processing, perform the following steps for the last
PKC (i.e., certificate n).
Examine 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.
<span class="h6"><a class="selflink" id="section-4.1.1.5.1" href="#section-4.1.1.5.1">4.1.1.5.1</a>. Wrap Up Clearance</span>
Examine 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 those classList bits in effective-clearance a value of one (1)
that have a value of one (1) both in effective-clearance and in the
clearance structure in permitted-clearances associated with policyId
X. Assign all other classList bits in effective-clearance a value of
zero (0).
<span class="grey">Turner & Chokhani Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc5913">RFC 5913</a> Clearance and Authority Clearance Constraints June 2010</span>
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 <a href="#section-7">Section 7</a>. Note that an empty SET is represented by simply
omitting the SET.
Exit with success.
<span class="h5"><a class="selflink" id="section-4.1.1.6" href="#section-4.1.1.6">4.1.1.6</a>. Outputs</span>
If certification path validation processing succeeds, effective-
clearance contains the subject's effective clearance for this
certification path. Processing also returns success or failure
indication and reason for failure, if applicable.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Clearance and Authority Clearance Constraints Processing in AC</span>
This section describes the certification path processing when
Clearance is asserted in an AC. Relevant to processing are: one TA;
0 or more CA PKCs; 0 or 1 AA PKC; and 1 AC.
User input, Authority Clearance Constraints certificate extension,
and Clearance attribute processing determine the effective clearance
(henceforth called 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 impact the effective-clearance. If there is
more than one path to the AA PKC, each path is processed
independently. The process involves two steps:
1) collecting the Authority Clearance Constraints; and
2) using the Authority Clearance Constraints in the PKC
certification path and the Clearance in the AC to determine 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 present, in trust anchor, 3) user input,
and 4) all Authority Clearance Constraints present in the PKC
certification path from the TA to the AA. Any effective-clearance
calculation algorithm that performs this calculation and provides the
same outcome as the one from the algorithm described herein is
considered compliant with the requirements of this RFC.
<span class="grey">Turner & Chokhani Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc5913">RFC 5913</a> Clearance and Authority Clearance Constraints June 2010</span>
The Authority Clearance Constraints are maintained in one state
variable: permitted-clearances. When processing begins, permitted-
clearances is initialized to user input or the special value all-
clearances if Authority Clearance Constraints user input is not
provided. The permitted-clearances state variable is updated by
first processing the Authority Clearance Constraints associated with
the trust anchor, and then each time a PKC (other than AC holder PKC)
that contains an Authority Clearance Constraints certificate
extension in the path is processed.
When processing the AC, the value in the Clearance attribute in the
AC is 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; and success or failure with a reason
code for failure.
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Collecting Constraints</span>
Authority Clearance Constraints are collected from the user input,
the trust anchor, and all the PKCs in the AA PKC certification path.
<span class="h4"><a class="selflink" id="section-5.1.1" href="#section-5.1.1">5.1.1</a>. Certification Path Processing</span>
When processing Authority Clearance Constraints certificate
extensions for the purpose of validating 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. The processing is presented as an addition to the PKC
certification path validation algorithm described in <a href="./rfc5280#section-6">Section 6 of
[RFC5280]</a> for the AA PKC certification path and the algorithm
described in <a href="./rfc5755#section-5">Section 5 of [RFC5755]</a> for the AC validation. Also see
the note related to [<a href="./rfc5280" title=""Internet X.509 Public Key Infrastructure Certificate and Certification Revocation List (CRL) Profile"">RFC5280</a>] augmentation in <a href="#section-4.1.1">Section 4.1.1</a>.
<span class="h5"><a class="selflink" id="section-5.1.1.1" href="#section-5.1.1.1">5.1.1.1</a>. Inputs</span>
Same as <a href="#section-4.1.1.1">Section 4.1.1.1</a>.
In addition, let us assume that the PKC certification path for the AA
consists of n certificates.
<span class="h5"><a class="selflink" id="section-5.1.1.2" href="#section-5.1.1.2">5.1.1.2</a>. Initialization</span>
Same as <a href="#section-4.1.1.2">Section 4.1.1.2</a>.
<span class="grey">Turner & Chokhani Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc5913">RFC 5913</a> Clearance and Authority Clearance Constraints June 2010</span>
<span class="h5"><a class="selflink" id="section-5.1.1.3" href="#section-5.1.1.3">5.1.1.3</a>. Basic PKC Processing</span>
Same as <a href="#section-4.1.1.3">Section 4.1.1.3</a> except that the logic is applied to all n
PKCs.
<span class="h5"><a class="selflink" id="section-5.1.1.4" href="#section-5.1.1.4">5.1.1.4</a>. Preparation for Certificate i+1</span>
Same as <a href="#section-4.1.1.4">Section 4.1.1.4</a>.
<span class="h5"><a class="selflink" id="section-5.1.1.5" href="#section-5.1.1.5">5.1.1.5</a>. Wrap-up Procedure</span>
To complete the processing, perform the following steps for the AC.
Examine the AC and verify that it does not contain more than one
instance of the Clearance attribute. If the AC 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 AC, set effective-
clearance to an empty list and exit with success.
Set effective-clearance to the Clearance attribute in the AC.
<span class="h6"><a class="selflink" id="section-5.1.1.5.1" href="#section-5.1.1.5.1">5.1.1.5.1</a>. Wrap Up Clearance</span>
Same as <a href="#section-4.1.1.5.1">Section 4.1.1.5.1</a>.
<span class="h5"><a class="selflink" id="section-5.1.1.6" href="#section-5.1.1.6">5.1.1.6</a>. Outputs</span>
Same as <a href="#section-4.1.1.6">Section 4.1.1.6</a>.
In addition, apply AC processing rules described in <a href="./rfc5755#section-5">Section 5 of
[RFC5755]</a>.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Computing the Intersection of permitted-clearances and Authority</span>
<span class="h2"> Clearance Constraints Extension</span>
Examine the PKC and verify that it does not contain more than one
instance of the Authority Clearance Constraints extension. If the
PKC contains more than one instance of Authority Clearance
Constraints extension, set effective-clearance to an empty list, set
error code to "multiple extension instances", and exit with failure.
If the Authority Clearance Constraints certificate extension is not
present in the PKC, no action is taken, and the permitted-clearances
value is unchanged.
<span class="grey">Turner & Chokhani Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc5913">RFC 5913</a> Clearance and Authority Clearance Constraints June 2010</span>
If the Authority Clearance Constraints certificate extension is
present in the PKC, set the variable temp-clearances to the value of
the Authority Clearance Constraints certificate extension. Examine
the temp-clearances for the same Policy ID appearing more then once.
If a policyId appears more than once in the temp-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 Authority Clearance Constraints certificate extension is
present in the PKC and permitted-clearances contains the all-
clearances special value, then 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 by repeating the following steps for each
clearance in the permitted-clearances state variable:
- If the policyId associated with the clearance is absent in the
temp-clearances, delete the clearance structure associated with
the 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 the 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 the
securityCategories to the intersection of securityCategories
for the policyId in permitted-clearances and in temp-
clearances using the algorithm described in <a href="#section-7">Section 7</a>. Note
that an empty SET is represented by simply omitting the SET.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Computing the Intersection of securityCategories</span>
The algorithm described here has the idempotent, associative, and
commutative properties.
<span class="grey">Turner & Chokhani Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc5913">RFC 5913</a> Clearance and Authority Clearance Constraints June 2010</span>
This section describes how to compute the intersection of
securityCategories A and B. It uses the state variable temp-set. It
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:
1. 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.
2. 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.
3. If the processing semantics of type OID in the element in SET X
is not known, go to step 5.
4. 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.
<span class="grey">Turner & Chokhani Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc5913">RFC 5913</a> Clearance and Authority Clearance Constraints June 2010</span>
b) Perform 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.
5. If more elements remain in SET X, process the next element
starting with step 1.
Return temp-set.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Recommended securityCategories</span>
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 type-specific intersection of two values for this type will
be 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.
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. Security Considerations</span>
Certificate issuers must recognize that absence of the Authority
Clearance Constraints in a TA, in a CA certificate, or in an AA
certificate means that in terms of the 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 is no Clearance associated with a TA, it means that the TA
has not been assigned any clearance.
If the local security policy considers the clearance held by a
subject or those supported by a CA or AA to be sensitive, then the
Clearance attribute or Authority Clearance Constraints should only be
<span class="grey">Turner & Chokhani Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc5913">RFC 5913</a> Clearance and Authority Clearance Constraints June 2010</span>
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.
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. References</span>
<span class="h3"><a class="selflink" id="section-10.1" href="#section-10.1">10.1</a>. Normative References</span>
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.
[<a id="ref-RFC5280">RFC5280</a>] Cooper, D. et. al., "Internet X.509 Public Key
Infrastructure Certificate and Certification Revocation
List (CRL) Profile", <a href="./rfc5280">RFC 5280</a>, May 2008.
[<a id="ref-RFC5755">RFC5755</a>] Farrell, S., Housley, R., and S. Turner, "An Internet
Attribute Certificate Profile for Authorization", <a href="./rfc5755">RFC</a>
<a href="./rfc5755">5755</a>, January 2010.
[<a id="ref-RFC5912">RFC5912</a>] Hoffman, P. and J. Schaad, "New ASN.1 Modules for the
Public Key Infrastructure Using X.509 (PKIX) <a href="./rfc5912">RFC 5912</a>,
June 2010.
[<a id="ref-X.680">X.680</a>] ITU-T Recommendation X.680 (2002) | ISO/IEC 8824-1:2002.
Information Technology - Abstract Syntax Notation One.
<span class="h3"><a class="selflink" id="section-10.2" href="#section-10.2">10.2</a>. Informative References</span>
[<a id="ref-RFC3114">RFC3114</a>] Nicolls, W., "Implementing Company Classification Policy
with the S/MIME Security Label", <a href="./rfc3114">RFC 3114</a>, May 2002.
[<a id="ref-RFC3739">RFC3739</a>] Santesson, S., Nystrom, M., and T. Polk, "Internet X.509
Public Key Infrastructure: Qualified Certificates
Profile", <a href="./rfc3739">RFC 3739</a>, March 2004.
<span class="grey">Turner & Chokhani Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc5913">RFC 5913</a> Clearance and Authority Clearance Constraints June 2010</span>
<span class="h2"><a class="selflink" id="appendix-A" href="#appendix-A">Appendix A</a>. ASN.1 Module</span>
This appendix provides the normative ASN.1 definitions for the
structures described in this specification using ASN.1 as defined in
X.680.
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 [<a href="./rfc5912" title="P. and J. Schaad">RFC5912</a>]
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 [<a href="./rfc5912" title="P. and J. Schaad">RFC5912</a>]
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
<span class="grey">Turner & Chokhani Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc5913">RFC 5913</a> Clearance and Authority Clearance Constraints June 2010</span>
-- {{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 [<a href="./rfc5912" title="P. and J. Schaad">RFC5912</a>]. If Clearance was not imported
-- from [<a href="./rfc5912" title="P. and J. Schaad">RFC5912</a>] 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
<span class="grey">Turner & Chokhani Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc5913">RFC 5913</a> Clearance and Authority Clearance Constraints June 2010</span>
Acknowledgments
Many thanks go out to Mark Saaltink for his valuable contributions to
this document.
We would also like to thank Francis Dupont, Pasi Eronen, Adrian
Farrel, Dan Romascanu, and Stefan Santesson for their reviews and
comments.
Authors' Addresses
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
Turner & Chokhani Standards Track [Page 19]
</pre>
|