ua_securitypolicy_basic128rsa15.h 891 B

123456789101112131415161718192021222324252627282930
  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 2018 (c) Mark Giraud, Fraunhofer IOSB
  6. */
  7. #ifndef UA_SECURITYPOLICY_BASIC128RSA15_H_
  8. #define UA_SECURITYPOLICY_BASIC128RSA15_H_
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. #include "ua_plugin_securitypolicy.h"
  13. #include "ua_plugin_log.h"
  14. UA_EXPORT UA_StatusCode
  15. UA_SecurityPolicy_Basic128Rsa15(UA_SecurityPolicy *policy,
  16. UA_CertificateVerification *certificateVerification,
  17. const UA_ByteString localCertificate,
  18. const UA_ByteString localPrivateKey,
  19. UA_Logger logger);
  20. #ifdef __cplusplus
  21. }
  22. #endif
  23. #endif // UA_SECURITYPOLICY_BASIC128RSA15_H_