Agent System POND 1.0 (1.7.2000)

PkgAgentSystem.Messaging
Class ProveIdentityMessage

java.lang.Object
  |
  +--PkgAgentSystem.Messaging.Message
        |
        +--PkgAgentSystem.Messaging.ChallengeIdentityMessage
              |
              +--PkgAgentSystem.Messaging.ProveIdentityMessage

public class ProveIdentityMessage
extends ChallengeIdentityMessage

A message to reply to a ChallengeIdentityMessage. Second 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!).

Version:
1.0, 1.7.2000
Author:
Michael Sonntag
See Also:
URL, URLStreamHandler, Message, ChallengeIdentityMessage, AcceptAndReplyChallengeMessage, Serialized Form

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

Constructor Detail

ProveIdentityMessage

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

Agent System POND 1.0 (1.7.2000)

Submit a bug

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