ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
mx.core 

RSLData  - AS3 Flex

Packagemx.core
Classpublic class RSLData
InheritanceRSLData Inheritance Object

Language Version: ActionScript 3.0
Product Version: Flex 4.5
Runtime Versions: Flash Player 10.2, AIR 2.5

A Class that describes configuration data for an RSL.



Public Properties
 PropertyDefined By
  applicationDomainTarget : String
[read-only] The requested application domain to load the RSL into.
RSLData
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  digest : String
[read-only] The digest of the RSL.
RSLData
  hashType : String
[read-only] The type of hash used to create the RSL digest.
RSLData
  isSigned : Boolean
[read-only] True if the RSL has been signed by Adobe.
RSLData
  moduleFactory : IFlexModuleFactory
Non-null if this RSL should be loaded into an application domain other than the application domain associated with the module factory performing the load.
RSLData
  policyFileURL : String
[read-only] An URL that specifies the location of the policy file (optional).
RSLData
  rslURL : String
[read-only] The location of the RSL.
RSLData
  verifyDigest : Boolean
[read-only] True if the digest must be verified before loading the RSL into memory.
RSLData
Public Methods
 MethodDefined By
  
RSLData(rslURL:String = null, policyFileURL:String = null, digest:String = null, hashType:String = null, isSigned:Boolean = false, verifyDigest:Boolean = false, applicationDomainTarget:String = "default")
Constructor.
RSLData
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

applicationDomainTarget

property
applicationDomainTarget:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 4.5
Runtime Versions: Flash Player 10.2, AIR 2.5

The requested application domain to load the RSL into. For valid values see the ApplicationDomainTarget enumeration.



Implementation
    public function get applicationDomainTarget():String

Related API Elements

digest

property 
digest:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 4.5
Runtime Versions: Flash Player 10.2, AIR 2.5

The digest of the RSL. This is null for an RSL without a digest.



Implementation
    public function get digest():String

hashType

property 
hashType:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 4.5
Runtime Versions: Flash Player 10.2, AIR 2.5

The type of hash used to create the RSL digest. The only supported hash type is SHA256.TYPE_ID.



Implementation
    public function get hashType():String

isSigned

property 
isSigned:Boolean  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 4.5
Runtime Versions: Flash Player 10.2, AIR 2.5

True if the RSL has been signed by Adobe. False otherwise.



Implementation
    public function get isSigned():Boolean

moduleFactory

property 
moduleFactory:IFlexModuleFactory

Language Version: ActionScript 3.0
Product Version: Flex 4.5
Runtime Versions: Flash Player 10.2, AIR 2.5

Non-null if this RSL should be loaded into an application domain other than the application domain associated with the module factory performing the load. If null, then load into the current application domain.



Implementation
    public function get moduleFactory():IFlexModuleFactory
    public function set moduleFactory(value:IFlexModuleFactory):void

policyFileURL

property 
policyFileURL:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 4.5
Runtime Versions: Flash Player 10.2, AIR 2.5

An URL that specifies the location of the policy file (optional).



Implementation
    public function get policyFileURL():String

rslURL

property 
rslURL:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 4.5
Runtime Versions: Flash Player 10.2, AIR 2.5

The location of the RSL. The URL can be absolute or relative to the application or module.



Implementation
    public function get rslURL():String

verifyDigest

property 
verifyDigest:Boolean  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 4.5
Runtime Versions: Flash Player 10.2, AIR 2.5

True if the digest must be verified before loading the RSL into memory. False allows the RSL to be loaded without verification. Signed RSLs are always verified regardless of the value.



Implementation
    public function get verifyDigest():Boolean
Constructor Detail

RSLData

()Constructor
public function RSLData(rslURL:String = null, policyFileURL:String = null, digest:String = null, hashType:String = null, isSigned:Boolean = false, verifyDigest:Boolean = false, applicationDomainTarget:String = "default")

Language Version: ActionScript 3.0
Product Version: Flex 4.5
Runtime Versions: Flash Player 10.2, AIR 2.5

Constructor.

Parameters
rslURL:String (default = null) — The location of the RSL.
 
policyFileURL:String (default = null) — The location of the policy file url (optional).
 
digest:String (default = null) — The digest of the RSL. This is null for an RSL without a digest.
 
hashType:String (default = null) — The type of hash used to create the digest. The only supported value is SHA256.TYPE_ID.
 
isSigned:Boolean (default = false) — True if the RSL has been signed by Adobe, false otherwise.
 
verifyDigest:Boolean (default = false) — Detemines if the RSL's digest should be verified after it is loaded.
 
applicationDomainTarget:String (default = "default") — The application domain where the the RSL should be loaded. For valid values see the ApplicationDomainTarget enumeration.

Related API Elements