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

Package | com.hurlant.crypto.tls
Class | public class TLSSecurityParameters
Inheritance | TLSSecurityParameters Object
Implements | ISecurityParameters

Public Properties

| Property | Defined By
--- | --- | ---
|  | ENABLE_USER_CLIENT_CERTIFICATE : Boolean = false [static] | TLSSecurityParameters
|  | IGNORE_CN_MISMATCH : Boolean = true [static] | TLSSecurityParameters
|  | keyExchange : uint | TLSSecurityParameters
|  | USER_CERTIFICATE : String [static] | TLSSecurityParameters
|  | useRSA : Boolean [read-only] | TLSSecurityParameters
|  | version : uint [read-only] | TLSSecurityParameters

Public Methods

| Method | Defined By
--- | --- | ---
|  | TLSSecurityParameters(entity:uint, localCert:ByteArray = null, localKey:RSAKey = null) | TLSSecurityParameters
|  | computeCertificateVerify(side:uint, handshakeMessages:ByteArray):ByteArray | TLSSecurityParameters
|  | computeVerifyData(side:uint, handshakeMessages:ByteArray):ByteArray | TLSSecurityParameters
|  | getBulkCipher():uint | TLSSecurityParameters
|  | getCipherType():uint | TLSSecurityParameters
|  | getConnectionStates():Object | TLSSecurityParameters
|  | getMacAlgorithm():uint | TLSSecurityParameters
|  | reset():void | TLSSecurityParameters
|  | setCipher(cipher:uint):void | TLSSecurityParameters
|  | setClientRandom(secret:ByteArray):void | TLSSecurityParameters
|  | setCompression(algo:uint):void | TLSSecurityParameters
|  | setPreMasterSecret(secret:ByteArray):void | TLSSecurityParameters
|  | setServerRandom(secret:ByteArray):void | TLSSecurityParameters

Public Constants

| Constant | Defined By
--- | --- | ---
|  | COMPRESSION_NULL : uint = 0 [static] | TLSSecurityParameters
|  | PROTOCOL_VERSION : uint = 0x0301 [static] | TLSSecurityParameters

Property Detail

ENABLE_USER_CLIENT_CERTIFICATE | property

`public static var ENABLE_USER_CLIENT_CERTIFICATE:Boolean = false`

IGNORE_CN_MISMATCH | property |

`public static var IGNORE_CN_MISMATCH:Boolean = true`

keyExchange | property |

`public var keyExchange:uint`

USER_CERTIFICATE | property |

`public static var USER_CERTIFICATE:String`

useRSA | property |

`useRSA:Boolean` [read-only]

Implementation
`public function get useRSA():Boolean`

version | property |

`version:uint` [read-only]

Implementation
`public function get version():uint`
Constructor Detail

TLSSecurityParameters | () | Constructor

`public function TLSSecurityParameters(entity:uint, localCert:ByteArray = null, localKey:RSAKey = null)`

Parameters

| `entity:uint`
| `localCert:ByteArray` (default = `null`)``
| `localKey:RSAKey` (default = `null`)``

Method Detail

computeCertificateVerify | () | method

`public function computeCertificateVerify(side:uint, handshakeMessages:ByteArray):ByteArray`

Parameters

| `side:uint`
| `handshakeMessages:ByteArray`

Returns

| `ByteArray`

computeVerifyData | () | method |

`public function computeVerifyData(side:uint, handshakeMessages:ByteArray):ByteArray`

Parameters

| `side:uint`
| `handshakeMessages:ByteArray`

Returns

| `ByteArray`

getBulkCipher | () | method |

`public function getBulkCipher():uint`

Returns

| `uint`

getCipherType | () | method |

`public function getCipherType():uint`

Returns

| `uint`

getConnectionStates | () | method |

`public function getConnectionStates():Object`

Returns

| `Object`

getMacAlgorithm | () | method |

`public function getMacAlgorithm():uint`

Returns

| `uint`

reset | () | method |

`public function reset():void`

setCipher | () | method |

`public function setCipher(cipher:uint):void`

Parameters

| `cipher:uint`

setClientRandom | () | method |

`public function setClientRandom(secret:ByteArray):void`

Parameters

| `secret:ByteArray`

setCompression | () | method |

`public function setCompression(algo:uint):void`

Parameters

| `algo:uint`

setPreMasterSecret | () | method |

`public function setPreMasterSecret(secret:ByteArray):void`

Parameters

| `secret:ByteArray`

setServerRandom | () | method |

`public function setServerRandom(secret:ByteArray):void`

Parameters

| `secret:ByteArray`

Constant Detail

COMPRESSION_NULL | Constant

`public static const COMPRESSION_NULL:uint = 0`

PROTOCOL_VERSION | Constant |

`public static const PROTOCOL_VERSION:uint = 0x0301`

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