def METHOD_NAME(self, param):
    """
    The key holds the public ssh key and this is required
    The key probably is of the form "ssh-rsa BASE64 comment"
    """
    # We need to save the token, so that we can later add the tokeninfo
    # Otherwise we might not have created the DB entry, yet and we would
    # be missing the token.id
    self.token.save()
    getParam(param, "sshkey", required)
    key_elem = param.get("sshkey").split(" ", 2)
    if key_elem[0] not in ["ssh-rsa", "ssh-ed25519", "ecdsa-sha2-nistp256",
                           "sk-ecdsa-sha2-nistp256@openssh.com", "sk-ssh-ed25519@openssh.com"]:
        self.token.rollout_state = ROLLOUTSTATE.BROKEN
        self.token.save()
        raise TokenAdminError("The keytype you specified is not supported.")
    if len(key_elem) < 2:
        self.token.rollout_state = ROLLOUTSTATE.BROKEN
        self.token.save()
        raise TokenAdminError("Missing key.")
    key_type = key_elem[0]
    key = key_elem[1]
    if len(key_elem) > 2:
        key_comment = key_elem[2]
    else:
        key_comment = ""
    # convert key to hex
    self.add_tokeninfo("ssh_key", key, value_type="password")
    self.add_tokeninfo("ssh_type", key_type)
    self.add_tokeninfo("ssh_comment", key_comment)
    # call the parents function
    TokenClass.METHOD_NAME(self, param)