Agent System POND 1.2 (28.2.2002)

Class AcceptAndReplyChallengeMessage

All Implemented Interfaces:
Cloneable, MessageType, Serializable

public class AcceptAndReplyChallengeMessage
extends ChallengeIdentityMessage

A message to reply to a ChallengeIdentityMessage. Third part in a mutual authentication. The length of the challenge is restricted to 16 bytes. Otherwise it would be possible to submit certain data and let the computer sign it without knowing its content. To avoid this, also some bytes are inserted (which hopefully destroy any normal meaning!).

1.0, 1.7.2000
Michael Sonntag
See Also:
URL, URLStreamHandler, Message, ChallengeIdentityMessage, ProveIdentityMessage, Serialized Form

Fields inherited from class PkgAgentSystem.Messaging.ChallengeIdentityMessage
challenge, signed_challenge
Constructor Summary
AcceptAndReplyChallengeMessage(AgentBase agent, ProveIdentityMessage msg)
          Create a new message in reply to a ChallengeIdentityMessage.
Methods inherited from class PkgAgentSystem.Messaging.ChallengeIdentityMessage
checkChallenge, createChallenge
Methods inherited from class PkgAgentSystem.Messaging.Message
copy, fromInitiator, getAddressee, getConversationTypeID, getDestConversationID, getSender, getSrcConversationID, setAddressee, setConversationTypeID, setDestConversationID, setFromInitiator, setSender, setSrcConversationID, toString
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public AcceptAndReplyChallengeMessage(AgentBase agent,
                                      ProveIdentityMessage msg)
Create a new message in reply to a ChallengeIdentityMessage. The challenge from the message will be signed and the signature placed in the protected variable. Actual verification in done by replyToChallenge.
agent - the agent, which shall reply to the challenge
msg - the msg to reply to
See Also:
ChallengeIdentityMessage, AgentBase

Agent System POND 1.2 (28.2.2002)

Submit a bug

Copyright 2001,2002 Michael Sonntag & Institute for Information Processing and Microprocessor Technology (FIM), Johannes-Kepler-University Linz, Altenbergerstr. 69, A-4040 Linz, Austria.