1f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)// Copyright 2013 The Chromium Authors. All rights reserved. 2f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be 3f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)// found in the LICENSE file. 4f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) 5f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)#include "net/cert/ct_objects_extractor.h" 6f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) 7f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)#include "base/logging.h" 8f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) 9f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)namespace net { 10f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) 11f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)namespace ct { 12f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) 13f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)bool ExtractEmbeddedSCTList(X509Certificate::OSCertHandle cert, 14f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) std::string* sct_list) { 15f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) NOTIMPLEMENTED(); 16f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) return false; 17f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)} 18f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) 19f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)bool GetPrecertLogEntry(X509Certificate::OSCertHandle leaf, 20f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) X509Certificate::OSCertHandle issuer, 21f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) LogEntry* result) { 22f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) NOTIMPLEMENTED(); 23f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) return false; 24f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)} 25f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) 26f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)bool GetX509LogEntry(X509Certificate::OSCertHandle leaf, LogEntry* result) { 27f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) NOTIMPLEMENTED(); 28f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) return false; 29f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)} 30f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) 31d57369da7c6519fef57db42085f7b42d4c8845c1Torne (Richard Coles)bool ExtractSCTListFromOCSPResponse(X509Certificate::OSCertHandle issuer, 32d57369da7c6519fef57db42085f7b42d4c8845c1Torne (Richard Coles) const std::string& cert_serial_number, 33d57369da7c6519fef57db42085f7b42d4c8845c1Torne (Richard Coles) const std::string& ocsp_response, 34d57369da7c6519fef57db42085f7b42d4c8845c1Torne (Richard Coles) std::string* sct_list) { 35d57369da7c6519fef57db42085f7b42d4c8845c1Torne (Richard Coles) NOTIMPLEMENTED(); 36d57369da7c6519fef57db42085f7b42d4c8845c1Torne (Richard Coles) return false; 37d57369da7c6519fef57db42085f7b42d4c8845c1Torne (Richard Coles)} 38d57369da7c6519fef57db42085f7b42d4c8845c1Torne (Richard Coles) 39f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)} // namespace ct 40f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles) 41f2477e01787aa58f445919b809d89e252beef54fTorne (Richard Coles)} // namespace net 42