summaryrefslogtreecommitdiff
path: root/src/env.h
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2018-11-09 15:05:34 -0800
committerSam Roberts <vieuxtech@gmail.com>2018-11-20 13:21:08 -0800
commitfe303b9b2dd8224e368ed69d6b797bc34dd94d07 (patch)
tree2591608d18e88eb9c21a099c0ef02eff0f8291d3 /src/env.h
parenta856406c2dc0f6edf9b33067cd91fa1a71eab041 (diff)
downloadandroid-node-v8-fe303b9b2dd8224e368ed69d6b797bc34dd94d07.tar.gz
android-node-v8-fe303b9b2dd8224e368ed69d6b797bc34dd94d07.tar.bz2
android-node-v8-fe303b9b2dd8224e368ed69d6b797bc34dd94d07.zip
tls: include elliptic curve X.509 public key info
X.509 certs are provided to the user in a parsed object form by a number of TLS APIs. Include public key info for elliptic curves as well, not just RSA. - pubkey: the public key - bits: the strength of the curve - asn1Curve: the ASN.1 OID for the curve - nistCurve: the NIST nickname for the curve, if it has one PR-URL: https://github.com/nodejs/node/pull/24358 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'src/env.h')
-rw-r--r--src/env.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/env.h b/src/env.h
index 6bed104dbb..c99f1d6830 100644
--- a/src/env.h
+++ b/src/env.h
@@ -124,7 +124,9 @@ constexpr size_t kFsStatsBufferLength = kFsStatsFieldsNumber * 2;
V(address_string, "address") \
V(aliases_string, "aliases") \
V(args_string, "args") \
+ V(asn1curve_string, "asn1Curve") \
V(async_ids_stack_string, "async_ids_stack") \
+ V(bits_string, "bits") \
V(buffer_string, "buffer") \
V(bytes_parsed_string, "bytesParsed") \
V(bytes_read_string, "bytesRead") \
@@ -207,6 +209,7 @@ constexpr size_t kFsStatsBufferLength = kFsStatsFieldsNumber * 2;
V(modulus_string, "modulus") \
V(name_string, "name") \
V(netmask_string, "netmask") \
+ V(nistcurve_string, "nistCurve") \
V(nsname_string, "nsname") \
V(ocsp_request_string, "OCSPRequest") \
V(onaltsvc_string, "onaltsvc") \