flash.security

# IURIDereferencer - AS3

Package | flash.security
Interface | public interface IURIDereferencer

Language Version: | ActionScript 3.0

Runtime Versions: | AIR 1.0

IURIDereferencer defines an interface for objects that resolve URIs in an XML signature.

The IURIDereferencer implementation is responsible for resolving the URIs specified in the SignedInfo elements of an XML signature file and returning the referenced data in an object, such as a ByteArray, that implements the IDataInput interface.

The interface has one method: `dereference()`. A typical implementation might also require a method for passing the XML signature object containing the URIs to be resolved to the dereferencer.

The IURIDereferencer interface is used with the XMLSignatureValidator class.

Related API Elements

XMLSignatureValidator
XMLSignatureValidator.uriDereferencer

Public Methods

| Method | Defined By
--- | --- | ---
|  | dereference(uri:String):IDataInput Resolves and dereferences the specified URI. | IURIDereferencer

Method Detail

### dereference

()
method

`public function dereference(uri:String):IDataInput`

Runtime Versions: | AIR 1.0

Resolves and dereferences the specified URI.

Parameters

| `uri:String` — The URI to dereference.

Returns

| `IDataInput` — The data referenced by the URI.

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