/// This delegate is only used by client sockets
/// If an error is thrown by the code in the delegate, the SecureSocket will close the connection.
///
public delegate void CertRequestEventHandler(SecureSocket socket, DistinguishedNameList acceptable, RequestEventArgs e);
internal enum ControlType {
Shutdown,
Renegotiate,
ClientHello
}
internal enum DataType {
ApplicationData,
ProtocolData
}
internal enum SslStatus {
OK,
ContinueNeeded,
MessageIncomplete,
Close
}
internal enum HashType {
MD5,
SHA1
}
}