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
8 * See LICENSE.txt for full license information.
\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
20 public static function useRSA(p:uint):Boolean {
\r