Files
flipper/xplat/Flipper/CertificateUtils.h
Michel Weststrate ffbccf2331 Fixed more missing namespaces
Summary: See the previous diffs, we pollute the global namespace here and there. Found some more missing namespace wrappers. Tried to wrap `FlipperStep` as well, which passed tests but gave weird linking errors in Wilde, so reverted that part (the name is not very ambiguous anyway)

Reviewed By: cekkaewnumchai

Differential Revision: D24193109

fbshipit-source-id: 111c479e421fdb321e898f948586229f30a7d777
2020-10-13 03:06:38 -07:00

27 lines
557 B
C++

/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#ifndef CertificateUtils_hpp
#define CertificateUtils_hpp
#include <openssl/pem.h>
#include <openssl/rsa.h>
#include <stdio.h>
namespace facebook {
namespace flipper {
bool generateCertSigningRequest(
const char* appId,
const char* csrFile,
const char* privateKeyFile);
} // namespace flipper
} // namespace facebook
#endif /* CertificateUtils_hpp */