Packagecom.hurlant.crypto.tls
Classpublic class TLSSecurityParameters
InheritanceTLSSecurityParameters Inheritance Object
Implements ISecurityParameters



Public Properties
 PropertyDefined 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
 MethodDefined 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
  
TLSSecurityParameters
  
TLSSecurityParameters
  
TLSSecurityParameters
  
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
 ConstantDefined By
  COMPRESSION_NULL : uint = 0
[static]
TLSSecurityParameters
  PROTOCOL_VERSION : uint = 0x0301
[static]
TLSSecurityParameters
Property Detail
ENABLE_USER_CLIENT_CERTIFICATEproperty
public static var ENABLE_USER_CLIENT_CERTIFICATE:Boolean = false

IGNORE_CN_MISMATCHproperty 
public static var IGNORE_CN_MISMATCH:Boolean = true

keyExchangeproperty 
public var keyExchange:uint

USER_CERTIFICATEproperty 
public static var USER_CERTIFICATE:String

useRSAproperty 
useRSA:Boolean  [read-only]


Implementation
    public function get useRSA():Boolean
versionproperty 
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_NULLConstant
public static const COMPRESSION_NULL:uint = 0

PROTOCOL_VERSIONConstant 
public static const PROTOCOL_VERSION:uint = 0x0301