Packagecom.hurlant.crypto.tls
Classpublic class TLSSecurityParameters
ImplementsISecurityParameters



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):ByteArrayParameters
side:uint
 
handshakeMessages:ByteArray

Returns
ByteArray
computeVerifyData()method 
public function computeVerifyData(side:uint, handshakeMessages:ByteArray):ByteArrayParameters
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):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
Constant detail
COMPRESSION_NULLconstant
public static const COMPRESSION_NULL:uint = 0
PROTOCOL_VERSIONconstant 
public static const PROTOCOL_VERSION:uint = 0x0301