public void Reset() {
lock(_sync) {
_last_update = DateTime.UtcNow;
_last_called_request_update = DateTime.UtcNow;
_local_cert = new WriteOnceX509();
_remote_cert = new WriteOnceX509();
DHEWithCertificateAndCAsInHash = new WriteOnceIdempotent<MemBlock>();
DHEWithCertificateAndCAsOutHash = new WriteOnceIdempotent<MemBlock>();
DHEWithCertificateHash = new WriteOnceIdempotent<MemBlock>();
RDHE = new WriteOnceIdempotent<MemBlock>();
RemoteCookie = new WriteOnceIdempotent<MemBlock>();
_ldhe = null;
_hash_verified = false;
_called_enable = 0;
_receiving = true;
_sending = true;
}
UpdateState(States.Active, States.Updating);
}