/// <summary>
 /// Constructs an instance of the SecuritySession_ZpaServer class.
 /// </summary>
 /// <param name="name">Name of the SecuritySession being created.</param>
 /// <param name="remote">The remote host.</param>
 /// <param name="keyProvider_ZpaServer">The server key provider.</param>
 public SecuritySession_ZpaServer(string name, HostInformation remote, KeyProvider_ZpaServer keyProvider_ZpaServer)
     : base(name, remote, keyProvider_ZpaServer.ZpaFeatureFlags)
 {
     this.KeyProvider_ZpaServer = keyProvider_ZpaServer;
     Random random = new Random();
     this.Salt = ZeroProofAuthorizationUtility.GenerateArbitrarySequence(128 + random.Next(128));
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Constructs an instance of the SecuritySession_ZpaServer class.
        /// </summary>
        /// <param name="name">Name of the SecuritySession being created.</param>
        /// <param name="remote">The remote host.</param>
        /// <param name="keyProvider_ZpaServer">The server key provider.</param>
        public SecuritySession_ZpaServer(string name, HostInformation remote, KeyProvider_ZpaServer keyProvider_ZpaServer)
            : base(name, remote, keyProvider_ZpaServer.ZpaFeatureFlags)
        {
            this.KeyProvider_ZpaServer = keyProvider_ZpaServer;
            Random random = new Random();

            this.Salt = ZeroProofAuthorizationUtility.GenerateArbitrarySequence(128 + random.Next(128));
        }