mx.core

# RSLData - AS3 Flex

Package | mx.core
Class | public class RSLData
Inheritance | RSLData 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
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | applicationDomainTarget : String [read-only] The requested application domain to load the RSL into. | RSLData
|  | constructor : 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
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined 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
|  | hasOwnProperty(name:String):Boolean Indicates whether an object has a specified property defined. | Object
|  | isPrototypeOf(theClass:Object):Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. | Object
|  | propertyIsEnumerable(name:String):Boolean Indicates whether the specified property exists and is enumerable. | Object
|  | setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void Sets the availability of a dynamic property for loop operations. | Object
|  | toLocaleString():String Returns the string representation of this object, formatted according to locale-specific conventions. | Object
|  | toString():String Returns the string representation of the specified object. | Object
|  | valueOf():Object 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

mx.core.ApplicationDomainTarget

### 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

mx.core.ApplicationDomainTarget

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00