xades4j.production
Class AnonymousDataObjectReference
java.lang.Object
xades4j.properties.DataObjectDesc
xades4j.production.AnonymousDataObjectReference
public final class AnonymousDataObjectReference
- extends DataObjectDesc
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.
- Author:
- Luís
| Methods inherited from class xades4j.properties.DataObjectDesc |
getSignedDataObjProps, getTransforms, getUnsignedDataObjProps, hasProperties, withCommitmentType, withDataObjectFormat, withDataObjectTimeStamp, withDataObjectTimeStamp, withOtherDataObjectProperty, withOtherDataObjectProperty, withTransform |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnonymousDataObjectReference
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
AnonymousDataObjectReference
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
Copyright © 2012. All Rights Reserved.