Bug:Fix file validation issue
[vnfsdk/refrepo.git] / vnfmarket / src / main / webapp / vnfmarket / node_modules / socket.io-client / lib / vendor / web-socket-js / flash-src / com / hurlant / crypto / tls / KeyExchanges.as
1 /**\r
2  * KeyExchanges\r
3  * \r
4  * An enumeration of key exchange methods defined by TLS\r
5  * ( right now, only RSA is actually implemented )\r
6  * Copyright (c) 2007 Henri Torgemane\r
7  * \r
8  * See LICENSE.txt for full license information.\r
9  */\r
10 package com.hurlant.crypto.tls {\r
11         public class KeyExchanges {\r
12                 public static const NULL:uint = 0;\r
13                 public static const RSA:uint = 1;\r
14                 public static const DH_DSS:uint = 2;\r
15                 public static const DH_RSA:uint = 3;\r
16                 public static const DHE_DSS:uint = 4;\r
17                 public static const DHE_RSA:uint = 5;\r
18                 public static const DH_anon:uint = 6;\r
19                 \r
20                 public static function useRSA(p:uint):Boolean {\r
21                         return (p==RSA);\r
22                 }\r
23         }\r
24 }