protected virtual void CleanupHandshake() { if (mExpectedVerifyData != null) { Arrays.Fill(mExpectedVerifyData, 0); mExpectedVerifyData = null; } mSecurityParameters.Clear(); mPeerCertificate = null; mOfferedCipherSuites = null; mOfferedCompressionMethods = null; mClientExtensions = null; mServerExtensions = null; mResumedSession = false; mReceivedChangeCipherSpec = false; mSecureRenegotiation = false; mAllowCertificateStatus = false; mExpectSessionTicket = false; }