Class NumericFingerprintGenerator
-
- All Implemented Interfaces:
-
org.signal.libsignal.protocol.fingerprint.FingerprintGenerator
public class NumericFingerprintGenerator implements FingerprintGenerator
-
-
Constructor Summary
Constructors Constructor Description NumericFingerprintGenerator(int iterations)Construct a fingerprint generator for 60 digit numerics.
-
Method Summary
Modifier and Type Method Description FingerprintcreateFor(int version, Array<byte> localStableIdentifier, IdentityKey localIdentityKey, Array<byte> remoteStableIdentifier, IdentityKey remoteIdentityKey)Generate a scannable and displayable fingerprint. -
-
Method Detail
-
createFor
Fingerprint createFor(int version, Array<byte> localStableIdentifier, IdentityKey localIdentityKey, Array<byte> remoteStableIdentifier, IdentityKey remoteIdentityKey)
Generate a scannable and displayable fingerprint.
- Parameters:
version- The version of fingerprint you are generating.localStableIdentifier- The client's "stable" identifier.localIdentityKey- The client's identity key.remoteStableIdentifier- The remote party's "stable" identifier.remoteIdentityKey- The remote party's identity key.- Returns:
A unique fingerprint for this conversation.
-
-
-
-