1 unstable release

0.14.0 Jan 24, 2025

#1940 in Embedded development

Download history 65/week @ 2025-01-18 57/week @ 2025-01-25 28/week @ 2025-02-01 9/week @ 2025-02-08 14/week @ 2025-02-15 27/week @ 2025-02-22 173/week @ 2025-03-01

228 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
~344K SLoC