Class PreKey


  • public final class PreKey
    extends java.lang.Object
    A PreKey contains all the necessary public key material for a remote peer to initiate a session with the owner of the prekey.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      byte[] data  
      int id  
    • Constructor Summary

      Constructors 
      Constructor Description
      PreKey​(int id, byte[] data)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • id

        public final int id
      • data

        public final byte[] data
    • Constructor Detail

      • PreKey

        public PreKey​(int id,
                      byte[] data)