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.
   
  -   getFor() getFor()
-   Get the 'for' attribute of the PICS-1.1 option
  
-   getResInfo() getResInfo()
-   Get the DSig Resource Information (resinfo).
  
-   getSigBlock() getSigBlock()
-   Set the DSig Resource Information (resinfo).
  
-   setResInfo(ResInfoExtension) setResInfo(ResInfoExtension)
-   Set the DSig Resource Information (resinfo).
  
-   setSigBlock(SigBlockExtension) setSigBlock(SigBlockExtension)
-   Set the DSig Signature Block (sigblock)
  
-   toDSigString() toDSigString()
-   Returns a String containing the canonical PICS 1.1 representation of 
 this Label, suitable for signing.
  
-   toExcludedDSigString(Hashtable) toExcludedDSigString(Hashtable)
-   Returns the canonicallized form of the DSig label with fields
 selectively included or excluded according the sigdata.
  
-   updateDSig() 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.
   
 getFor
getFor
 public abstract String getFor()
  -  Get the 'for' attribute of the PICS-1.1 option
 
 updateDSig
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.
 
 getSigBlock
getSigBlock
 public abstract SigBlockExtension getSigBlock()
  -  Set the DSig Resource Information (resinfo).
 
 setSigBlock
setSigBlock
 public abstract void setSigBlock(SigBlockExtension sigblock)
  -  Set the DSig Signature Block (sigblock)
 
 getResInfo
getResInfo
 public abstract ResInfoExtension getResInfo()
  -  Get the DSig Resource Information (resinfo).
 
 setResInfo
setResInfo
 public abstract void setResInfo(ResInfoExtension resinfo)
  -  Set the DSig Resource Information (resinfo).
 
 toExcludedDSigString
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.
  
 
 toDSigString
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