| Package | com.hurlant.crypto.tls |
| Class | public class TLSSecurityParameters |
| Inheritance | TLSSecurityParameters Object |
| Implements | ISecurityParameters |
| 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 | ||
| 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 | ||
| Constant | Defined By | ||
|---|---|---|---|
| COMPRESSION_NULL : uint = 0 [static] | TLSSecurityParameters | ||
| PROTOCOL_VERSION : uint = 0x0301 [static] | TLSSecurityParameters | ||
| 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] public function get useRSA():Boolean| version | property |
version:uint [read-only] public function get version():uint| TLSSecurityParameters | () | Constructor |
public function TLSSecurityParameters(entity:uint, localCert:ByteArray = null, localKey:RSAKey = null)entity:uint | |
localCert:ByteArray (default = null) | |
localKey:RSAKey (default = null) |
| computeCertificateVerify | () | method |
public function computeCertificateVerify(side:uint, handshakeMessages:ByteArray):ByteArrayParameters
side:uint | |
handshakeMessages:ByteArray |
ByteArray |
| computeVerifyData | () | method |
public function computeVerifyData(side:uint, handshakeMessages:ByteArray):ByteArrayParameters
side:uint | |
handshakeMessages:ByteArray |
ByteArray |
| getBulkCipher | () | method |
public function getBulkCipher():uintReturnsuint |
| getCipherType | () | method |
public function getCipherType():uintReturnsuint |
| getConnectionStates | () | method |
public function getConnectionStates():ObjectReturnsObject |
| getMacAlgorithm | () | method |
public function getMacAlgorithm():uintReturnsuint |
| reset | () | method |
public function reset():void| setCipher | () | method |
public function setCipher(cipher:uint):voidParameters
cipher:uint |
| setClientRandom | () | method |
public function setClientRandom(secret:ByteArray):voidParameters
secret:ByteArray |
| setCompression | () | method |
public function setCompression(algo:uint):voidParameters
algo:uint |
| setPreMasterSecret | () | method |
public function setPreMasterSecret(secret:ByteArray):voidParameters
secret:ByteArray |
| setServerRandom | () | method |
public function setServerRandom(secret:ByteArray):voidParameters
secret:ByteArray |
| COMPRESSION_NULL | Constant |
public static const COMPRESSION_NULL:uint = 0| PROTOCOL_VERSION | Constant |
public static const PROTOCOL_VERSION:uint = 0x0301