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

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

Public Properties

| Property | Defined By
--- | --- | ---
|  | CAStore : X509CertificateCollection | TLSConfig
|  | certificate : ByteArray | TLSConfig
|  | cipherSuites : Array | TLSConfig
|  | compressions : Array | TLSConfig
|  | entity : uint | TLSConfig
|  | ignoreCommonNameMismatch : Boolean = false | TLSConfig
|  | localKeyStore : X509CertificateCollection | TLSConfig
|  | privateKey : RSAKey | TLSConfig
|  | promptUserForAcceptCert : Boolean = false | TLSConfig
|  | trustAllCertificates : Boolean = false | TLSConfig
|  | trustSelfSignedCertificates : Boolean = false | TLSConfig
|  | version : uint | TLSConfig

Public Methods

| Method | Defined By
--- | --- | ---
|  | TLSConfig(entity:uint, cipherSuites:Array = null, compressions:Array = null, certificate:ByteArray = null, privateKey:RSAKey = null, CAStore:X509CertificateCollection = null, ver:uint = 0x00) | TLSConfig
|  | setPEMCertificate(cert:String, key:String = null):void | TLSConfig

Property Detail

CAStore | property

`public var CAStore:X509CertificateCollection`

certificate | property |

`public var certificate:ByteArray`

cipherSuites | property |

`public var cipherSuites:Array`

compressions | property |

`public var compressions:Array`

entity | property |

`public var entity:uint`

ignoreCommonNameMismatch | property |

`public var ignoreCommonNameMismatch:Boolean = false`

localKeyStore | property |

`public var localKeyStore:X509CertificateCollection`

privateKey | property |

`public var privateKey:RSAKey`

promptUserForAcceptCert | property |

`public var promptUserForAcceptCert:Boolean = false`

trustAllCertificates | property |

`public var trustAllCertificates:Boolean = false`

trustSelfSignedCertificates | property |

`public var trustSelfSignedCertificates:Boolean = false`

version | property |

`public var version:uint`

Constructor Detail

TLSConfig | () | Constructor

`public function TLSConfig(entity:uint, cipherSuites:Array = null, compressions:Array = null, certificate:ByteArray = null, privateKey:RSAKey = null, CAStore:X509CertificateCollection = null, ver:uint = 0x00)`

Parameters

| `entity:uint`
| `cipherSuites:Array` (default = `null`)``
| `compressions:Array` (default = `null`)``
| `certificate:ByteArray` (default = `null`)``
| `privateKey:RSAKey` (default = `null`)``
| `CAStore:X509CertificateCollection` (default = `null`)``
| `ver:uint` (default = `0x00`)``

Method Detail

setPEMCertificate | () | method

`public function setPEMCertificate(cert:String, key:String = null):void`

Parameters

| `cert:String`
| `key:String` (default = `null`)``

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