Chromium Code Reviews| Index: net/cert/internal/verify_certificate_chain.h |
| diff --git a/net/cert/internal/verify_certificate_chain.h b/net/cert/internal/verify_certificate_chain.h |
| index 4d85eb66401420ffabfae705d8ac9a7c3c333c43..db6157d594b1b7fb476822fa5f36ab311a6692b7 100644 |
| --- a/net/cert/internal/verify_certificate_chain.h |
| +++ b/net/cert/internal/verify_certificate_chain.h |
| @@ -51,6 +51,12 @@ class TrustStore; |
| // time: |
| // The UTC time to use for expiration checks. |
| // |
| +// trusted_chain_out: |
| +// The vector to populate with the verified trusted certificate chain. |
| +// If a nullptr is passed, this parameter is ignored. |
| +// If the target certificate can not be verified, this parameter is |
| +// ignored. |
|
eroman
2016/06/16 22:11:36
Please additionally mention the order of the vecto
ryanchung
2016/06/16 22:47:08
Done.
|
| +// |
| // --------- |
| // Outputs |
| // --------- |
| @@ -60,7 +66,9 @@ NET_EXPORT bool VerifyCertificateChain( |
| const std::vector<scoped_refptr<ParsedCertificate>>& cert_chain, |
| const TrustStore& trust_store, |
| const SignaturePolicy* signature_policy, |
| - const der::GeneralizedTime& time) WARN_UNUSED_RESULT; |
| + const der::GeneralizedTime& time, |
| + std::vector<scoped_refptr<ParsedCertificate>>* trusted_chain_out) |
| + WARN_UNUSED_RESULT; |
| } // namespace net |