proxygen
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
CertificateVerifier.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018-present, Facebook, Inc.
3
* All rights reserved.
4
*
5
* This source code is licensed under the BSD-style license found in the
6
* LICENSE file in the root directory of this source tree.
7
*/
8
9
#pragma once
10
11
#include <
fizz/protocol/Certificate.h
>
12
#include <
fizz/record/Extensions.h
>
13
14
namespace
fizz
{
15
16
class
FizzVerificationException
:
public
FizzException
{
17
public
:
18
FizzVerificationException
(
19
const
std::string
& msg,
20
folly::Optional<AlertDescription>
alert
)
21
:
FizzException
(msg, alert) {}
22
};
23
24
class
CertificateVerifier
{
25
public
:
26
virtual
~
CertificateVerifier
() =
default
;
27
33
virtual
void
verify
(
34
const
std::vector<std::shared_ptr<const PeerCert>>& certs)
const
= 0;
35
39
virtual
std::vector<Extension> getCertificateRequestExtensions()
const
= 0;
40
};
41
}
// namespace fizz
verify
void verify(int extras)
Definition:
StlVectorTest.cpp:1475
Certificate.h
fizz::CertificateVerifier
Definition:
CertificateVerifier.h:24
fizz::FizzVerificationException
Definition:
CertificateVerifier.h:16
fizz::FizzVerificationException::FizzVerificationException
FizzVerificationException(const std::string &msg, folly::Optional< AlertDescription > alert)
Definition:
CertificateVerifier.h:18
folly::Optional< AlertDescription >
fizz
Definition:
Actions.h:16
Extensions.h
fizz::ContentType::alert
string
const char * string
Definition:
Conv.cpp:212
fizz::FizzException
Definition:
Types.h:319
proxygen
fizz
fizz
protocol
CertificateVerifier.h
Generated by
1.8.11