summaryrefslogtreecommitdiffstats
path: root/net/base/origin_bound_cert_store.cc
blob: f5972041498c0420f600d20f10e0cb1c68f4f9f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "net/base/origin_bound_cert_store.h"

namespace net {

OriginBoundCertStore::OriginBoundCert::OriginBoundCert() {}

OriginBoundCertStore::OriginBoundCert::OriginBoundCert(
    const std::string& origin,
    SSLClientCertType type,
    base::Time expiration_time,
    const std::string& private_key,
    const std::string& cert)
    : origin_(origin),
      type_(type),
      expiration_time_(expiration_time),
      private_key_(private_key),
      cert_(cert) {}

OriginBoundCertStore::OriginBoundCert::~OriginBoundCert() {}

}  // namespace net