org.erights.e.elib.sealing
Class Brand

java.lang.Object
  |
  +--org.erights.e.elib.sealing.Brand
All Implemented Interfaces:
Marker, PassByProxy, Persistent, Serializable

public final class Brand
extends Object
implements PassByProxy, Persistent

Safe:

See Also:
Serialized Form

Field Summary
private  String myName
           
(package private) static long serialVersionUID
           
 
Fields inherited from interface org.erights.e.elib.serial.PassByProxy
HONORARY, HONORED_NAMES
 
Fields inherited from interface org.erights.e.elib.serial.Persistent
HONORARY, HONORED_NAMES
 
Constructor Summary
private Brand(String name)
           
 
Method Summary
 void __printOn(TextWriter out)
          Enabled: The name of this Brand.
static Object[] pair(String brandName)
          Enabled: @deprecated Use run(String) instead.
static Object[] run(String brandName)
          Enabled: Returns a Sealer/Unsealer pair identified with a new unique Brand of the specified (non-unique) name.
 String toString()
          Suppressed: Same string as __printOn(TextWriter)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

static final long serialVersionUID

myName

private final String myName
Constructor Detail

Brand

private Brand(String name)
Method Detail

pair

public static Object[] pair(String brandName)
Enabled: @deprecated Use run(String) instead.


run

public static Object[] run(String brandName)
Enabled: Returns a Sealer/Unsealer pair identified with a new unique Brand of the specified (non-unique) name.


__printOn

public void __printOn(TextWriter out)
               throws IOException
Enabled: The name of this Brand.

Multiple distinct Brands may have the same name. For purposes of security, only the EQ-identity of a Brand is significant, not its name.

IOException

toString

public String toString()
Suppressed: Same string as __printOn(TextWriter)

Overrides:
toString in class Object
Returns:
a string representation of the object.


comments?