Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
RSLData

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

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

| 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

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`

See also

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.

See also

mx.core.ApplicationDomainTarget

Wed Nov 15 2017, 09:50 AM +01:00