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
|
<pre>Internet Engineering Task Force (IETF) R. Housley
Request for Comments: 8649 Vigil Security
Category: Informational August 2019
ISSN: 2070-1721
<span class="h1">Hash Of Root Key Certificate Extension</span>
Abstract
This document specifies the Hash Of Root Key certificate extension.
This certificate extension is carried in the self-signed certificate
for a trust anchor, which is often called a Root Certification
Authority (CA) certificate. This certificate extension unambiguously
identifies the next public key that will be used at some point in the
future as the next Root CA certificate, eventually replacing the
current one.
Status of This Memo
This document is not an Internet Standards Track specification; it is
published for informational purposes.
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). Not all documents
approved by the IESG are candidates for any level of Internet
Standard; see <a href="./rfc7841#section-2">Section 2 of RFC 7841</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="https://www.rfc-editor.org/info/rfc8649">https://www.rfc-editor.org/info/rfc8649</a>.
Copyright Notice
Copyright (c) 2019 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="https://trustee.ietf.org/license-info">https://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
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.
<span class="grey">Housley Informational [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc8649">RFC 8649</a> Hash Of Root Key Extension August 2019</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-2">2</a>
<a href="#section-1.1">1.1</a>. Terminology ................................................<a href="#page-2">2</a>
<a href="#section-1.2">1.2</a>. ASN.1 ......................................................<a href="#page-3">3</a>
<a href="#section-2">2</a>. Overview ........................................................<a href="#page-3">3</a>
<a href="#section-3">3</a>. Hash Of Root Key Certificate Extension ..........................<a href="#page-4">4</a>
<a href="#section-4">4</a>. IANA Considerations .............................................<a href="#page-4">4</a>
<a href="#section-5">5</a>. Operational Considerations ......................................<a href="#page-4">4</a>
<a href="#section-6">6</a>. Security Considerations .........................................<a href="#page-6">6</a>
<a href="#section-7">7</a>. References ......................................................<a href="#page-7">7</a>
<a href="#section-7.1">7.1</a>. Normative References .......................................<a href="#page-7">7</a>
<a href="#section-7.2">7.2</a>. Informative References .....................................<a href="#page-8">8</a>
<a href="#appendix-A">Appendix A</a>. ASN.1 Module ..........................................<a href="#page-9">9</a>
Acknowledgements ..................................................<a href="#page-10">10</a>
Author's Address ..................................................<a href="#page-10">10</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This document specifies the Hash Of Root Key X.509 version 3
certificate extension. The extension is an optional addition to the
Internet X.509 Public Key Infrastructure Certificate and Certificate
Revocation List (CRL) Profile [<a href="./rfc5280" title=""Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile"">RFC5280</a>]. The certificate extension
facilitates the orderly transition from one Root Certification
Authority (CA) public key to the next. It does so by publishing the
hash value of the next-generation public key in the current self-
signed certificate. This hash value is a commitment to a particular
public key in the next-generation self-signed certificate. This
commitment allows a relying party to unambiguously recognize the
next-generation self-signed certificate when it becomes available,
install the new self-signed certificate in the trust anchor store,
and eventually remove the previous one from the trust anchor store.
A Root CA certificate MAY include the Hash Of Root Key certificate
extension to provide the hash value of the next public key that will
be used by the Root CA.
<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", "NOT RECOMMENDED", "MAY", and
"OPTIONAL" in this document are to be interpreted as described in
<a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a> [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>] [<a href="./rfc8174" title=""Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words"">RFC8174</a>] when, and only when, they appear in all
capitals, as shown here.
<span class="grey">Housley Informational [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc8649">RFC 8649</a> Hash Of Root Key Extension August 2019</span>
<span class="h3"><a class="selflink" id="section-1.2" href="#section-1.2">1.2</a>. ASN.1</span>
Certificates [<a href="./rfc5280" title=""Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile"">RFC5280</a>] use ASN.1 [<a href="#ref-X680" title=""Information technology -- Abstract Syntax Notation One (ASN.1): Specification of basic notation"">X680</a>]; Distinguished Encoding Rules
(DER) [<a href="#ref-X690" title=""Information Technology -- ASN.1 encoding rules: Specification of Basic Encoding Rules (BER), Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DER)"">X690</a>] are REQUIRED for certificate signing and validation.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Overview</span>
Before the initial deployment of the Root CA, the following are
generated:
R1 = The initial Root key pair
R2 = The second-generation Root key pair
H2 = Thumbprint (hash) of the public key of R2
C1 = Self-signed certificate for R1, which also contains H2
C1 is a self-signed certificate, and it contains H2 within the
HashOfRootKey extension. C1 is distributed as part of the initial
system deployment. The HashOfRootKey certificate extension is
described in <a href="#section-3">Section 3</a>.
When the time comes to replace the initial Root CA certificate, R1,
the following are generated:
R3 = The third-generation Root key pair
H3 = Thumbprint (hash) the public key of R3
C2 = Self-signed certificate for R2, which contains H3
This is an iterative process. That is, R4 and H4 are generated when
it is time for C3 to replace C2, and so on.
The successor to the Root CA self-signed certificate can be delivered
by any means. Whenever a new Root CA self-signed certificate is
received, the recipient is able to verify that the potential Root CA
certificate links back to a previously authenticated Root CA
certificate with the HashOfRootKey certificate extension. That is,
the recipient verifies the signature on the self-signed certificate
and verifies that the hash of the DER-encoded SubjectPublicKeyInfo
from the potential Root CA certificate matches the value from the
HashOfRootKey certificate extension of the current Root CA
certificate. Checking the self-signed certificate signature ensures
that the certificate contains the subject name, public key algorithm
identifier, and public key algorithm parameters intended by the key
owner; these are important inputs to certification path validation as
defined in <a href="./rfc5280#section-6">Section 6 of [RFC5280]</a>. Checking the hash of the
SubjectPublicKeyInfo ensures that the certificate contains the
intended public key. If either check fails, then the potential Root
CA certificate is not a valid replacement, and the recipient
continues to use the current Root CA certificate. If both checks
<span class="grey">Housley Informational [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc8649">RFC 8649</a> Hash Of Root Key Extension August 2019</span>
succeed, then the recipient adds the potential Root CA certificate to
the trust anchor store. As discussed in <a href="#section-5">Section 5</a>, the recipient can
remove the current Root CA certificate immediately in some
situations. In other situations, the recipient waits an appropriate
amount of time to ensure that existing certification paths continue
to validate.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Hash Of Root Key Certificate Extension</span>
The HashOfRootKey certificate extension MUST NOT be critical.
The following ASN.1 [<a href="#ref-X680" title=""Information technology -- Abstract Syntax Notation One (ASN.1): Specification of basic notation"">X680</a>] [<a href="#ref-X690" title=""Information Technology -- ASN.1 encoding rules: Specification of Basic Encoding Rules (BER), Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DER)"">X690</a>] syntax defines the HashOfRootKey
certificate extension:
ext-HashOfRootKey EXTENSION ::= { -- Only in Root CA certificates
SYNTAX HashedRootKey
IDENTIFIED BY id-ce-hashOfRootKey
CRITICALITY {FALSE} }
HashedRootKey ::= SEQUENCE {
hashAlg HashAlgorithm, -- Hash algorithm used
hashValue OCTET STRING } -- Hash of DER-encoded
-- SubjectPublicKeyInfo
id-ce-hashOfRootKey ::= OBJECT IDENTIFIER { 1 3 6 1 4 1 51483 2 1 }
The definitions of EXTENSION and HashAlgorithm can be found in
[<a href="./rfc5912" title=""New ASN.1 Modules for the Public Key Infrastructure Using X.509 (PKIX)"">RFC5912</a>].
The hashAlg indicates the one-way hash algorithm that was used to
compute the hash value.
The hashValue contains the hash value computed from the next-
generation public key. The public key is the DER-encoded
SubjectPublicKeyInfo as defined in [<a href="./rfc5280" title=""Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile"">RFC5280</a>].
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. IANA Considerations</span>
This document has no IANA actions.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Operational Considerations</span>
Guidance on the transition from one root key to another is available
in <a href="./rfc4210#section-4.4">Section 4.4 of [RFC4210]</a>. Of course, a root key is also known as
a trust anchor. In particular, the oldWithNew and newWithOld advice
ensures that relying parties are able to validate certificates issued
under the current Root CA certificate and the next-generation Root CA
certificate throughout the transition. The notAfter field in the
<span class="grey">Housley Informational [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc8649">RFC 8649</a> Hash Of Root Key Extension August 2019</span>
oldWithNew certificate MUST cover the validity period of all
unexpired certificates issued under the old Root CA private key.
Further, this advice SHOULD be followed by Root CAs to avoid the need
for all relying parties to make the transition at the same time.
After issuing the newWithOld certificate, the Root CA MUST stop using
the old private key to sign certificates.
Some enterprise and application-specific environments offer a
directory service or certificate repository to make certificate and
CRLs available to relying parties. <a href="./rfc5280#section-3">Section 3 in [RFC5280]</a> describes
a certificate repository. When a certificate repository is
available, the oldWithNew and newWithOld certificates SHOULD be
published before the successor to the current Root CA self-signed
certificate is released. Recipients that are able to obtain the
oldWithNew certificate SHOULD immediately remove the old Root CA
self-signed certificate from the trust anchor store.
In environments without such a directory service or repository, like
the Web PKI, recipients need a way to obtain the oldWithNew and
newWithOld certificates. The Root CA SHOULD include the subject
information access extension [<a href="./rfc5280" title=""Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile"">RFC5280</a>] with the accessMethod set to
id-ad-caRepository and the assessLocation set to the HTTP URL that
can be used to fetch a DER-encoded "certs-only" (simple PKI response)
message as specified in [<a href="./rfc5272" title=""Certificate Management over CMS (CMC)"">RFC5272</a>] in all of their self-signed
certificates. The Root CA SHOULD publish the "certs-only" message
with the oldWithNew certificate and the newWithOld certificate before
the subsequent Root CA self-signed certificate is released. The
"certs-only" message format allows certificates to be added and
removed from the bag of certificates over time, so the same HTTP URL
can be used throughout the lifetime of the Root CA.
In environments without such a directory service or repository,
recipients SHOULD keep both the old and replacement Root CA self-
signed certificates in the trust anchor store for some amount of time
to ensure that all end-entity certificates can be validated until
they expire. The recipient MAY keep the old Root CA self-signed
certificate until all of the certificates in the local cache that are
subordinate to it have expired.
Certification path construction is more complex when the trust anchor
store contains multiple self-signed certificates with the same
distinguished name. For this reason, the replacement Root CA self-
signed certificate SHOULD contain a different distinguished name than
the one it is replacing. One approach is to include a number as part
of the name that is incremented with each generation, such as
"Example CA", "Example CA G2", "Example CA G3", and so on.
<span class="grey">Housley Informational [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc8649">RFC 8649</a> Hash Of Root Key Extension August 2019</span>
Changing names from one generation to another can lead to confusion
when reviewing the history of a trust anchor store. To assist with
such review, a recipient MAY create an audit entry to capture the old
and replacement self-signed certificates.
The Root CA must securely back up the yet-to-be-deployed key pair.
If the Root CA stores the key pair in a hardware security module and
that module fails, the Root CA remains committed to the key pair that
is no longer available. This leaves the Root CA with no alternative
but to deploy a new self-signed certificate that contains a newly
generated key pair in the same manner as the initial self-signed
certificate, thus losing the benefits of the Hash Of Root Key
certificate extension altogether.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Security Considerations</span>
The security considerations from [<a href="./rfc5280" title=""Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile"">RFC5280</a>] apply, especially the
discussion of self-issued certificates.
The Hash Of Root Key certificate extension facilitates the orderly
transition from one Root CA public key to the next by publishing the
hash value of the next-generation public key in the current
certificate. This allows a relying party to unambiguously recognize
the next-generation public key when it becomes available; however,
the full public key is not disclosed until the Root CA releases the
next-generation certificate. In this way, attackers cannot begin to
analyze the public key before the next-generation Root CA self-signed
certificate is released.
The Root CA needs to ensure that the public key in the next-
generation certificate is as strong or stronger than the key that it
is replacing. Of course, a significant advance in cryptoanalytic
capability can break the yet-to-be-deployed key pair. Such advances
are rare and difficult to predict. If such an advance occurs, the
Root CA remains committed to the now broken key. This leaves the
Root CA with no alternative but to deploy a new self-signed
certificate that contains a newly generated key pair, most likely
using a different signature algorithm, in the same manner as the
initial self-signed certificate, thus losing the benefits of the Hash
Of Root Key certificate extension altogether.
The Root CA needs to employ a hash function that is resistant to
preimage attacks [<a href="./rfc4270" title=""Attacks on Cryptographic Hashes in Internet Protocols"">RFC4270</a>]. A first-preimage attack against the hash
function would allow an attacker to find another input that results
in the hash value of the next-generation public key that was
published in the current certificate. For the attack to be
successful, the input would have to be a valid SubjectPublicKeyInfo
that contains a public key that corresponds to a private key known to
<span class="grey">Housley Informational [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc8649">RFC 8649</a> Hash Of Root Key Extension August 2019</span>
the attacker. A second-preimage attack becomes possible once the
Root CA releases the next-generation public key, which makes the
input to the hash function available to the attacker and everyone
else. Again, the attacker needs to find a valid SubjectPublicKeyInfo
that contains the public key that corresponds to a private key known
to the attacker. If the employed hash function is broken after the
Root CA publishes the self-signed certificate with the HashOfRootKey
certificate extension, an attacker would be able to trick the
recipient into installing the incorrect next-generation certificate
in the trust anchor store.
If an early release of the next-generation public key occurs and the
Root CA is concerned that attackers were given too much lead time to
analyze that public key, then the Root CA can transition to a freshly
generated key pair by rapidly performing two transitions. After the
first transition, the Root CA is using the key pair that suffered the
early release, and that transition causes the Root CA to generate the
subsequent Root key pair. The second transition occurs when the Root
CA is confident that the population of relying parties has completed
the first transition, and it takes the Root CA to the freshly
generated key pair. Of course, the second transition also causes the
Root CA to generate another key pair that is reserved for future use.
Queries for the CRLs associated with certificates that are
subordinate to the self-signed certificate can give some indication
of the number of relying parties that are still actively using the
self-signed certificates.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. References</span>
<span class="h3"><a class="selflink" id="section-7.1" href="#section-7.1">7.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>,
DOI 10.17487/RFC2119, March 1997,
<<a href="https://www.rfc-editor.org/info/rfc2119">https://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC4210">RFC4210</a>] Adams, C., Farrell, S., Kause, T., and T. Mononen,
"Internet X.509 Public Key Infrastructure Certificate
Management Protocol (CMP)", <a href="./rfc4210">RFC 4210</a>,
DOI 10.17487/RFC4210, September 2005,
<<a href="https://www.rfc-editor.org/info/rfc4210">https://www.rfc-editor.org/info/rfc4210</a>>.
[<a id="ref-RFC4270">RFC4270</a>] Hoffman, P. and B. Schneier, "Attacks on Cryptographic
Hashes in Internet Protocols", <a href="./rfc4270">RFC 4270</a>,
DOI 10.17487/RFC4270, November 2005,
<<a href="https://www.rfc-editor.org/info/rfc4270">https://www.rfc-editor.org/info/rfc4270</a>>.
<span class="grey">Housley Informational [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc8649">RFC 8649</a> Hash Of Root Key Extension August 2019</span>
[<a id="ref-RFC5272">RFC5272</a>] Schaad, J. and M. Myers, "Certificate Management over CMS
(CMC)", <a href="./rfc5272">RFC 5272</a>, DOI 10.17487/RFC5272, June 2008,
<<a href="https://www.rfc-editor.org/info/rfc5272">https://www.rfc-editor.org/info/rfc5272</a>>.
[<a id="ref-RFC5280">RFC5280</a>] Cooper, D., Santesson, S., Farrell, S., Boeyen, S.,
Housley, R., and W. Polk, "Internet X.509 Public Key
Infrastructure Certificate and Certificate Revocation List
(CRL) Profile", <a href="./rfc5280">RFC 5280</a>, DOI 10.17487/RFC5280, May 2008,
<<a href="https://www.rfc-editor.org/info/rfc5280">https://www.rfc-editor.org/info/rfc5280</a>>.
[<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>,
DOI 10.17487/RFC5912, June 2010,
<<a href="https://www.rfc-editor.org/info/rfc5912">https://www.rfc-editor.org/info/rfc5912</a>>.
[<a id="ref-RFC8174">RFC8174</a>] Leiba, B., "Ambiguity of Uppercase vs Lowercase in <a href="./rfc2119">RFC</a>
<a href="./rfc2119">2119</a> Key Words", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc8174">RFC 8174</a>, DOI 10.17487/RFC8174,
May 2017, <<a href="https://www.rfc-editor.org/info/rfc8174">https://www.rfc-editor.org/info/rfc8174</a>>.
[<a id="ref-X680">X680</a>] ITU-T, "Information technology -- Abstract Syntax Notation
One (ASN.1): Specification of basic notation",
ITU-T Recommendation X.680, August 2015.
[<a id="ref-X690">X690</a>] ITU-T, "Information Technology -- ASN.1 encoding rules:
Specification of Basic Encoding Rules (BER), Canonical
Encoding Rules (CER) and Distinguished Encoding Rules
(DER)", ITU-T Recommendation X.690, August 2015.
<span class="h3"><a class="selflink" id="section-7.2" href="#section-7.2">7.2</a>. Informative References</span>
[<a id="ref-SET">SET</a>] MasterCard and VISA, "SET Secure Electronic Transaction
Specification -- Book 2: Programmer's Guide, Version 1.0",
May 1997.
<span class="grey">Housley Informational [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc8649">RFC 8649</a> Hash Of Root Key Extension August 2019</span>
<span class="h2"><a class="selflink" id="appendix-A" href="#appendix-A">Appendix A</a>. ASN.1 Module</span>
The following ASN.1 module provides the complete definition of the
HashOfRootKey certificate extension.
<CODE BEGINS>
HashedRootKeyCertExtn { 1 3 6 1 4 1 51483 0 1 }
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
-- EXPORTS All
IMPORTS
HashAlgorithm
FROM PKIX1-PSS-OAEP-Algorithms-2009 -- <a href="./rfc5912">RFC 5912</a>
{ iso(1) identified-organization(3) dod(6) internet(1)
security(5) mechanisms(5) pkix(7) id-mod(0)
id-mod-pkix1-rsa-pkalgs-02(54) }
EXTENSION
FROM PKIX-CommonTypes-2009 -- <a href="./rfc5912">RFC 5912</a>
{ iso(1) identified-organization(3) dod(6) internet(1)
security(5) mechanisms(5) pkix(7) id-mod(0)
id-mod-pkixCommon-02(57) } ;
--
-- Expand the certificate extensions list in <a href="./rfc5912">RFC 5912</a>
--
CertExtensions EXTENSION ::= {
ext-HashOfRootKey, ... }
--
-- HashOfRootKey Certificate Extension
--
ext-HashOfRootKey EXTENSION ::= { -- Only in Root CA certificates
SYNTAX HashedRootKey
IDENTIFIED BY id-ce-hashOfRootKey
CRITICALITY {FALSE} }
HashedRootKey ::= SEQUENCE {
hashAlg HashAlgorithm, -- Hash algorithm used
hashValue OCTET STRING } -- Hash of DER-encoded
-- SubjectPublicKeyInfo
<span class="grey">Housley Informational [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc8649">RFC 8649</a> Hash Of Root Key Extension August 2019</span>
id-ce-hashOfRootKey OBJECT IDENTIFIER ::= { 1 3 6 1 4 1 51483 2 1 }
END
<CODE ENDS>
Acknowledgements
The Secure Electronic Transaction (SET) [<a href="#ref-SET" title=""SET Secure Electronic Transaction Specification -- Book 2: Programmer's Guide, Version 1.0"">SET</a>] specification published
by MasterCard and VISA in 1997 includes a very similar certificate
extension. The SET certificate extension has essentially the same
semantics, but the syntax fairly different.
CTIA - The Wireless Association - is developing a public key
infrastructure that will make use of the certificate extension
described in this document; the object identifiers used in the ASN.1
module were assigned by CTIA.
Many thanks to Stefan Santesson, Jim Schaad, Daniel Kahn Gillmor,
Joel Halpern, Paul Hoffman, Rich Salz, and Ben Kaduk. Their reviews
and comments greatly improved the document, especially the
"Operational Considerations" and "Security Considerations" sections.
Author's Address
Russ Housley
Vigil Security
516 Dranesville Road
Herndon, VA 20170
United States of America
Email: housley@vigilsec.com
Housley Informational [Page 10]
</pre>
|