Function opcua_server::prelude::legacy_password_encrypt
source · [−]pub fn legacy_password_encrypt(
password: &str,
server_nonce: &[u8],
server_cert: &X509,
padding: RsaPadding
) -> Result<ByteString, StatusCode>
Expand description
Encrypt a client side user’s password using the server nonce and cert. This is described in table 176 OPC UA part 4. This function is prefixed “legacy” because 1.04 describes another way of encrypting passwords.