blob: d988d1ec8d00369539442ebb1784fafbe4e4d3b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/**
* 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);
}
}
}
|