4 * This is used by TLSEngine to let the application layer know
\r
5 * when we're ready for sending, or have received application data
\r
6 * Copyright (c) 2007 Henri Torgemane
\r
8 * See LICENSE.txt for full license information.
\r
10 package com.hurlant.crypto.tls {
\r
11 import flash.events.Event;
\r
12 import flash.utils.ByteArray;
13 import com.hurlant.crypto.cert.X509Certificate;
\r
15 public class TLSSocketEvent extends Event {
\r
17 static public const PROMPT_ACCEPT_CERT:String = "promptAcceptCert";
\r
19 public var cert:X509Certificate;
\r
21 public function TLSSocketEvent( cert:X509Certificate = null) {
\r
22 super(PROMPT_ACCEPT_CERT, false, false);
\r