All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface w3c.www.dsig.DSigLabelInterface

public interface DSigLabelInterface
DSig-1.0 defines two PICS-1.1 extensions. The DSig library is therefore written as an extension to an existing PICS Parser or Label object. This interface defines the necessary methods for a given PICS label object to use the DSig-1.0 library, since these methods may be called inside the DSig library during the course of a DSig evaluation.


Method Index

 o getFor()
Get the 'for' attribute of the PICS-1.1 option
 o getResInfo()
Get the DSig Resource Information (resinfo).
 o getSigBlock()
Set the DSig Resource Information (resinfo).
 o setResInfo(ResInfoExtension)
Set the DSig Resource Information (resinfo).
 o setSigBlock(SigBlockExtension)
Set the DSig Signature Block (sigblock)
 o toDSigString()
Returns a String containing the canonical PICS 1.1 representation of this Label, suitable for signing.
 o toExcludedDSigString(Hashtable)
Returns the canonicallized form of the DSig label with fields selectively included or excluded according the sigdata.
 o updateDSig()
The changes made in ResInfo and SigBlock extension may not be automatic; calling this method updates the original PICS1.1 Label and reflect the changes in resinfo and sigblock for the given PICS Label object implementing the DSigLabelInterface.

Methods

 o getFor
 public abstract String getFor()
Get the 'for' attribute of the PICS-1.1 option

 o updateDSig
 public abstract void updateDSig()
The changes made in ResInfo and SigBlock extension may not be automatic; calling this method updates the original PICS1.1 Label and reflect the changes in resinfo and sigblock for the given PICS Label object implementing the DSigLabelInterface.

 o getSigBlock
 public abstract SigBlockExtension getSigBlock()
Set the DSig Resource Information (resinfo).

 o setSigBlock
 public abstract void setSigBlock(SigBlockExtension sigblock)
Set the DSig Signature Block (sigblock)

 o getResInfo
 public abstract ResInfoExtension getResInfo()
Get the DSig Resource Information (resinfo).

 o setResInfo
 public abstract void setResInfo(ResInfoExtension resinfo)
Set the DSig Resource Information (resinfo).

 o toExcludedDSigString
 public abstract String toExcludedDSigString(Hashtable sigdata) throws DSigException
Returns the canonicallized form of the DSig label with fields selectively included or excluded according the sigdata. Please refer to the DSig Label specification for more detail.

Throws: DSigException
if the format of the sigdata is incorrect.
 o toDSigString
 public abstract String toDSigString()
Returns a String containing the canonical PICS 1.1 representation of this Label, suitable for signing.

Returns:
A String with a valid canonicalized PICS 1.1 label representation of this Label object.

All Packages  Class Hierarchy  This Package  Previous  Next  Index