summaryrefslogtreecommitdiffstats
path: root/chrome/third_party/mozilla_security_manager/nsNSSCertHelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/third_party/mozilla_security_manager/nsNSSCertHelper.h')
-rw-r--r--chrome/third_party/mozilla_security_manager/nsNSSCertHelper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/third_party/mozilla_security_manager/nsNSSCertHelper.h b/chrome/third_party/mozilla_security_manager/nsNSSCertHelper.h
index 9c98fbd..271d88e 100644
--- a/chrome/third_party/mozilla_security_manager/nsNSSCertHelper.h
+++ b/chrome/third_party/mozilla_security_manager/nsNSSCertHelper.h
@@ -81,6 +81,11 @@ std::string ProcessRawBytes(SECItem* data);
// For fields which have the length specified in bits, rather than bytes.
std::string ProcessRawBits(SECItem* data);
+// For host values, if they contain IDN Punycode-encoded A-labels, this will
+// return a string suitable for display that contains both the original and the
+// decoded U-label form. Otherwise, the string will be returned as is.
+std::string ProcessIDN(const std::string& input);
+
std::string DumpOidString(SECItem* oid);
std::string GetOIDText(SECItem* oid);