pub fn read_ts_validate(request: &[u8]) -> RdpResult<Vec<u8>>
Expand description
read ts validate This is the last step in cssp handshake Server must send its public key incremented by one and cyphered with the authentication protocol Parse the ts message and extract the public key
ยงExample
use rdp::nla::cssp::read_ts_validate;
let pub_key = read_ts_validate(&[48, 12, 160, 3, 2, 1, 2, 163, 5, 4, 3, 0, 1, 2]).unwrap();
assert_eq!(pub_key, [0, 1, 2])