open62541 1.3.12
Open source implementation of OPC UA
Loading...
Searching...
No Matches
create_certificate.h
Go to the documentation of this file.
1/** This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
4 *
5 * Copyright 2021 (c) Christian von Arnim, ISW University of Stuttgart (for VDW and umati)
6 */
7
8#ifndef CREATE_CERTIFICATE_H_
9#define CREATE_CERTIFICATE_H_
10
12#include <open62541/types.h>
13
15
16#ifdef UA_ENABLE_ENCRYPTION
21
22
25 const UA_String *subject, size_t subjectSize,
26 const UA_String *subjectAltName, size_t subjectAltNameSize,
27 size_t keySizeBits, UA_CertificateFormat certFormat,
28 UA_ByteString *outPrivateKey, UA_ByteString *outCertificate);
29#endif
30
32
33#endif /* CREATE_CERTIFICATE_H_ */
#define _UA_BEGIN_DECLS
#undef UA_DEBUG_DUMP_PKGS
Definition config.h:89
#define _UA_END_DECLS
Definition config.h:96
UA_StatusCode UA_CreateCertificate(const UA_Logger *logger, const UA_String *subject, size_t subjectSize, const UA_String *subjectAltName, size_t subjectAltNameSize, size_t keySizeBits, UA_CertificateFormat certFormat, UA_ByteString *outPrivateKey, UA_ByteString *outCertificate)
UA_CertificateFormat
This Source Code Form is subject to the terms of the Mozilla Public License, v.
@ UA_CERTIFICATEFORMAT_PEM
@ UA_CERTIFICATEFORMAT_DER
uint32_t UA_StatusCode
Definition types.h:77