All Packages Class Hierarchy This Package Previous Next Index
Class semper.certificate.NegotiationMessage
java.lang.Object
|
+----semper.certificate.NegotiationMessage
- public class NegotiationMessage
- extends Object
- implements Serializable, Cloneable
This class contains the information needed to describe the context for the CertificateManager
of one party in a session.
It contains the name of the BA, and either describes which certificates are needed or the
selected certificates.
-
NegotiationMessage()
- Empty constructor - Serializable.
-
NegotiationMessage(boolean)
- Constructor setting status
-
NegotiationMessage(CertificateContext, SituationDescription, Vector, Vector)
- Create a NegotiationMessage object.
-
getOptions()
- Get the options in this message.
-
getPolicy()
- Get the policy for acceptable certificates in this message.
-
getSenderContext()
- Get the context in this message.
-
getSituation()
- Get the situation in this message.
-
status()
- Get the status of the message
NegotiationMessage
public NegotiationMessage()
- Empty constructor - Serializable.
NegotiationMessage
public NegotiationMessage(boolean status)
- Constructor setting status
- Parameters:
- status - is used to set the status of the message (false means that it is an error message)
NegotiationMessage
public NegotiationMessage(CertificateContext senderContext,
SituationDescription situation,
Vector acceptable,
Vector options)
- Create a NegotiationMessage object. If the senderContext is not null it is used to co
- Parameters:
- senderContext - is the context of the sender.
- receiverPolicyId - is senders requirement on the PolicyId of the receiver
- acceptable - is a Vector of (CAInformation) objects describing acceptable CAs
- options - contains options for the negotiation
status
public boolean status()
- Get the status of the message
- Returns:
- false if the message is an error message
getSenderContext
public CertificateContext getSenderContext()
- Get the context in this message.
- Returns:
- context
getSituation
public SituationDescription getSituation()
- Get the situation in this message.
- Returns:
- situation
getOptions
public Vector getOptions()
- Get the options in this message.
- Returns:
- options
getPolicy
public Vector getPolicy()
- Get the policy for acceptable certificates in this message.
- Returns:
- Vector of CAInformation objects
All Packages Class Hierarchy This Package Previous Next Index