blob: 8b9fd0db63e00b99001790de39656b17958d3ddf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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);
}
}
}
|