public final class

AnonymousDataObjectReference

extends DataObjectDesc
java.lang.Object
   ↳ xades4j.properties.DataObjectDesc
     ↳ xades4j.production.AnonymousDataObjectReference

Class Overview

A null URI data reference. An instance of this class will result in a ds:Reference element in the signature whose URI attribute is not present.

A signature can contain at most one reference of this type, as specified in XML-DSIG.

Summary

Public Constructors
AnonymousDataObjectReference(InputStream dataStream)
Creates a new anonymous data object reference from a data stream.
AnonymousDataObjectReference(byte[] data)
Creates a new anonymous data object reference.
[Expand]
Inherited Methods
From class xades4j.properties.DataObjectDesc
From class java.lang.Object

Public Constructors

public AnonymousDataObjectReference (InputStream dataStream)

Creates a new anonymous data object reference from a data stream. The stream will be accessed at ds:Reference generation and won't be closed. Additional information is added through the different methods in DataObjectDesc.

Parameters
dataStream the input stream used to get the object data
Throws
NullPointerException if dataStream is null

public AnonymousDataObjectReference (byte[] data)

Creates a new anonymous data object reference. Additional information is added through the different methods in DataObjectDesc.

Parameters
data the object data
Throws
NullPointerException if data is null