1 unstable release

new 0.14.0 Jan 24, 2025

#232 in Embedded development

Download history 107/week @ 2025-01-21

107 downloads per month
Used in 4 crates

MPL-2.0 license

4.5MB
81K SLoC

Async OPC-UA Crypto

Part of async-opcua, a general purpose OPC-UA library in rust.

This defines common cryptographic tooling for the OPC-UA protocol using libraries from Rust Crypto.

Currently supported security policies:

  • Basic256 (Deprecated)
  • Basic128Rsa15 (Deprecated)
  • Basic256Sha256 (Deprecated)
  • Aes256Sha256RsaPss
  • Aes128Sha256Oaep

There's also some general tooling for working with and generating X509 Certificates, as well as support for the legacy password encryption/decryption scheme in OPC-UA.

You are unlikely to want to use this library directly, but it is used in both the server and client parts async-opcua.


lib.rs:

Crypto related functionality. It is used for establishing trust between a client and server via certificate exchange and validation. It also used for encrypting / decrypting messages and signing messages.

Dependencies

~11–22MB
~324K SLoC