diff options
Diffstat (limited to 'chromium/net/cert/x509_certificate.h')
-rw-r--r-- | chromium/net/cert/x509_certificate.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chromium/net/cert/x509_certificate.h b/chromium/net/cert/x509_certificate.h index e31ebade953..52f7956c918 100644 --- a/chromium/net/cert/x509_certificate.h +++ b/chromium/net/cert/x509_certificate.h @@ -150,6 +150,13 @@ class NET_EXPORT X509Certificate static scoped_refptr<X509Certificate> CreateFromBytes(const char* data, size_t length); + // Create an X509Certificate with non-standard parsing options. + // Do not use without consulting //net owners. + static scoped_refptr<X509Certificate> CreateFromBytesUnsafeOptions( + const char* data, + size_t length, + UnsafeCreateOptions options); + // Create an X509Certificate from the representation stored in the given // pickle. The data for this object is found relative to the given // pickle_iter, which should be passed to the pickle's various Read* methods. |