Packageflash.net.drm
Classpublic final class VoucherAccessInfo
InheritanceVoucherAccessInfo Inheritance Object

Language version: ActionScript 3.0
Runtime version: AIR 2

A VoucherAccessInfo object presents the information that is required to successfully retrieve and consume a voucher, such as the type of authentication and the content domain of the media rights server.



Public Properties
 PropertyDefined by
  authenticationMethod : String
[read-only] The type of authentication required to obtain a voucher for the associated content.
VoucherAccessInfo
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  deviceGroup : DRMDeviceGroup
[read-only]
VoucherAccessInfo
  displayName : String
[read-only] A user-friendly string that you can use to refer to the specified VoucherAccessInfo object in the user interface.
VoucherAccessInfo
  domain : String
[read-only] The content domain of the media rights server to which the user must be authenticated to obtain the voucher for the associated content.
VoucherAccessInfo
  policyID : String
[read-only] A unique identifier for the policy that this VoucherAccessInfo represents.
VoucherAccessInfo
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined by
 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
authenticationMethodproperty
authenticationMethod:String  [read-only]

Language version: ActionScript 3.0
Runtime version: AIR 2

The type of authentication required to obtain a voucher for the associated content.

The supported types of authentication are:

The AuthenticationMethod class provides string constants to use with the authenticationMethod property.

Implementation
    public function get authenticationMethod():String
deviceGroupproperty 
deviceGroup:DRMDeviceGroup  [read-only]Implementation
    public function get deviceGroup():DRMDeviceGroup
displayNameproperty 
displayName:String  [read-only]

Language version: ActionScript 3.0
Runtime version: AIR 2

A user-friendly string that you can use to refer to the specified VoucherAccessInfo object in the user interface.

If the metadata file for a piece of media content has multiple vouchers, each with its own VoucherAccessInfo object, the user might need to decide which voucher to authenticate to. For example, you might have a subscription-level voucher with high privileges for viewing content, as well as a basic-level voucher with lower privileges. To distinguish between these two vouchers, use the descriptive string in the displayName property. The string is set by the media packager tool (the tool that packages and encrypts media in preparation for distribution with a media rights server, such as Flash Access).

For applications that are localized, you can use this property as an identifier. The application can detect the locale and localize the strings accordingly.

Implementation
    public function get displayName():String
domainproperty 
domain:String  [read-only]

Language version: ActionScript 3.0
Runtime version: AIR 2

The content domain of the media rights server to which the user must be authenticated to obtain the voucher for the associated content.

If authentication is to the default domain or no authentication is required, the value of domainName is null.

Note: The domain returned by this property has nothing to do with network or Internet domain names. In this case, a domain is a group of content or user accounts. For example, a single server could support several domains, each with its own set of content channels and subscribers.

Implementation
    public function get domain():String
policyIDproperty 
policyID:String  [read-only]

Language version: ActionScript 3.0
Runtime version: AIR 3.8

A unique identifier for the policy that this VoucherAccessInfo represents.

If the metadata file for a piece of media content has multiple vouchers, each with its own VoucherAccessInfo object, the user might need to decide which voucher to authenticate to. For example, you might have a subscription-level voucher with high privileges for viewing content, as well as a basic-level voucher with lower privileges. The policyID of the acquired DRMVoucher object will match the policyID of the VoucherAccessInfo under which the voucher was issued.

Implementation
    public function get policyID():String