Skip to content

Commit

Permalink
rfc4122bis is officially RFC 9562 now
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed May 11, 2024
1 parent ac5b30b commit 6ce551e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion doc/uuid/introduction.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
A UUID, or Universally unique identifier, is intended to uniquely identify information in a distributed environment without significant central coordination.
It can be used to tag objects with very short lifetimes, or to reliably identify very persistent objects across a network.

A formal definition for UUID can be found in https://www.ietf.org/rfc/rfc4122.txt[RFC 4122].
A formal definition for UUID can be found in https://datatracker.ietf.org/doc/rfc4122/[RFC 4122] and https://datatracker.ietf.org/doc/rfc9562/[RFC 9562].

UUIDs have many applications.
Some examples follow: Databases may use UUIDs to identify rows or records in order to ensure that they are unique across different databases, or for publication/subscription services.
Expand Down
2 changes: 1 addition & 1 deletion doc/uuid/time_generator_v6.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ public:
}} // namespace boost::uuids
----

The class `time_generator_v6` generates time-based version 6 UUIDs, as described in https://datatracker.ietf.org/doc/draft-ietf-uuidrev-rfc4122bis/[rfc4122bis] section 5.6.
The class `time_generator_v6` generates time-based version 6 UUIDs, as described in https://datatracker.ietf.org/doc/rfc9562/[RFC 9562] section 5.6.

It operates in the exact same manner as `time_generator_v1`, with the only difference being that it produces version 6 UUIDs rather than version 1 ones.
2 changes: 1 addition & 1 deletion doc/uuid/time_generator_v7.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public:
}} // namespace boost::uuids
----

The class `time_generator_v7` generates time-based version 7 UUIDs, as described in https://datatracker.ietf.org/doc/draft-ietf-uuidrev-rfc4122bis/[rfc4122bis] section 5.7.
The class `time_generator_v7` generates time-based version 7 UUIDs, as described in https://datatracker.ietf.org/doc/rfc9562/[RFC 9562] section 5.7.

=== Constructors

Expand Down
4 changes: 2 additions & 2 deletions test/test_uuid_2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ using namespace boost::uuids;

int main()
{
// Test vectors from IETF RFC 4122bis, Appendix A
// https://datatracker.ietf.org/doc/draft-ietf-uuidrev-rfc4122bis/
// Test vectors from IETF RFC 9562, Appendix A
// https://datatracker.ietf.org/doc/rfc9562/

string_generator uuid_from_string;

Expand Down

0 comments on commit 6ce551e

Please sign in to comment.