net.jini.jeri.ssl
Class ConfidentialityStrength

java.lang.Object
  extended by net.jini.jeri.ssl.ConfidentialityStrength
All Implemented Interfaces:
Serializable, InvocationConstraint

public final class ConfidentialityStrength
extends Object
implements InvocationConstraint, Serializable

Represents a constraint that, if confidentiality of message contents is ensured, the specified strength of confidentiality be used.

The use of an instance of this constraint does not directly imply a Confidentiality.YES constraint; that must be specified separately to ensure that confidentiality is actually ensured.

Serialization for this class is guaranteed to produce instances that are comparable with ==.

This constraint is supported by the endpoints defined in this package.

The SslTrustVerifier trust verifier may be used for establishing trust in remote proxies that use instances of this class.

Since:
2.0
Author:
Sun Microsystems, Inc.
See Also:
SslEndpoint, SslServerEndpoint, HttpsEndpoint, HttpsServerEndpoint, SslTrustVerifier, Serialized Form

Field Summary
static ConfidentialityStrength STRONG
          If confidentiality of message contents is ensured, then use strong confidentiality for message contents.
static ConfidentialityStrength WEAK
          If confidentiality of message contents is ensured, then use weak confidentiality for message contents.
 
Method Summary
 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

STRONG

public static final ConfidentialityStrength STRONG
If confidentiality of message contents is ensured, then use strong confidentiality for message contents.

For the endpoints in this package, this constraint is supported by cipher suites with the following cipher algorithms:


WEAK

public static final ConfidentialityStrength WEAK
If confidentiality of message contents is ensured, then use weak confidentiality for message contents.

For the endpoints in this package, this constraint is supported by cipher suites with the following cipher algorithms:

Method Detail

toString

public String toString()
Returns a string representation of this object.

Overrides:
toString in class Object


Copyright 2007, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.