PkgAgentSystem.Messaging
Class AcceptAndReplyChallengeMessage
java.lang.Object
|
+--PkgAgentSystem.Messaging.Message
|
+--PkgAgentSystem.Messaging.ChallengeIdentityMessage
|
+--PkgAgentSystem.Messaging.AcceptAndReplyChallengeMessage
- 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!).
- Version:
- 1.0, 1.7.2000
- Author:
- Michael Sonntag
- See Also:
URL
,
URLStreamHandler
,
Message
,
ChallengeIdentityMessage
,
ProveIdentityMessage
, Serialized Form
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
AcceptAndReplyChallengeMessage
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
.
- Parameters:
agent
- the agent, which shall reply to the challengemsg
- the msg to reply to- See Also:
ChallengeIdentityMessage
,
AgentBase
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.