ActionScript 3 Cryptography Library | All Packages | All Classes | Index | Frames No Frames |
TLSConnectionState

Package | com.hurlant.crypto.tls
Class | public class TLSConnectionState
Inheritance | TLSConnectionState Object
Implements | IConnectionState

Public Methods

| Method | Defined By
--- | --- | ---
|  | TLSConnectionState(bulkCipher:uint = 0, cipherType:uint = 0, macAlgorithm:uint = 0, mac:ByteArray = null, key:ByteArray = null, IV:ByteArray = null) | TLSConnectionState
|  | decrypt(type:uint, length:uint, p:ByteArray):ByteArray | TLSConnectionState
|  | encrypt(type:uint, p:ByteArray):ByteArray | TLSConnectionState

Constructor Detail

TLSConnectionState | () | Constructor

`public function TLSConnectionState(bulkCipher:uint = 0, cipherType:uint = 0, macAlgorithm:uint = 0, mac:ByteArray = null, key:ByteArray = null, IV:ByteArray = null)`

Parameters

| `bulkCipher:uint` (default = `0`)``
| `cipherType:uint` (default = `0`)``
| `macAlgorithm:uint` (default = `0`)``
| `mac:ByteArray` (default = `null`)``
| `key:ByteArray` (default = `null`)``
| `IV:ByteArray` (default = `null`)``

Method Detail

decrypt | () | method

`public function decrypt(type:uint, length:uint, p:ByteArray):ByteArray`

Parameters

| `type:uint`
| `length:uint`
| `p:ByteArray`

Returns

| `ByteArray`

encrypt | () | method |

`public function encrypt(type:uint, p:ByteArray):ByteArray`

Parameters

| `type:uint`
| `p:ByteArray`

Returns

| `ByteArray`

Mon May 20 2013, 09:16 PM +02:00