ua_securitypolicy_basic256sha256.h 960 B

12345678910111213141516171819202122232425262728293031
  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. * Copyright 2018 (c) Daniel Feist, Precitec GmbH & Co. KG
  7. */
  8. #ifndef UA_SECURITYPOLICY_BASIC256SHA256_H_
  9. #define UA_SECURITYPOLICY_BASIC256SHA256_H_
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. #include "ua_plugin_securitypolicy.h"
  14. #include "ua_plugin_log.h"
  15. UA_EXPORT UA_StatusCode
  16. UA_SecurityPolicy_Basic256Sha256(UA_SecurityPolicy *policy,
  17. UA_CertificateVerification *certificateVerification,
  18. const UA_ByteString localCertificate,
  19. const UA_ByteString localPrivateKey,
  20. UA_Logger logger);
  21. #ifdef __cplusplus
  22. }
  23. #endif
  24. #endif // UA_SECURITYPOLICY_BASIC256SHA256_H_