/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
- /**
- * 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;
- }
- }
- }