aboutsummaryrefslogtreecommitdiffstats
path: root/signaling-server/node_modules/socket.io/node_modules/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLEvent.as
blob: 9a63521abaaab2e57d3fd4099dbd17a2912d245c (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
25
26
/**
 * 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);
		}
	}
}