|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jini.core.constraint.Confidentiality
public final class Confidentiality
Represents a constraint on the confidentiality of message contents.
Serialization for this class is guaranteed to produce instances that are
comparable with ==
.
Field Summary | |
---|---|
static Confidentiality |
NO
Transmit message contents in the clear (no use of encryption). |
private static long |
serialVersionUID
|
private boolean |
val
true for YES , false for
NO |
static Confidentiality |
YES
Transmit message contents so that they cannot easily be interpreted by third parties (typically by using encryption). |
Constructor Summary | |
---|---|
private |
Confidentiality(boolean val)
Simple constructor. |
Method Summary | |
---|---|
private Object |
readResolve()
Canonicalize so that == can be used. |
String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
public static final Confidentiality YES
public static final Confidentiality NO
Normally this constraint should not be used unless there is an organizational policy that data must be transmitted in the clear.
private final boolean val
true
for YES
, false
for
NO
Constructor Detail |
---|
private Confidentiality(boolean val)
val
- true
for YES
, false
for NO
Method Detail |
---|
public String toString()
toString
in class Object
private Object readResolve()
==
can be used.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |