Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef NET_CERT_SEC_TRUST_UTIL_H_ | |
| 6 #define NET_CERT_SEC_TRUST_UTIL_H_ | |
|
Ryan Sleevi
2016/08/08 17:47:37
Why are you introducing this file?
I'm particular
Eugene But (OOO till 7-30)
2016/08/08 20:22:23
I don't think that sec_trust_util.h will grow, bec
Ryan Sleevi
2016/08/08 20:44:18
It deals with SecTrust, that's a pretty big API :)
| |
| 7 | |
| 8 #include "net/cert/cert_status_flags.h" | |
| 9 | |
| 10 #include <Security/Security.h> | |
| 11 | |
| 12 namespace net { | |
| 13 | |
| 14 // Returns error CertStatus from the given |trust| object. Returns | |
| 15 // CERT_STATUS_INVALID if the trust is null. | |
| 16 CertStatus GetCertFailureStatusFromTrust(SecTrustRef trust); | |
| 17 | |
| 18 } // namespace net | |
| 19 | |
| 20 #endif // NET_CERT_SEC_TRUST_UTIL_H_ | |
| OLD | NEW |