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/TLSSocketEvent.as
blob: c38f0dcbe9f325f8f5a04cb79521844c03acee91 (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
/**
 * TLSEvent
 * 
 * This is used by TLSEngine to let the application layer know
 * when we're ready for sending, or have received application data
 * Copyright (c) 2007 Henri Torgemane
 * 
 * See LICENSE.txt for full license information.
 */
package com.hurlant.crypto.tls {
	import flash.events.Event;
	import flash.utils.ByteArray;
	import com.hurlant.crypto.cert.X509Certificate;
	
	public class TLSSocketEvent extends Event {
		
		static public const PROMPT_ACCEPT_CERT:String = "promptAcceptCert";
		
		public var cert:X509Certificate;
		
		public function TLSSocketEvent( cert:X509Certificate = null) { 
			super(PROMPT_ACCEPT_CERT, false, false);
			this.cert = cert;
		}
	}
}