org.erights.e.elib.sealing
Class Sealer
java.lang.Object
|
+--org.erights.e.elib.sealing.Sealer
- All Implemented Interfaces:
- Marker, PassByProxy, Persistent, Serializable
- public final class Sealer
- extends Object
- implements PassByProxy, Persistent
Untamed: Corresponds to an encrypting or signing key.
- Author:
- Mark S. Miller
- See Also:
- Serialized Form
Constructor Summary |
(package private) |
Sealer(Brand brand)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
static final long serialVersionUID
myBrand
private final Brand myBrand
Sealer
Sealer(Brand brand)
getBrand
public Brand getBrand()
- Enabled: Brand of this Sealer/Unsealer pair
seal
public SealedBox seal(Object contents)
- Enabled: @return a SealedBox containing contents that can only be
unsealed with the
Unsealer
of this Brand.
__printOn
public void __printOn(TextWriter out)
throws IOException
- Enabled: Prints using the Brand's name
IOException
comments?