Lines Matching defs:identity
27 * An identity that uniquely identifies a particular device. In this
28 * implementation, the identity is represented as a 64-bit integer encoded to a
54 * Create a verifier device identity from a long.
56 * @param identity device identity in a 64-bit integer.
59 public VerifierDeviceIdentity(long identity) {
60 mIdentity = identity;
61 mIdentityString = encodeBase32(identity);
65 final long identity = source.readLong();
67 mIdentity = identity;
68 mIdentityString = encodeBase32(identity);
72 * Generate a new device identity.
74 * @return random uniformly-distributed device identity
82 * Generate a new device identity using a provided random number generator
86 * @return verifier device identity based on the input from the provided
90 long identity = rng.nextLong();
91 return new VerifierDeviceIdentity(identity);