/js/lib/Socket.IO-node/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLEvent.as
ActionScript | 26 lines | 13 code | 4 blank | 9 comment | 0 complexity | 8d496adccbdc90270e5f6331b2367cea MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
- /**
- * SSLEvent
- *
- * This is used by TLSEngine to let the application layer know
- * when we're ready for sending, or have received application data
- * This Event was created by Bobby Parker to support SSL 3.0.
- *
- * See LICENSE.txt for full license information.
- */
- package com.hurlant.crypto.tls {
- import flash.events.Event;
- import flash.utils.ByteArray;
-
- public class SSLEvent extends Event {
-
- static public const DATA:String = "data";
- static public const READY:String = "ready";
-
- public var data:ByteArray;
-
- public function SSLEvent(type:String, data:ByteArray = null) {
- this.data = data;
- super(type, false, false);
- }
- }
- }