A method of distributing the public key of an asymmetric key pair with a
private key and the public key from a mobile station to a key managing
computer, the method include the steps of: communicating a password (OTP)
from the key managing (203) computer to the mobile station (209) of a
registered user (201) by a secure channel (202) to thereby provide a
shared secret; at the mobile station and at the key managing computer,
generating a first code (MAC1) and a second node (MACT1), respectively,
based on the same predefined generation method, which codes (MAC1; MACT1)
are generated from the password (OTP); by the mobile station (209),
transmitting the public key and the first code (MAC1) to the key managing
computer (203); at the key managing computer (203), receiving the public
key and the first code (MAC1) from the mobile station (209); checking the
authenticity of the registered user (201) based on comparing the first
code (MAC1) and the second code (MACT1).