Class NumericFingerprintGenerator

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      NumericFingerprintGenerator(int iterations) Construct a fingerprint generator for 60 digit numerics.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Fingerprint createFor(int version, Array<byte> localStableIdentifier, IdentityKey localIdentityKey, Array<byte> remoteStableIdentifier, IdentityKey remoteIdentityKey) Generate a scannable and displayable fingerprint.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NumericFingerprintGenerator

        NumericFingerprintGenerator(int iterations)
        Construct a fingerprint generator for 60 digit numerics.
        Parameters:
        iterations - The number of internal iterations to perform in the process of generating a 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.