aboutsummaryrefslogtreecommitdiff
path: root/spec/cert-spec.md
diff options
context:
space:
mode:
Diffstat (limited to 'spec/cert-spec.md')
-rw-r--r--spec/cert-spec.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/cert-spec.md b/spec/cert-spec.md
index 79ee9b0..0b98f75 100644
--- a/spec/cert-spec.md
+++ b/spec/cert-spec.md
@@ -74,10 +74,10 @@ numbers. So we'll choose a compact representation.
SIGNATURE [64 Bytes]
```
-The "VERSION" field holds the value [01]. The "CERT_TYPE" field
+The "VERSION" field holds the value \[01\]. The "CERT_TYPE" field
holds a value depending on the type of certificate. (See appendix
A.1.) The CERTIFIED_KEY field is an Ed25519 public key if
-CERT_KEY_TYPE is [01], or a digest of some other key type
+CERT_KEY_TYPE is \[01\], or a digest of some other key type
depending on the value of CERT_KEY_TYPE. (See appendix A.4.)
The EXPIRATION_DATE is a date, given in HOURS since the epoch,
after which this certificate isn't valid. (A four-byte field here
@@ -117,7 +117,7 @@ sizeof(ed25519_cert) - 64 bytes).
<a id="cert-spec.txt-2.2.1"></a>
-### Signed-with-ed25519-key extension [type 04]
+### Signed-with-ed25519-key extension \[type 04\]
In several places, it's desirable to bundle the key signing a
certificate along with the certificate. We do so with this
@@ -136,7 +136,7 @@ sign the certificate.
## RSA->Ed25519 cross-certificate
-Certificate type [07] (Cross-certification of Ed25519 identity
+Certificate type \[07\] (Cross-certification of Ed25519 identity
with RSA key) contains the following data:
```text
@@ -206,7 +206,7 @@ certificate type enumeration of in our Ed25519 certificates.
## List of extension types
-[04] - signed-with-ed25519-key (section 2.2.1)
+\[04\] - signed-with-ed25519-key (section 2.2.1)
<a id="cert-spec.txt-A.3"></a>