blob: 1c660b5a92ca0376f70d6950be5e873c8eb23109 [file] [log] [blame]
QUICHE teama6ef0a62019-03-07 20:34:33 -05001// 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 QUICHE_QUIC_PLATFORM_API_QUIC_CERT_UTILS_H_
6#define QUICHE_QUIC_PLATFORM_API_QUIC_CERT_UTILS_H_
7
8#include "net/third_party/quiche/src/quic/platform/api/quic_string_piece.h"
9#include "net/quic/platform/impl/quic_cert_utils_impl.h"
10
11namespace quic {
12
13class QuicCertUtils {
14 public:
15 static bool ExtractSubjectNameFromDERCert(QuicStringPiece cert,
16 QuicStringPiece* subject_out) {
17 return QuicCertUtilsImpl::ExtractSubjectNameFromDERCert(cert, subject_out);
18 }
19};
20
21} // namespace quic
22
23#endif // QUICHE_QUIC_PLATFORM_API_QUIC_CERT_UTILS_H_