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

Package | com.hurlant.crypto.tls
Class | public class BulkCiphers
Inheritance | BulkCiphers Object

Public Methods

| Method | Defined By
--- | --- | ---
|  | BulkCiphers(t:uint, kb:uint, ekb:uint, fkb:uint, ivs:uint, bs:uint) | BulkCiphers
|  | getBlockSize(cipher:uint):uint [static] | BulkCiphers
|  | getCipher(cipher:uint, key:ByteArray, proto:uint):ICipher [static] | BulkCiphers
|  | getEffectiveKeyBits(cipher:uint):uint [static] | BulkCiphers
|  | getExpandedKeyBytes(cipher:uint):uint [static] | BulkCiphers
|  | getIVSize(cipher:uint):uint [static] | BulkCiphers
|  | getKeyBytes(cipher:uint):uint [static] | BulkCiphers
|  | getType(cipher:uint):uint [static] | BulkCiphers

Public Constants

| Constant | Defined By
--- | --- | ---
|  | AES_128 : uint = 8 [static] | BulkCiphers
|  | AES_256 : uint = 9 [static] | BulkCiphers
|  | BLOCK_CIPHER : uint = 1 [static] | BulkCiphers
|  | DES3_EDE_CBC : uint = 5 [static] | BulkCiphers
|  | DES40_CBC : uint = 6 [static] | BulkCiphers
|  | DES_CBC : uint = 4 [static] | BulkCiphers
|  | IDEA_CBC : uint = 7 [static] | BulkCiphers
|  | NULL : uint = 0 [static] | BulkCiphers
|  | RC2_CBC_40 : uint = 3 [static] | BulkCiphers
|  | RC4_128 : uint = 2 [static] | BulkCiphers
|  | RC4_40 : uint = 1 [static] | BulkCiphers
|  | STREAM_CIPHER : uint = 0 [static] | BulkCiphers

Constructor Detail

BulkCiphers | () | Constructor

`public function BulkCiphers(t:uint, kb:uint, ekb:uint, fkb:uint, ivs:uint, bs:uint)`

Parameters

| `t:uint`
| `kb:uint`
| `ekb:uint`
| `fkb:uint`
| `ivs:uint`
| `bs:uint`

Method Detail

getBlockSize | () | method

`public static function getBlockSize(cipher:uint):uint`

Parameters

| `cipher:uint`

Returns

| `uint`

getCipher | () | method |

`public static function getCipher(cipher:uint, key:ByteArray, proto:uint):ICipher`

Parameters

| `cipher:uint`
| `key:ByteArray`
| `proto:uint`

Returns

| `ICipher`

getEffectiveKeyBits | () | method |

`public static function getEffectiveKeyBits(cipher:uint):uint`

Parameters

| `cipher:uint`

Returns

| `uint`

getExpandedKeyBytes | () | method |

`public static function getExpandedKeyBytes(cipher:uint):uint`

Parameters

| `cipher:uint`

Returns

| `uint`

getIVSize | () | method |

`public static function getIVSize(cipher:uint):uint`

Parameters

| `cipher:uint`

Returns

| `uint`

getKeyBytes | () | method |

`public static function getKeyBytes(cipher:uint):uint`

Parameters

| `cipher:uint`

Returns

| `uint`

getType | () | method |

`public static function getType(cipher:uint):uint`

Parameters

| `cipher:uint`

Returns

| `uint`

Constant Detail

AES_128 | Constant

`public static const AES_128:uint = 8`

AES_256 | Constant |

`public static const AES_256:uint = 9`

BLOCK_CIPHER | Constant |

`public static const BLOCK_CIPHER:uint = 1`

DES_CBC | Constant |

`public static const DES_CBC:uint = 4`

DES3_EDE_CBC | Constant |

`public static const DES3_EDE_CBC:uint = 5`

DES40_CBC | Constant |

`public static const DES40_CBC:uint = 6`

IDEA_CBC | Constant |

`public static const IDEA_CBC:uint = 7`

NULL | Constant |

`public static const NULL:uint = 0`

RC2_CBC_40 | Constant |

`public static const RC2_CBC_40:uint = 3`

RC4_128 | Constant |

`public static const RC4_128:uint = 2`

RC4_40 | Constant |

`public static const RC4_40:uint = 1`

STREAM_CIPHER | Constant |

`public static const STREAM_CIPHER:uint = 0`

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