Packagecom.hurlant.crypto.tls
Classpublic class SSLSecurityParameters
InheritanceSSLSecurityParameters Inheritance Object
Implements ISecurityParameters



Public Properties
 PropertyDefined By
  keyExchange : uint
SSLSecurityParameters
  useRSA : Boolean
[read-only]
SSLSecurityParameters
  version : uint
[read-only]
SSLSecurityParameters
Public Methods
 MethodDefined By
  
SSLSecurityParameters(entity:uint, localCert:ByteArray = null, localKey:ByteArray = null)
SSLSecurityParameters
  
computeCertificateVerify(side:uint, handshakeMessages:ByteArray):ByteArray
SSLSecurityParameters
  
computeVerifyData(side:uint, handshakeMessages:ByteArray):ByteArray
SSLSecurityParameters
  
SSLSecurityParameters
  
SSLSecurityParameters
  
SSLSecurityParameters
  
SSLSecurityParameters
  
reset():void
SSLSecurityParameters
  
setCipher(cipher:uint):void
SSLSecurityParameters
  
setClientRandom(secret:ByteArray):void
SSLSecurityParameters
  
setCompression(algo:uint):void
SSLSecurityParameters
  
setPreMasterSecret(secret:ByteArray):void
SSLSecurityParameters
  
setServerRandom(secret:ByteArray):void
SSLSecurityParameters
Public Constants
 ConstantDefined By
  COMPRESSION_NULL : uint = 0
[static]
SSLSecurityParameters
  PROTOCOL_VERSION : uint = 0x0300
[static]
SSLSecurityParameters
Property Detail
keyExchangeproperty
public var keyExchange:uint

useRSAproperty 
useRSA:Boolean  [read-only]


Implementation
    public function get useRSA():Boolean
versionproperty 
version:uint  [read-only]


Implementation
    public function get version():uint
Constructor Detail
SSLSecurityParameters()Constructor
public function SSLSecurityParameters(entity:uint, localCert:ByteArray = null, localKey:ByteArray = null)



Parameters
entity:uint
 
localCert:ByteArray (default = null)
 
localKey:ByteArray (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 = 0x0300