From b60df56157ee1fd0bd4938799bac05a62fda91a1 Mon Sep 17 00:00:00 2001 From: lookshe Date: Sat, 14 Mar 2015 20:45:20 +0100 Subject: initial commit from working version --- .../com/hurlant/crypto/tls/KeyExchanges.as | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 signaling-server/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/KeyExchanges.as (limited to 'signaling-server/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/KeyExchanges.as') diff --git a/signaling-server/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/KeyExchanges.as b/signaling-server/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/KeyExchanges.as new file mode 100644 index 0000000..8b9fd0d --- /dev/null +++ b/signaling-server/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/KeyExchanges.as @@ -0,0 +1,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); + } + } +} \ No newline at end of file -- cgit v1.2.3