/flash-src/third-party/com/hurlant/crypto/tls/TLSEvent.as
http://github.com/gimite/web-socket-js · ActionScript · 27 lines · 14 code · 4 blank · 9 comment · 0 complexity · e0f7f72e8b49432359f99722729cd15b MD5 · raw file
- /**
- * 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;
-
- public class TLSEvent extends Event {
-
- static public const DATA:String = "data";
- static public const READY:String = "ready";
- static public const PROMPT_ACCEPT_CERT:String = "promptAcceptCert";
-
- public var data:ByteArray;
-
- public function TLSEvent(type:String, data:ByteArray = null) {
- this.data = data;
- super(type, false, false);
- }
- }
- }