Function opcua_server::prelude::user_identity::legacy_password_decrypt
source · [−]pub fn legacy_password_decrypt(
secret: &ByteString,
server_nonce: &[u8],
server_key: &PKey<Private>,
padding: RsaPadding
) -> Result<String, StatusCode>
Expand description
Decrypt the client’s password using the server’s nonce and private key. This function is prefixed “legacy” because 1.04 describes another way of encrypting passwords.