Module opcua_core::crypto [] [src]

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.

Reexports

pub use self::x509::*;
pub use self::aeskey::*;
pub use self::pkey::*;
pub use self::thumbprint::*;
pub use self::certificate_store::*;
pub use self::hash::*;
pub use self::security_policy::*;

Modules

aeskey
algorithms

These are algorithms that are used by various policies or external to this file

certificate_store

The certificate store is responsible for storing and retrieving certificates from disk and for establishing the trustworthiness of those certificates when establishing connections between the application and the client/server it is communicating with.

hash
pkey
security_policy
thumbprint
x509

Constants

SHA1_SIZE
SHA256_SIZE

Functions

create_signature_data

Creates a SignatureData object by signing the supplied certificate and nonce with a pkey

verify_signature

Verifies that cert matches the signed data