docs: clarify and cleanup the certificate format spec
Also, cleanup references to the legacy signed interest spec
Change-Id: Ib761399b6e44cefea6331e4e128bb2976c2fc11d
diff --git a/docs/specs/safe-bag.rst b/docs/specs/safe-bag.rst
index 23e93cb..6cc6773 100644
--- a/docs/specs/safe-bag.rst
+++ b/docs/specs/safe-bag.rst
@@ -4,8 +4,8 @@
Sometimes, one may need to export credentials (e.g., certificate and private key) from
one machine, and import them into another machine. This requires a secured container for
sensitive information. We define **SafeBag**, which contains both an NDN certificate
-(:doc:`version 2.0 <certificate-format>`) and the corresponding private
-key, which is encrypted in `PKCS #8 format <https://tools.ietf.org/html/rfc5208>`_.
+(:doc:`version 2.0 <certificate>`) and the corresponding private key, which is encrypted
+in `PKCS #8 format <https://tools.ietf.org/html/rfc5208>`_.
The format of **SafeBag** is defined as:
@@ -20,11 +20,11 @@
All TLV-TYPE numbers are application specific:
-+---------------------------------------------+-------------------+----------------+
-| TLV-TYPE | Assigned number | Assigned number|
-| | (decimal) | (hexadecimal) |
-+=============================================+===================+================+
-| SafeBag | 128 | 0x80 |
-+---------------------------------------------+-------------------+----------------+
-| EncryptedKeyBag | 129 | 0x81 |
-+---------------------------------------------+-------------------+----------------+
++---------------------------------------------+------------------+-----------------+
+| Type | Assigned number | Assigned number |
+| | (decimal) | (hexadecimal) |
++=============================================+==================+=================+
+| SafeBag | 128 | 0x80 |
++---------------------------------------------+------------------+-----------------+
+| EncryptedKeyBag | 129 | 0x81 |
++---------------------------------------------+------------------+-----------------+