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
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
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 challengemsg
- the msg to reply to- See Also:
AcceptAndReplyChallengeMessage
,
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.