org.neuclear.id
Class SignedNamedObject

java.lang.Object
  extended by org.neuclear.id.SignedNamedObject
Direct Known Subclasses:
AuthenticationTicket, Identity, SignatureRequest, SignedMessage, SignedNamedDocument

public class SignedNamedObject
extends java.lang.Object

The SignedNamedObject is a secure object normally encapsulating a Digitally signed contract of some sort.

Instances of SignedNamedObject and its sub classes are never instantiated directly by client code. Instead it is created by its Reader inner class. This Reader implements NamedObjectReader and is called by VerifyingReader.

In most cases a user will load NamedObject through one of two methods:

To actually create and sign your own object use the NamedObjectBuilder or its subclasses. Each subclass of SignedNamedObject should have a corresponding subclass of NamedObjectBuilder.

These NamedObjectBuilder objects should be signed using your Signer, before being sent on to a web service.

See Also:
NamedObjectReader, VerifyingReader, Resolver, Sender, Signer

Constructor Summary
protected SignedNamedObject(SignedNamedCore core)
           
 
Method Summary
 java.lang.Object clone()
           
static org.dom4j.QName createNEUIDQName(java.lang.String name)
           
 boolean equals(java.lang.Object object)
           
 java.lang.String getDigest()
           
 java.lang.String getEncoded()
          The original xml document
 java.lang.String getName()
          The full name (URI) of an object
 Signatory getSignatory()
          The Signatory of the current document.
 java.lang.String getTagName()
          The full name (URI) of an object
 java.sql.Timestamp getTimeStamp()
          The time the object was signed
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SignedNamedObject

protected SignedNamedObject(SignedNamedCore core)
Method Detail

getName

public final java.lang.String getName()
The full name (URI) of an object

Returns:
String containing the fully qualified URI of an object

getTagName

public final java.lang.String getTagName()
The full name (URI) of an object

Returns:
String containing the fully qualified URI of an object

getTimeStamp

public final java.sql.Timestamp getTimeStamp()
The time the object was signed

Returns:

getSignatory

public final Signatory getSignatory()
The Signatory of the current document. If the objects name is "neu://bob/abc", then the signer would be the Identity object "neu://bob/"

Returns:

getEncoded

public final java.lang.String getEncoded()
The original xml document

Returns:

getDigest

public final java.lang.String getDigest()

createNEUIDQName

public static final org.dom4j.QName createNEUIDQName(java.lang.String name)

hashCode

public final int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public final boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

clone

public final java.lang.Object clone()
                             throws java.lang.CloneNotSupportedException
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException


Copyright © 2002-2004 Antilles Software Ventures SA. All Rights Reserved.