/js/lib/Socket.IO-node/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSSocketEvent.as
ActionScript | 26 lines | 13 code | 4 blank | 9 comment | 0 complexity | ea621156c898a0887f08c7060042f5b9 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
- /**
- * 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;
- }
- }
- }