Trait GenericSecurityService

Source
pub trait GenericSecurityService {
    // Required methods
    fn gss_wrapex(&mut self, data: &[u8]) -> RdpResult<Vec<u8>>;
    fn gss_unwrapex(&mut self, data: &[u8]) -> RdpResult<Vec<u8>>;
}
Expand description

This is a trait use by authentication protocol to provide a context abstract for CSSP

Required Methods§

Source

fn gss_wrapex(&mut self, data: &[u8]) -> RdpResult<Vec<u8>>

Use by CSSP to cypher and sign TS request Using the underlying authentication protocol

Source

fn gss_unwrapex(&mut self, data: &[u8]) -> RdpResult<Vec<u8>>

Use by the CSSP layer to uncipher and check payload using the underlying authentication protocol selected

Implementors§