MCPcopy Create free account

hub / github.com/signalapp/libsignal / functions

Functions8,820 in github.com/signalapp/libsignal

↓ 8 callersMethodct_eq
A constant-time comparison as long as the two keys have a matching type. If the two keys have different types, the comparison short-circuits, much li
rust/core/src/curve.rs:206
↓ 8 callersMethoddecapsulate
( &self, secret_key: &KeyMaterial<Secret>, ciphertext: &[u8], )
rust/protocol/src/kem.rs:159
↓ 8 callersMethoddecompress
Attempts to decompress the endorsement. Produces [`VerificationFailure`] if the compressed storage isn't a valid representation of a point. Deserial
rust/zkcredential/src/endorsements.rs:223
↓ 8 callersMethoddecrypt
(CertificateValidator validator, byte[] ciphertext, long timestamp)
java/client/src/main/java/org/signal/libsignal/metadata/SealedSessionCipher.java:182
↓ 8 callersMethodderef
(&self)
rust/bridge/shared/types/src/crypto.rs:60
↓ 8 callersMethodderiveFromMasterKey
(GroupMasterKey groupMasterKey)
java/shared/java/org/signal/libsignal/zkgroup/groups/GroupSecretParams.java:35
↓ 8 callersMethoddevice_id
(&self)
rust/protocol/src/protocol.rs:931
↓ 8 callersFunctiondummy_identity_key
(fill: u8)
rust/net/chat/src/ws/keys.rs:884
↓ 8 callersFunctiondummy_kem_public_key
(fill: u8)
rust/net/chat/src/ws/keys.rs:894
↓ 8 callersFunctionencode_frame
(frame: proto::Frame)
rust/message-backup/src/json/exporter.rs:222
↓ 8 callersMethodencryptServiceId
(serviceId: ServiceId)
node/ts/zkgroup/groups/ClientZkGroupCipher.ts:24
↓ 8 callersMethodexecute
( self, kt: &impl UnauthenticatedChatApi, aci_identity_key: &PublicKey, distin
rust/net/chat/src/api/keytrans/monitor_and_search.rs:441
↓ 8 callersMethodextend
(&mut self, iter: It)
rust/message-backup/src/backup/method.rs:56
↓ 8 callersMethodfinishExport
* Completes the export and runs any final whole-backup validation checks. * * Must be called before [close]. Calling this on a closed exporter t
java/client/src/main/java/org/signal/libsignal/messagebackup/BackupJsonExporter.kt:116
↓ 8 callersMethodforExpiration
Derives a new key for group send endorsements that expire at {@code expiration}. <p>{@code expiration} must be day-aligned as a protection against fi
java/shared/java/org/signal/libsignal/zkgroup/groupsend/GroupSendDerivedKeyPair.java:41
↓ 8 callersFunctionfromBase64
(base64: string)
node/ts/test/util.ts:103
↓ 8 callersMethodgetConnectionManager
()
java/client/src/main/java/org/signal/libsignal/net/Network.java:292
↓ 8 callersMethodgetInstance
(String algoName)
java/client/src/main/java/org/signal/libsignal/crypto/jce/Mac.java:18
↓ 8 callersMethodgetKeyPair
()
java/shared/java/org/signal/libsignal/protocol/state/SignedPreKeyRecord.java:58
↓ 8 callersMethodgetSignature
()
java/shared/java/org/signal/libsignal/protocol/state/KyberPreKeyRecord.java:55
↓ 8 callersMethodgetSignature
()
java/shared/java/org/signal/libsignal/protocol/state/SignedPreKeyRecord.java:72
↓ 8 callersMethodget_storage
(&self)
rust/protocol/src/state/signed_prekey.rs:41
↓ 8 callersMethodid
(&self)
rust/protocol/src/state/prekey.rs:50
↓ 8 callersFunctioninferChunkSize
(dataSize: number)
node/ts/incremental_mac.ts:25
↓ 8 callersMethodis_valid_sender_account
Returns true iff `self` is a contact with an ACI or E164, or the Self recipient. Note that this **excludes `ReleaseNotes`**, hence "sender *account*"
rust/message-backup/src/backup/recipient.rs:199
↓ 8 callersMethodkeepAlive
* Keeps an object from being garbage-collected until this call completes. * * This can be used to keep a Java wrapper around a Rust object han
java/shared/java/org/signal/libsignal/internal/Native.kt:140
↓ 8 callersFunctionlikely_empty
Hint for processing a collection that's usually empty. This saves a small amount of time by not setting up an iteration loop in `collect` only to thr
rust/message-backup/src/backup.rs:1025
↓ 8 callersMethodmessageForRecipient
Returns the Sealed Sender V2 "ReceivedMessage" payload for delivery to a particular recipient. <p>The same payload should be sent to all of the recip
java/server/src/main/java/org/signal/libsignal/protocol/SealedSenderMultiRecipientMessage.java:172
↓ 8 callersFunctionmonitor_then_search
( kt: &impl UnauthenticatedChatApi, monitor_parameters: Parameters<'a>, search_parameters: Paramet
rust/net/chat/src/api/keytrans/monitor_and_search.rs:705
↓ 8 callersMethodon_network_change
(&self, now: Instant)
rust/bridge/shared/types/src/net.rs:265
↓ 8 callersMethodprivate_key
(&self)
rust/zkcredential/src/credentials.rs:153
↓ 8 callersMethodprocess
Construct a group session for receiving messages from sender. @param sender The address of the device that sent the message. @param senderKeyDistribu
java/shared/java/org/signal/libsignal/protocol/groups/GroupSessionBuilder.java:47
↓ 8 callersMethodpublicKey
()
node/ts/index.ts:286
↓ 8 callersMethodpublic_key_bytes
(&self)
rust/core/src/curve.rs:107
↓ 8 callersMethodregistration_id
(&self)
rust/protocol/src/protocol.rs:398
↓ 8 callersFunctionround_trip
( value: &T, expected_len: usize, )
rust/zkcredential/src/endorsements.rs:798
↓ 8 callersFunctionsealed_sender_encrypt_from_usmc
This method implements the single-key single-recipient [KEM] described in [this Signal blog post], a.k.a. Sealed Sender v1. [KEM]: https://en.wikiped
rust/protocol/src/sealed_sender.rs:972
↓ 8 callersMethodsend_request
( mut self, request: LookupRequest, )
rust/net/src/cdsi.rs:324
↓ 8 callersMethodservice_id_binary
(&self)
rust/core/src/address.rs:95
↓ 8 callersFunctiontestSimpleGrpcRequest
( requestName: string, expectedRequest: Record<string, unknown>, responseName: string, response: Recor
node/ts/test/chat/ServiceTestUtils.ts:74
↓ 8 callersMethodthenCompose
Returns a future that will complete with the completion result of the future produced by applying a function to this future's completion value. <p>If
java/shared/java/org/signal/libsignal/internal/CompletableFuture.java:224
↓ 8 callersMethodtimestamp
(&self)
rust/protocol/src/protocol.rs:921
↓ 8 callersMethodto_bytes
(&self)
rust/poksho/src/statement.rs:332
↓ 8 callersMethodtry_fill_bytes
(&mut self, dest: &mut [u8])
rust/attest/src/snow_resolver.rs:22
↓ 8 callersFunctionvalidate
(mut reader: BackupReader<impl AsyncRead + Unpin + VerifyHmac>)
rust/message-backup/tests/test_cases.rs:400
↓ 8 callersMethodverify
Verifies that this token was generated from an endorsement of {@code userIds} by {@code keyPair}. <p>The correct {@code keyPair} must be selected bas
java/shared/java/org/signal/libsignal/zkgroup/groupsend/GroupSendFullToken.java:45
↓ 8 callersMethodverifyProof
(byte[] proof, byte[] hash)
java/shared/java/org/signal/libsignal/usernames/Username.java:141
↓ 8 callersMethodwhenComplete
Returns a future of the same type that will execute an action when the original future completes, successfully or not. <p>The action will be invoked
java/shared/java/org/signal/libsignal/internal/CompletableFuture.java:256
↓ 7 callersMethod_bridge
Exposed as public for {@code SealedSessionCipher}, do not use directly.
java/shared/java/org/signal/libsignal/protocol/SessionCipher.java:82
↓ 7 callersMethod_fromNativeHandle
(handle: Native.PublicKey)
node/ts/EcKeys.ts:15
↓ 7 callersMethodaccept
(T value)
java/client/src/test/java/org/signal/libsignal/net/RegistrationServiceTest.java:40
↓ 7 callersFunctionaci_to_scalar
Interprets a 128-bit ACI as a scalar for use in the avatar commitment. The UUID bytes are zero-padded to 32 bytes. Since the group order is ~2^252, t
rust/zkgroup/src/api/avatars/avatar_upload_credential.rs:228
↓ 7 callersFunctionaddress
(id: &str)
rust/protocol/cross-version-testing/src/v73.rs:12
↓ 7 callersFunctionaddress
(id: &str)
rust/protocol/cross-version-testing/src/v74.rs:12
↓ 7 callersFunctionaes_256_cbc_encrypt
( ptext: &[u8], key: &[u8], iv: &[u8], )
rust/crypto/src/aes_cbc.rs:26
↓ 7 callersMethodarchive_current_state
(&mut self)
rust/protocol/src/state/session.rs:828
↓ 7 callersMethodas_points
(&self)
rust/zkcredential/src/attributes.rs:88
↓ 7 callersMethodassertChatSendErrorIs
( String errorDescription, Class<E> expectedErrorType)
java/client/src/test/java/org/signal/libsignal/net/ChatServiceTest.java:94
↓ 7 callersMethodassertIsServerSideError
(ThrowingConsumer<String> throwError)
java/client/src/test/java/org/signal/libsignal/net/RegistrationServiceTest.java:261
↓ 7 callersMethodassertIsTimeoutError
(ThrowingConsumer<String> throwError)
java/client/src/test/java/org/signal/libsignal/net/RegistrationServiceTest.java:251
↓ 7 callersMethodassertIsUnknownError
(ThrowingConsumer<String> throwError)
java/client/src/test/java/org/signal/libsignal/net/RegistrationServiceTest.java:255
↓ 7 callersMethodassertSessionIdEquals
(SignalProtocolStore aliceStore, SignalProtocolStore bobStore)
java/client/src/test/java/org/signal/libsignal/protocol/SimultaneousInitiateTests.java:519
↓ 7 callersMethodassert_equivalent_with
(&self, them: &Self, context: &str)
rust/protocol/src/session_management.rs:1985
↓ 7 callersFunctionassert_expected_result
( lookup_options: Vec<Box<dyn DnsLookup>>, expected: Option<Ipv4Addr>, )
rust/net/infra/src/dns.rs:723
↓ 7 callersMethodattest
(self)
rust/attest/src/dcap/fakes.rs:146
↓ 7 callersFunctioncheck_jobject_type
Verifies that a Java object is a non-`null` instance of the given class.
rust/bridge/shared/types/src/jni/mod.rs:1410
↓ 7 callersFunctionchunkSizeInBytes
(sizeChoice: ChunkSizeChoice)
node/ts/incremental_mac.ts:262
↓ 7 callersMethodcreate
(&self)
rust/bridge/shared/types/src/crypto.rs:36
↓ 7 callersFunctioncreate_for_username
Generates the encrypted buffer used for a username link, decryptable by [`decrypt_username`]. The encryption key will be derived from `entropy` is pr
rust/usernames/src/username_links.rs:24
↓ 7 callersMethodcreate_profile_key_credential_request_context
( &self, randomness: RandomnessBytes, aci: libsignal_core::Aci, profile_key: a
rust/zkgroup/src/api/server_params.rs:367
↓ 7 callersFunctiondecrypt_username
( entropy: &[u8; USERNAME_LINK_ENTROPY_SIZE], encrypted_username: &[u8], )
rust/usernames/src/username_links.rs:56
↓ 7 callersMethodderiveFromMasterKey
( groupMasterKey: GroupMasterKey )
node/ts/zkgroup/groups/GroupSecretParams.ts:31
↓ 7 callersMethodderiveSecrets
java/shared/java/org/signal/libsignal/protocol/kdf/HKDF.kt:10
↓ 7 callersMethodencodeBase64
(byte[] input)
java/client/src/test/java/org/signal/libsignal/net/RegistrationServiceTest.java:460
↓ 7 callersMethodencrypt
( SignalProtocolAddress destinationAddress, SenderCertificate senderCertificate, byte[] padd
java/client/src/main/java/org/signal/libsignal/metadata/SealedSessionCipher.java:58
↓ 7 callersMethodencrypt
(ServiceId serviceId)
java/shared/java/org/signal/libsignal/zkgroup/groups/ClientZkGroupCipher.java:26
↓ 7 callersFunctionerror
()
rust/attest/src/error.rs:107
↓ 7 callersFunctionfilterExceptions
java/shared/java/org/signal/libsignal/internal/FilterExceptionsKt.kt:18
↓ 7 callersMethodflush
(&self)
rust/bridge/ffi/src/logging.rs:88
↓ 7 callersMethodgenerate
()
java/shared/java/org/signal/libsignal/zkgroup/ZkCredentialKeyPair.java:26
↓ 7 callersMethodgenerateKyberPreKey
( IdentityKeyPair identityKeyPair, int kyberPreKeyId)
java/client/src/test/java/org/signal/libsignal/metadata/SealedSessionCipherTest.java:65
↓ 7 callersMethodgenerateSignedPreKey
( IdentityKeyPair identityKeyPair, int signedPreKeyId)
java/client/src/test/java/org/signal/libsignal/metadata/SealedSessionCipherTest.java:56
↓ 7 callersMethodgetPublicParams
()
java/shared/java/org/signal/libsignal/zkgroup/GenericServerSecretParams.java:41
↓ 7 callersMethodgetUsername
()
java/shared/java/org/signal/libsignal/usernames/Username.java:70
↓ 7 callersMethodget_request
(&self)
rust/zkgroup/src/api/avatars/avatar_upload_credential.rs:352
↓ 7 callersMethodhash
(&self, state: &mut H)
rust/net/infra/src/route/ws.rs:88
↓ 7 callersFunctionhkdf
(entropy: &[u8], label: &[u8])
rust/usernames/src/username_links.rs:85
↓ 7 callersMethodinitializeSessions
( TestInMemorySignalProtocolStore aliceStore, TestInMemorySignalProtocolStore bobStore, Sign
java/client/src/test/java/org/signal/libsignal/metadata/SealedSessionCipherTest.java:972
↓ 7 callersMethodinjectServerRequest
(FakeChatRemote fakeRemote, String requestBase64)
java/client/src/test/java/org/signal/libsignal/net/ChatServiceTest.java:156
↓ 7 callersMethodinsert
(&mut self, level: usize, value: Hash)
rust/keytrans/src/log.rs:295
↓ 7 callersMethodinto_reader
(self)
rust/message-backup/src/parse.rs:161
↓ 7 callersFunctionjson
(status: u16, body: impl AsRef<[u8]>)
rust/net/chat/src/ws.rs:431
↓ 7 callersMethodkind
(&self)
rust/core/src/address.rs:191
↓ 7 callersMethodleaf
(&self)
rust/attest/src/cert_chain.rs:47
↓ 7 callersMethodlookUpUsernameHash
* Looks up a username hash on the service, like that computed by * [org.signal.libsignal.usernames.Username]. * * Produces the corresponding
java/client/src/main/java/org/signal/libsignal/net/UnauthUsernamesService.kt:28
↓ 7 callersMethodmac_key
(&self)
rust/protocol/src/ratchet/keys.rs:126
↓ 7 callersFunctionmake_chat
()
rust/net/chat/src/ws/keytrans.rs:367
↓ 7 callersFunctionmake_kt
(chat: &(dyn LowLevelChatApi + Sync))
rust/net/chat/src/api/keytrans.rs:630
↓ 7 callersMethodmap_domain
Transforms the `Domain` variant with the provided function. Like `Option::map`; this produces a new `Host` by applying `f` to the `Domain` value if t
rust/net/infra/src/host.rs:69
↓ 7 callersMethodmap_into_error
(self, f: impl FnOnce(TestE) -> E)
rust/bridge/shared/testing/src/net/registration.rs:164
← previousnext →501–600 of 8,820, ranked by callers