summaryrefslogtreecommitdiffstats
path: root/net/base/x509_certificate.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/x509_certificate.h')
-rw-r--r--net/base/x509_certificate.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/net/base/x509_certificate.h b/net/base/x509_certificate.h
index aee2447..8a16088 100644
--- a/net/base/x509_certificate.h
+++ b/net/base/x509_certificate.h
@@ -433,12 +433,7 @@ class NET_EXPORT X509Certificate
CRLSet* crl_set,
CertVerifyResult* verify_result) const;
- // The serial number, DER encoded.
- // NOTE: keep this method private, used by IsBlacklisted only. To simplify
- // IsBlacklisted, we strip the leading 0 byte of a serial number, used to
- // encode a positive DER INTEGER (a signed type) with a most significant bit
- // of 1. Other code must not use this method for general purpose until this
- // is fixed.
+ // The serial number, DER encoded, possibly including a leading 00 byte.
const std::string& serial_number() const { return serial_number_; }
// IsBlacklisted returns true if this certificate is explicitly blacklisted.