blob: 1c660b5a92ca0376f70d6950be5e873c8eb23109 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright 2016 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._
#ifndef QUICHE_QUIC_PLATFORM_API_QUIC_CERT_UTILS_H_
#define QUICHE_QUIC_PLATFORM_API_QUIC_CERT_UTILS_H_
#include "net/third_party/quiche/src/quic/platform/api/quic_string_piece.h"
#include "net/quic/platform/impl/quic_cert_utils_impl.h"
namespace quic {
class QuicCertUtils {
public:
static bool ExtractSubjectNameFromDERCert(QuicStringPiece cert,
QuicStringPiece* subject_out) {
return QuicCertUtilsImpl::ExtractSubjectNameFromDERCert(cert, subject_out);
}
};
} // namespace quic
#endif // QUICHE_QUIC_PLATFORM_API_QUIC_CERT_UTILS_H_
|