Beispiel #1
0
 // ctor
 internal CredentialHandling(
     Dvtk.Sessions.ISecure secureSession)
 {
     this._securitySettings = secureSession.SecuritySettings;
     this._password         = this._securitySettings.TlsPassword;
     this._fileName         = this._securitySettings.CredentialsFileName;
     // Auto load credential file using the session settings.
     this.LoadCredentialFile(this._fileName, this._password);
 }
Beispiel #2
0
 //
 // ctor
 //
 internal CertificateHandling(
     Dvtk.Sessions.ISecure secureSession)
 {
     this._securitySettings = secureSession.SecuritySettings;
     this._password         = this._securitySettings.TlsPassword;
     this._fileName         = this._securitySettings.CertificateFileName;
     // Auto load certificate file using the session settings.
     this.LoadCertificateFile(this._fileName, this._password);
 }