ua_securitypolicy_basic256sha256.h 926 B

123456789101112131415161718192021222324252627
  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. #include "ua_plugin_securitypolicy.h"
  11. #include "ua_plugin_log.h"
  12. _UA_BEGIN_DECLS
  13. UA_EXPORT UA_StatusCode
  14. UA_SecurityPolicy_Basic256Sha256(UA_SecurityPolicy *policy,
  15. UA_CertificateVerification *certificateVerification,
  16. const UA_ByteString localCertificate,
  17. const UA_ByteString localPrivateKey,
  18. UA_Logger logger);
  19. _UA_END_DECLS
  20. #endif /* UA_SECURITYPOLICY_BASIC256SHA256_H_ */