Package org.signal.libsignal.zkgroup
Class ServerPublicParams
-
- All Implemented Interfaces:
-
org.signal.libsignal.internal.NativeHandleGuard.Owner
public final class ServerPublicParams extends NativeHandleGuard.SimpleOwner
-
-
Constructor Summary
Constructors Constructor Description ServerPublicParams(Array<byte> contents)
-
Method Summary
Modifier and Type Method Description Array<byte>getEndorsementPublicKey()Get the serialized form of the params' endorsement key. voidverifySignature(Array<byte> message, NotarySignature notarySignature)Array<byte>serialize()inthashCode()booleanequals(Object o)-
Methods inherited from class org.signal.libsignal.internal.NativeHandleGuard.SimpleOwner
unsafeNativeHandleWithoutGuard -
Methods inherited from class org.signal.libsignal.internal.NativeHandleGuard.Owner
guard, guardedMap, guardedMapChecked, guardedRun, guardedRunChecked -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ServerPublicParams
ServerPublicParams(Array<byte> contents)
-
-
Method Detail
-
getEndorsementPublicKey
Array<byte> getEndorsementPublicKey()
Get the serialized form of the params' endorsement key.
Allows decoupling RingRTC's use of endorsements from libsignal's.
-
verifySignature
void verifySignature(Array<byte> message, NotarySignature notarySignature)
-
hashCode
int hashCode()
-
-
-
-