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.
Re-exports
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 |
Symmetric encryption / decryption wrapper. |
algorithms |
These are algorithms that are used by various policies or external to this file |
certificate_store |
The certificate store holds and retrieves private keys and certificates from disk. It is responsible for checking certificates supplied by the remote end to see if they are valid and trusted or not. |
hash |
Hashing functions used for producing and verifying digital signatures |
pkey |
Asymmetric encryption / decryption, signing / verification wrapper. |
security_policy |
Security policy is the symmetric, asymmetric encryption / decryption + signing / verification algorithms to use and enforce for the current session. |
thumbprint |
Functionality for holding a message digest. |
x509 |
Constants
SHA1_SIZE | |
SHA256_SIZE |
Functions
concat_data_and_nonce | |
create_signature_data |
Creates a |
verify_signature_data |
Verifies that the supplied signature data was produced by the signing cert. The contained cert and nonce are supplied so the signature can be verified against the expected data. |