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 --- .../flash-src/com/hurlant/crypto/tls/TLSError.as | 39 ++++++++++++++++++++++ 1 file changed, 39 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/TLSError.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/TLSError.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/TLSError.as b/signaling-server/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSError.as new file mode 100644 index 0000000..16fac6d --- /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/TLSError.as @@ -0,0 +1,39 @@ +/** + * TLSError + * + * A error that can be thrown when something wrong happens in the TLS protocol. + * This is handled in TLSEngine by generating a TLS ALERT as appropriate. + * Copyright (c) 2007 Henri Torgemane + * + * See LICENSE.txt for full license information. + */ +package com.hurlant.crypto.tls { + public class TLSError extends Error { + public static const close_notify:uint = 0; + public static const unexpected_message:uint = 10; + public static const bad_record_mac:uint = 20; + public static const decryption_failed:uint = 21; + public static const record_overflow:uint = 22; + public static const decompression_failure:uint = 30; + public static const handshake_failure:uint = 40; + public static const bad_certificate:uint = 42; + public static const unsupported_certificate:uint = 43; + public static const certificate_revoked:uint = 44; + public static const certificate_expired:uint = 45; + public static const certificate_unknown:uint = 46; + public static const illegal_parameter:uint = 47; + public static const unknown_ca:uint = 48; + public static const access_denied:uint = 49; + public static const decode_error:uint = 50; + public static const decrypt_error:uint = 51; + public static const protocol_version:uint = 70; + public static const insufficient_security:uint = 71; + public static const internal_error:uint = 80; + public static const user_canceled:uint = 90; + public static const no_renegotiation:uint = 100; + + public function TLSError(message:String, id:int) { + super(message,id); + } + } +} \ No newline at end of file -- cgit v1.2.3