PageRenderTime 18ms CodeModel.GetById 15ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/flash-src/third-party/com/hurlant/crypto/tls/TLSSocketEvent.as

http://github.com/gimite/web-socket-js
ActionScript | 26 lines | 13 code | 4 blank | 9 comment | 0 complexity | 2b65fc207d2e4dde7730c5cde6ff29fc MD5 | raw file
 1/**
 2 * TLSEvent
 3 * 
 4 * This is used by TLSEngine to let the application layer know
 5 * when we're ready for sending, or have received application data
 6 * Copyright (c) 2007 Henri Torgemane
 7 * 
 8 * See LICENSE.txt for full license information.
 9 */
10package com.hurlant.crypto.tls {
11	import flash.events.Event;
12	import flash.utils.ByteArray;
13	import com.hurlant.crypto.cert.X509Certificate;
14	
15	public class TLSSocketEvent extends Event {
16		
17		static public const PROMPT_ACCEPT_CERT:String = "promptAcceptCert";
18		
19		public var cert:X509Certificate;
20		
21		public function TLSSocketEvent( cert:X509Certificate = null) { 
22			super(PROMPT_ACCEPT_CERT, false, false);
23			this.cert = cert;
24		}
25	}
26}