summaryrefslogtreecommitdiff
path: root/doc/rfc/rfc4476.txt
blob: 149b0ac4b8b54445cc8ae9307cb8a0be88faeb9b (plain) (blame)
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
Network Working Group                                         C. Francis
Request for Comments: 4476                                      Raytheon
Category: Standards Track                                      D. Pinkas
                                                                    Bull
                                                                May 2006


             Attribute Certificate (AC) Policies Extension

Status of This Memo

   This document specifies an Internet standards track protocol for the
   Internet community, and requests discussion and suggestions for
   improvements.  Please refer to the current edition of the "Internet
   Official Protocol Standards" (STD 1) for the standardization state
   and status of this protocol.  Distribution of this memo is unlimited.

Copyright Notice

   Copyright (C) The Internet Society (2006).

Abstract

   This document describes one certificate extension that explicitly
   states the Attribute Certificate Policies (ACPs) that apply to a
   given Attribute Certificate (AC).  The goal of this document is to
   allow relying parties to perform an additional test when validating
   an AC, i.e., to assess whether a given AC carrying some attributes
   can be accepted on the basis of references to one or more specific
   ACPs.





















Francis & Pinkas            Standards Track                     [Page 1]
^L
RFC 4476                 AC Policies Extension                  May 2006


1.  Introduction

   When issuing a Public Key Certificate (PKC), a Certificate Authority
   (CA) can perform various levels of verification with regard to the
   subject identity (see [RFC3280]).  A CA makes its verification
   procedures, as well as other operational rules it abides by,
   "visible" through a certificate policy, which may be referenced by a
   certificate policies extension in the PKC.

   The purpose of this document is to define an Attribute Certificate
   (AC) policies extension able to explicitly state the AC policies that
   apply to a given AC, but not the AC policies themselves.  Attribute
   Certificates are defined in [RFC3281].

1.1.  Conventions Used in This Document

   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].

2.  AC Policies Extension Semantics

   An Attribute Certificate Policy is a named set of rules that
   indicates the applicability of an AC to a particular community and/or
   class of applications with common security requirements.  It defines
   rules for the generation, issuance, and revocation of ACs.  It may
   also include additional rules for attributes registration.

   Thus, note that an Attribute Authority (AA) does not necessarily
   support one single ACP.  However, for each AC that is delivered, the
   AA SHALL make sure that the policy applies to all the attributes that
   are contained in it.

   An ACP may be used by an AC user to decide whether or not to trust
   the attributes contained in an AC for a particular purpose.

   When an AC contains an AC policies extension, the extension MAY, at
   the option of the AA, be either critical or non-critical.

   The AC Policies extension MAY be included in an AC.  Like all X.509
   certificate extensions [X.509], the AC policies extension is defined
   using ASN.1 [ASN1].  See Appendix A.

   The definitions are presented in the 1988 Abstract Syntax Notation
   One (ASN.1) rather than the 1997 ASN.1 syntax used in the most recent
   ISO/IEC/ITU-T standards.

   The AC policies extension is identified by id-pe-acPolicies.



Francis & Pinkas            Standards Track                     [Page 2]
^L
RFC 4476                 AC Policies Extension                  May 2006


      id-pe-acPolicies OBJECT IDENTIFIER ::= { iso(1)
        identified-organization(3) dod(6) internet(1) security(5)
        mechanisms(5) id-pkix(7) id-pe(1) 15 }

   The AC policies extension includes a list of AC policies recognized
   by the AA that apply to the attributes included in the AC.

   AC Policies may be defined by any organization with a need.  Object
   identifiers used to identify AC Policies are assigned in accordance
   with [X.660|ISO9834-1].

   The AC policies extension in an AC indicates the AC policies for
   which the AC is valid.

   An application that recognizes this extension and its content SHALL
   process the extension regardless of the value of the criticality
   flag.

   If the extension is both flagged non-critical and not recognized by
   the AC-using application, then the application MAY ignore it.

   If the extension is marked critical or is recognized by the AC-using
   application, it indicates that the attributes contained in the
   attribute certificate SHALL only be used for the purpose, and in
   accordance with the rules associated with one of the indicated AC
   policies.  If none of the ACP identifiers is adequate for the
   application, then the AC MUST be rejected.

   If the extension is marked critical or is recognized by the AC using
   application, the AC-using application MUST use the list of AC
   policies to determine whether it is appropriate to use the attributes
   contained in that AC for a particular transaction.  When the
   appropriate policy is not found, the AC SHALL be rejected.

2.1.  AC Policy Extension Syntax

   The syntax for the AC Policy extension is:

   AcPoliciesSyntax ::= SEQUENCE SIZE (1..MAX) OF PolicyInformation

   PolicyInformation ::= SEQUENCE {
       policyIdentifier      AcPolicyId,
       policyQualifiers      SEQUENCE SIZE (1..MAX) OF
                                      PolicyQualifierInfo OPTIONAL}

   AcPolicyId ::= OBJECT IDENTIFIER





Francis & Pinkas            Standards Track                     [Page 3]
^L
RFC 4476                 AC Policies Extension                  May 2006


    PolicyQualifierInfo ::= SEQUENCE {
         policyQualifierId  PolicyQualifierId,
         qualifier          ANY DEFINED BY policyQualifierId }

   -- policyQualifierIds for Internet policy qualifiers

    id-qt            OBJECT IDENTIFIER ::=  { id-pkix 2 }
    id-qt-acps       OBJECT IDENTIFIER ::=  { id-qt 4 }
    id-qt-acunotice  OBJECT IDENTIFIER ::=  { id-qt 5 }

    id-qt-acps OBJECT IDENTIFIER ::= { iso(1)
      identified-organization(3) dod(6) internet(1) security(5)
      mechanisms(5) id-pkix(7) id-qt(2) 4 }

    id-qt-acunotice OBJECT IDENTIFIER ::= { iso(1)
      identified-organization(3) dod(6) internet(1) security(5)
      mechanisms(5) id-pkix(7) id-qt(2) 5 }

    PolicyQualifierId ::=
         OBJECT IDENTIFIER ( id-qt-acps | id-qt-acunotice )

   -- ACPS pointer qualifier

   ACPSuri ::= IA5String
   -- ACP statement user notice qualifier

   ACUserNotice ::= UserNotice
   -- UserNotice is defined in [RFC3280]

   To promote interoperability, this document RECOMMENDS that policy
   information terms consist of only an object identifier (OID).  When
   more than one policy is used, the policy requirements have to be
   non-conflicting, e.g., one policy may refine the general requirements
   mandated by another policy.

   The extension defined in this specification supports two policy
   qualifier types for use by ACP writers and AAs.  The qualifier types
   are the ACPS Pointer and the AC User.

2.1.1.  Notice Qualifiers

   The ACPS Pointer qualifier contains a pointer to an Attribute
   Certification Practice Statement (ACPS) published by the AA.  The
   pointer is in the form of a URI.  Processing requirements for this
   qualifier are a local matter.






Francis & Pinkas            Standards Track                     [Page 4]
^L
RFC 4476                 AC Policies Extension                  May 2006


   The AC User Notice is intended for display to a relying party when an
   attribute certificate is used.  The application software SHOULD
   display the AC User Notice of the AC.  The AC User Notice is defined
   in [RFC3280].  It has two optional fields: the noticeRef field and
   the explicitText field.

      The noticeRef field, if used, names an organization and
      identifies, by number, a particular textual statement prepared by
      that organization.  For example, it might identify the
      organization's name and notice number 1.  In a typical
      implementation, the application software will have a notice file
      containing the current set of notices for the AA; the application
      will extract the notice text from the file and display it.
      Messages MAY be multilingual, allowing the software to select the
      particular language message for its own environment.

      An explicitText field includes the textual statement directly in
      the certificate.  The explicitText field is a string with a
      maximum size of 200 characters.

   If both the noticeRef and explicitText options are included in the
   one qualifier, and if the application software can locate the notice
   text indicated by the noticeRef option, then that text SHOULD be
   displayed; otherwise, the explicitText string SHOULD be displayed.

2.2.  Attribute Certificate Policies

   The scope of this document is not the definition of the detailed
   content of ACPs themselves; therefore, specific policies are not
   defined in this document.

3.  Security Considerations

   The ACP defined in this document applies for all the attributes that
   are included in one AC.  AAs SHALL ensure that the ACP applies to all
   the attributes that are included in the ACs they issue.

   Attributes may be dynamically grouped in several ACs.  It should be
   observed that since an AC may be issued under more than one ACP, the
   attributes included in a given AC MUST be compliant with all the ACPs
   from that AC.

   When verifying an AC, a relying party MUST determine that the AC was
   issued by a trusted AA and then that it has the appropriate policy.







Francis & Pinkas            Standards Track                     [Page 5]
^L
RFC 4476                 AC Policies Extension                  May 2006


   Failure of AAs to protect their private keys will permit an attacker
   to masquerade as them, potentially generating false ACs or revocation
   status.  Existence of bogus ACs and revocation status will undermine
   confidence in the system.  If the compromise is detected, then the
   certificate of the AA MUST be revoked.

   Rebuilding after such a compromise will be problematic, so AAs are
   advised to implement a combination of strong technical measures
   (e.g., tamper-resistant cryptographic modules) and appropriate
   management procedures (e.g., separation of duties) to avoid such an
   incident.

   Loss of an AA's private signing key may also be problematic.  The AA
   would not be able to produce revocation status or perform AC renewal
   (i.e., the issue of a new AC with the same set of attributes with the
   same values, for the same holder, from the same AA but with a
   different validity period).  AC issuers are advised to maintain
   secure backup for signing keys.  The security of the key backup
   procedures is a critical factor in avoiding key compromise.

   The availability and freshness of revocation status will affect the
   degree of assurance that should be placed in a long-lived AC.  While
   long-lived ACs expire naturally, events may occur during an AC's
   natural lifetime that negate the binding between the AC holder and
   the attributes.  If revocation status is untimely or unavailable, the
   assurance associated with the binding is clearly reduced.

   The binding between an AC holder and attributes cannot be stronger
   than the cryptographic module implementation and algorithms used to
   generate the signature.  Short key lengths or weak hash algorithms
   will limit the utility of an AC.  AAs are encouraged to note advances
   in cryptology so they can employ strong cryptographic techniques.

   If an AC is tied to the holder's PKC using the baseCertificateID
   component of the Holder field and the PKI in use includes a rogue CA
   with the same issuer name specified in the baseCertificateID
   component, this rogue CA could issue a PKC to a malicious party,
   using the same issuer name and serial number as the proper holder's
   PKC.  Then the malicious party could use this PKC in conjunction with
   the AC.  This scenario SHOULD be avoided by properly managing and
   configuring the PKI so that there cannot be two CAs with the same
   name.  Another alternative is to tie ACs to PKCs using the
   publicKeyCert type in the ObjectDigestInfo field.  Failing this, AC
   verifiers have to establish (using other means) that the potential
   collisions cannot actually occur; for example, the Certificate Policy
   Statements (CPSs) of the CAs involved may make it clear that no such
   name collisions can occur.




Francis & Pinkas            Standards Track                     [Page 6]
^L
RFC 4476                 AC Policies Extension                  May 2006


   Implementers MUST ensure that following validation of an AC, only
   attributes that the issuer is trusted to issue are used in
   authorization decisions.  Other attributes, which MAY be present,
   MUST be ignored.  AC verifiers SHALL support means of being provided
   with this information.  The AA controls PKC extension (see [RFC3281])
   is one possibility, but it is optional to implement.  Configuration
   information is a likely alternative means, while out-of-band means is
   another.  This becomes very important if an AC verification
   application trusts more than one AC issuer.

4.  IANA Considerations

   The AC policies extension is identified by an object identifier
   (OID).  The OID for the AC policies extension defined in this
   document was assigned from an arc delegated by the IANA to the PKIX
   Working Group.

   No further action by the IANA is necessary for this document.

5.  References

5.1.  Normative References

   [X.660|ISO9834-1] ITU-T Recommendation X.660 (1992) | ISO/IEC 9834-1:
                     1993, Information technology - Open Systems
                     Interconnection Procedures for the operation of OSI
                     Registration Authorities: General procedures.

   [RFC2119]         Bradner, S., "Key words for use in RFCs to Indicate
                     Requirement Levels", BCP 14, RFC 2119, March 1997.

   [RFC3280]         Housley, R., Polk, W., Ford, W., and D. Solo,
                     "Internet X.509 Public Key Infrastructure
                     Certificate and Certificate Revocation List (CRL)
                     Profile", RFC 3280, April 2002.

   [RFC3281]         Farrell, S. and R. Housley, "An Internet Attribute
                     Certificate Profile for Authorization", RFC 3281,
                     April 2002.

   [ASN1]            X.680 - X.693 | ISO/IEC 8824: 1-4 Abstract Syntax
                     Notation One (ASN.1).









Francis & Pinkas            Standards Track                     [Page 7]
^L
RFC 4476                 AC Policies Extension                  May 2006


5.2.  Informative Reference

   [X.509]           ITU-T Recommendation X.509 (2000): Information
                     Technology Open Systems Interconnections - The
                     Directory:  Public-key and Attribute Frameworks,
                     March 2000.













































Francis & Pinkas            Standards Track                     [Page 8]
^L
RFC 4476                 AC Policies Extension                  May 2006


Appendix A.  ASN.1 Definitions

   This appendix is normative.

ASN.1 Module

AcPolicies { iso(1) identified-organization(3) dod(6)
     internet(1) security(5) mechanisms(5) pkix(7) id-mod(0)
     id-mod-ac-policies(26) }

DEFINITIONS IMPLICIT TAGS ::=

BEGIN

-- EXPORTS ALL --

IMPORTS

-- Imports from RFC 3280 [RFC3280], Appendix A

       UserNotice
          FROM PKIX1Implicit88 { iso(1) identified-organization(3)
          dod(6) internet(1) security(5) mechanisms(5) pkix(7)
          id-mod(0) 19 }

       id-pkix, id-pe
          FROM PKIX1Explicit88 { iso(1) identified-organization(3)
          dod(6) internet(1) security(5) mechanisms(5) pkix(7)
          id-mod(0) 18 };

-- Locally defined OIDs

    -- policyQualifierIds for Internet policy qualifiers

   id-qt                    OBJECT IDENTIFIER ::=  { id-pkix 2 }
   id-qt-acps               OBJECT IDENTIFIER ::=  { id-qt 4 }
   id-qt-acunotice          OBJECT IDENTIFIER ::=  { id-qt 5 }

-- Attributes

   id-pe-acPolicies         OBJECT IDENTIFIER ::= { id-pe 15 }

   AcPoliciesSyntax ::=     SEQUENCE SIZE (1..MAX) OF PolicyInformation

   PolicyInformation ::=    SEQUENCE {
      policyIdentifier         AcPolicyId,
      policyQualifiers         SEQUENCE SIZE (1..MAX) OF
                               PolicyQualifierInfo OPTIONAL }



Francis & Pinkas            Standards Track                     [Page 9]
^L
RFC 4476                 AC Policies Extension                  May 2006


   AcPolicyId ::=           OBJECT IDENTIFIER

   PolicyQualifierInfo ::=  SEQUENCE {
      policyQualifierId        PolicyQualifierId,
      qualifier                ANY DEFINED BY policyQualifierId }

   PolicyQualifierId ::=
      OBJECT IDENTIFIER               ( id-qt-acps | id-qt-acunotice )
   -- ACPS pointer qualifier

   ACPSuri ::=         IA5String
   -- ACP statement user notice qualifier

   ACUserNotice ::=    UserNotice
   -- UserNotice is defined in [RFC3280]

END

Authors' Addresses

   Christopher S. Francis
   Raytheon
   1501 72nd Street North, MS 25
   St. Petersburg, Florida  33764

   EMail: Chris_S_Francis@Raytheon.com


   Denis Pinkas
   Bull
   Rue Jean Jaures
   78340 Les Clayes-sous-Bois
   FRANCE

   EMail: Denis.Pinkas@bull.net
















Francis & Pinkas            Standards Track                    [Page 10]
^L
RFC 4476                 AC Policies Extension                  May 2006


Full Copyright Statement

   Copyright (C) The Internet Society (2006).

   This document is subject to the rights, licenses and restrictions
   contained in BCP 78, and except as set forth therein, the authors
   retain all their rights.

   This document and the information contained herein are provided on an
   "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
   OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
   ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
   INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
   INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
   WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Intellectual Property

   The IETF takes no position regarding the validity or scope of any
   Intellectual Property Rights or other rights that might be claimed to
   pertain to the implementation or use of the technology described in
   this document or the extent to which any license under such rights
   might or might not be available; nor does it represent that it has
   made any independent effort to identify any such rights.  Information
   on the procedures with respect to rights in RFC documents can be
   found in BCP 78 and BCP 79.

   Copies of IPR disclosures made to the IETF Secretariat and any
   assurances of licenses to be made available, or the result of an
   attempt made to obtain a general license or permission for the use of
   such proprietary rights by implementers or users of this
   specification can be obtained from the IETF on-line IPR repository at
   http://www.ietf.org/ipr.

   The IETF invites any interested party to bring to its attention any
   copyrights, patents or patent applications, or other proprietary
   rights that may cover technology that may be required to implement
   this standard.  Please address the information to the IETF at
   ietf-ipr@ietf.org.

Acknowledgement

   Funding for the RFC Editor function is provided by the IETF
   Administrative Support Activity (IASA).







Francis & Pinkas            Standards Track                    [Page 11]
^L