name-based-namespaces.rst 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. .. _reference.name-based-namespaces:
  2. =====================
  3. Predefined Namespaces
  4. =====================
  5. `RFC 4122`_ defines a handful of UUIDs to use with "for some potentially
  6. interesting name spaces."
  7. .. list-table::
  8. :widths: 30 70
  9. :align: center
  10. :header-rows: 1
  11. * - Constant
  12. - Description
  13. * - :php:const:`Uuid::NAMESPACE_DNS <Ramsey\\Uuid\\Uuid::NAMESPACE_DNS>`
  14. - The name string is a fully-qualified domain name.
  15. * - :php:const:`Uuid::NAMESPACE_URL <Ramsey\\Uuid\\Uuid::NAMESPACE_URL>`
  16. - The name string is a URL.
  17. * - :php:const:`Uuid::NAMESPACE_OID <Ramsey\\Uuid\\Uuid::NAMESPACE_OID>`
  18. - The name string is an `ISO object identifier (OID)`_.
  19. * - :php:const:`Uuid::NAMESPACE_X500 <Ramsey\\Uuid\\Uuid::NAMESPACE_X500>`
  20. - The name string is an `X.500`_ `DN`_ in `DER`_ or a text output format.
  21. .. _RFC 4122: https://tools.ietf.org/html/rfc4122
  22. .. _ISO object identifier (OID): http://www.oid-info.com
  23. .. _X.500: https://en.wikipedia.org/wiki/X.500
  24. .. _DN: https://en.wikipedia.org/wiki/Distinguished_Name
  25. .. _DER: https://www.itu.int/rec/T-REC-X.690/