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.


Constructor Index

 o NegotiationMessage()
Empty constructor - Serializable.
 o NegotiationMessage(boolean)
Constructor setting status
 o NegotiationMessage(CertificateContext, SituationDescription, Vector, Vector)
Create a NegotiationMessage object.

Method Index

 o getOptions()
Get the options in this message.
 o getPolicy()
Get the policy for acceptable certificates in this message.
 o getSenderContext()
Get the context in this message.
 o getSituation()
Get the situation in this message.
 o status()
Get the status of the message

Constructors

 o NegotiationMessage
 public NegotiationMessage()
Empty constructor - Serializable.

 o 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)
 o 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

Methods

 o status
 public boolean status()
Get the status of the message

Returns:
false if the message is an error message
 o getSenderContext
 public CertificateContext getSenderContext()
Get the context in this message.

Returns:
context
 o getSituation
 public SituationDescription getSituation()
Get the situation in this message.

Returns:
situation
 o getOptions
 public Vector getOptions()
Get the options in this message.

Returns:
options
 o 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