aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorten Linderud <morten@linderud.pw>2024-02-24 13:49:47 +0100
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2024-04-17 16:41:49 -0400
commitb89fe440c71be0ea5a3ee60f58cd6e703bbfc8a1 (patch)
treed5a66fd680028891ac159aa87faf76a28fab5313
parent0daef68db054aa825623646a37faa2ab5fdd9a22 (diff)
downloadopenssl_tpm2_engine-b89fe440c71be0ea5a3ee60f58cd6e703bbfc8a1.tar.gz
doc: update draft RFC with an optional description
Useful for application that displays a user visible string to go along with the key. Signed-off-by: Morten Linderud <morten@linderud.pw> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
-rw-r--r--doc/draft-bottomley-tpm2-keys.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/draft-bottomley-tpm2-keys.xml b/doc/draft-bottomley-tpm2-keys.xml
index 336876c..9fddb5a 100644
--- a/doc/draft-bottomley-tpm2-keys.xml
+++ b/doc/draft-bottomley-tpm2-keys.xml
@@ -108,6 +108,7 @@ An alternate method (rfc include) is described in the references.
policy [1] EXPLICIT SEQUENCE OF TPMPolicy OPTIONAL,
secret [2] EXPLICIT OCTET STRING OPTIONAL,
authPolicy [3] EXPLICIT SEQUENCE OF TPMAuthPolicy OPTIONAL,
+ description [4] EXPLICIT UTF8String OPTIONAL,
parent INTEGER,
pubkey OCTET STRING,
privkey OCTET STRING
@@ -197,6 +198,13 @@ An alternate method (rfc include) is described in the references.
has no policy hash then this MUST NOT be present.
</t>
</section>
+ <section title="description">
+ <t>
+ An optional string description for the key which is
+ only used for display purposes, MAY be used as a user
+ visible mnemonic for the key.
+ </t>
+ </section>
<section title="parent">
<t>
This MUST be present for all keys and specifies the handle
@@ -768,6 +776,7 @@ An alternate method (rfc include) is described in the references.
policy [1] EXPLICIT SEQUENCE OF TPMPolicy OPTIONAL,
secret [2] EXPLICIT OCTET STRING OPTIONAL,
authPolicy [3] EXPLICIT SEQUENCE OF TPMAuthPolicy OPTIONAL,
+ description [4] EXPLICIT UTF8String OPTIONAL,
parent INTEGER,
pubkey OCTET STRING,
privkey OCTET STRING