blob: 3b20212ebfc6ed4cbaf8d40f0e67ec2cd7ab4606 [file] [log] [blame]
Darin Petkovd9050bb2012-09-26 16:02:52 +02001// Copyright (c) 2012 The Chromium OS 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 SHILL_SHIMS_CERTIFICATES_H_
6#define SHILL_SHIMS_CERTIFICATES_H_
7
8#include "shill/byte_string.h"
9
10class FilePath;
11
12namespace shill {
13
14namespace shims {
15
16class Certificates {
17 public:
18 static ByteString ConvertDERToPEM(const ByteString &der_cert);
19
20 static bool Write(const ByteString &cert, const FilePath &certfile);
21};
22
23} // namespace shims
24
25} // namespace shill
26
27#endif // SHILL_SHIMS_CERTIFICATES_H_