summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSelene Huang <seleneh@google.com>2020-08-27 01:58:04 -0700
committerSelene Huang <seleneh@google.com>2020-11-18 18:14:50 -0800
commitd7dcd78f0157d48b6770571c9270d4b76b42bba4 (patch)
tree45a393548abb46777c30033cf25d4328ddd76b04 /include
parentb1b3cd4669012cae058666532114dd35f2226444 (diff)
Add new certificate tags defination for KeyMint V1.
Test: n/a Change-Id: I05f629feec5cd2bd01f03b88cd5d830bb1f22623
Diffstat (limited to 'include')
-rw-r--r--include/hardware/keymaster_defs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/hardware/keymaster_defs.h b/include/hardware/keymaster_defs.h
index d4b62b7e..f4bed731 100644
--- a/include/hardware/keymaster_defs.h
+++ b/include/hardware/keymaster_defs.h
@@ -189,6 +189,16 @@ typedef enum {
KM_TAG_CONFIRMATION_TOKEN = KM_BYTES | 1005, /* used to deliver a cryptographic token
proving that the user confirmed a signing
request. */
+
+ KM_TAG_CERTIFICATE_SERIAL = KM_UINT | 1006, /* The serial number that should be
+ set in the attestation certificate
+ to be generated. */
+
+ KM_TAG_CERTIFICATE_SUBJECT = KM_BYTES | 1007, /* A DER-encoded X.500 subject that should be
+ set in the attestation certificate
+ to be generated. */
+
+
} keymaster_tag_t;
/**