示例#1
0
 public CipherSuite(
     CipherSuiteCode code, CipherAlgorithmType cipherAlgorithmType,
     HashAlgorithmType hashAlgorithmType, ExchangeAlgorithmType exchangeAlgorithmType)
 {
     Code = code;
     Name = code.ToString();
     CipherAlgorithmType   = cipherAlgorithmType;
     HashAlgorithmType     = hashAlgorithmType;
     ExchangeAlgorithmType = exchangeAlgorithmType;
 }
示例#2
0
		public CipherSuite (
			CipherSuiteCode code, CipherAlgorithmType cipherAlgorithmType, 
			HashAlgorithmType hashAlgorithmType, ExchangeAlgorithmType exchangeAlgorithmType)
		{
			Code = code;
			Name = code.ToString ();
			CipherAlgorithmType = cipherAlgorithmType;
			HashAlgorithmType = hashAlgorithmType;
			ExchangeAlgorithmType = exchangeAlgorithmType;
		}