Class KeyHelper
-
- All Implemented Interfaces:
public class KeyHelperHelper class for generating keys of different types.
Moxie Marlinspike
-
-
Method Summary
Modifier and Type Method Description static intgenerateRegistrationId(boolean extendedRange)Generate a registration ID. -
-
Method Detail
-
generateRegistrationId
static int generateRegistrationId(boolean extendedRange)
Generate a registration ID. Clients should only do this once, at install time.
- Parameters:
extendedRange- By default (false), the generated registration ID is sized to require the minimal possible protobuf encoding overhead.- Returns:
the generated registration ID.
-
-
-
-