proxygen
AsyncSelfCert.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 
12 #include <folly/futures/Future.h>
13 
14 namespace fizz {
15 
20 class AsyncSelfCert : public SelfCert {
21  public:
23  SignatureScheme scheme,
25  folly::ByteRange toBeSigned) const = 0;
26 };
27 } // namespace fizz
context
Definition: CMakeCache.txt:563
SignatureScheme
Definition: Types.h:257
Definition: Actions.h:16
virtual folly::Future< folly::Optional< Buf > > signFuture(SignatureScheme scheme, CertificateVerifyContext context, folly::ByteRange toBeSigned) const =0
CertificateVerifyContext
Definition: Certificate.h:20