keyexchanges.as

来自「As3 Crypto is a cryptography library wri」· AS 代码 · 共 24 行

AS
24
字号
/**
 * KeyExchanges
 * 
 * An enumeration of key exchange methods defined by TLS
 * ( right now, only RSA is actually implemented )
 * Copyright (c) 2007 Henri Torgemane
 * 
 * See LICENSE.txt for full license information.
 */
package com.hurlant.crypto.tls {
	public class KeyExchanges {
		public static const NULL:uint = 0;
		public static const RSA:uint = 1;
		public static const DH_DSS:uint = 2;
		public static const DH_RSA:uint = 3;
		public static const DHE_DSS:uint = 4;
		public static const DHE_RSA:uint = 5;
		public static const DH_anon:uint = 6;
		
		public static function useRSA(p:uint):Boolean {
			return (p==RSA);
		}
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?