Class GroupSendDerivedKeyPair

  • All Implemented Interfaces:

    
    public final class GroupSendDerivedKeyPair
    extends ByteArray
                        

    The key pair used to issue and verify group send endorsements.

    Group send endorsements use a different key pair depending on the endorsement's expiration (but not the user ID being endorsed). The server may cache these keys to avoid the (small) cost of deriving them from the root key in ServerSecretParams. The key object stores the expiration so that it doesn't need to be provided again when issuing endorsements.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static GroupSendDerivedKeyPair forExpiration(Instant expiration, ServerSecretParams params) Derives a new key for group send endorsements that expire at expiration.
      • Methods inherited from class org.signal.libsignal.zkgroup.internal.ByteArray

        constantTimeEqual, equals, getInternalContentsForJNI, hashCode, serialize
      • Methods inherited from class java.lang.Object

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

      • GroupSendDerivedKeyPair

        GroupSendDerivedKeyPair(Array<byte> contents)