Expand description
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 aeskey::*;pub use certificate_store::*;pub use hash::*;pub use pkey::*;pub use security_policy::*;pub use thumbprint::*;pub use user_identity::*;pub use x509::*;
Modules§
- aeskey
- Symmetric encryption / decryption wrapper.
- 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.
- random
- Module contains functions for creating cryptographically strong random bytes.
- 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.
- user_
identity - Functions related to encrypting / decrypting passwords in a UserNameIdentityToken.
- x509
Structs§
Constants§
Functions§
- create_
signature_ data - Creates a
SignatureDataobject by signing the supplied certificate and nonce with a pkey - hostname
- Returns this computer’s hostname
- 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.