MCPcopy Create free account

hub / github.com/signalapp/libsignal / functions

Functions8,820 in github.com/signalapp/libsignal

↓ 20 callersMethodas_search_key
(&self)
rust/net/chat/src/api/keytrans.rs:163
↓ 20 callersMethodencrypt
Encrypt a message. @param paddedPlaintext The plaintext message bytes, optionally padded. @return Ciphertext. @throws NoSessionException
java/shared/java/org/signal/libsignal/protocol/groups/GroupCipher.java:68
↓ 20 callersMethodfill_bytes
(&mut self, dst: &mut [u8])
rust/crypto/src/hpke/provider.rs:211
↓ 20 callersFunctionfixed_seed_test_rng
A standard RNG used for exact-match tests that (normally) depend on randomness.
rust/net/chat/src/api.rs:237
↓ 20 callersMethodget_scalar
Uses [`ShoApi::squeeze_and_ratchet_into`] to generate a pseudorandom scalar.
rust/zkcredential/src/sho.rs:22
↓ 20 callersMethodget_scalar
(&mut self)
rust/zkgroup/src/common/sho.rs:54
↓ 20 callersFunctionlog_and_send
Performs a single operation, assumed to be a gRPC request, with logging at the start and end.
rust/net/chat/src/grpc.rs:155
↓ 20 callersMethodpop
(&mut self)
rust/net/infra/src/utils/binary_heap.rs:71
↓ 20 callersFunctionprocess
(input: R, hmac_key: &[u8])
rust/message-backup/benches/validation.rs:146
↓ 20 callersMethodwith_signed_pre_key
(mut self, id_choice: IdChoice)
rust/protocol/tests/support/mod.rs:266
↓ 19 callersMethodas_ref
(&self)
rust/net/infra/src/route/connect/throttle.rs:101
↓ 19 callersMethodas_secs
(&self)
rust/message-backup/src/backup/time.rs:164
↓ 19 callersMethodcreateBundle
(SignalProtocolStore store)
java/client/src/test/java/org/signal/libsignal/protocol/BundleFactory.java:12
↓ 19 callersMethoddeviceId
()
node/ts/Address.ts:219
↓ 19 callersMethodfromStringsCondensedAssert
(String... encoded)
java/shared/java/org/signal/libsignal/protocol/util/Hex.java:68
↓ 19 callersFunctiongroup_encrypt
( sender_key_store: &mut dyn SenderKeyStore, sender: &ProtocolAddress, distribution_id: Uuid,
rust/protocol/src/group_cipher.rs:16
↓ 19 callersMethodinto_request_error
(self)
rust/net/chat/src/ws/registration.rs:71
↓ 19 callersMethodremove
Creates an endorsement with `other` removed from `self`. This is useful when `self` represents a [combined](Self::combine) endorsement, but you want
rust/zkcredential/src/endorsements.rs:597
↓ 19 callersFunctionserver_secret_params
()
rust/zkgroup/src/api/avatars/avatar_upload_credential.rs:614
↓ 19 callersMethodstart
( Network network, String username, String password, CdsiLookupRequest request)
java/client/src/main/java/org/signal/libsignal/net/CdsiLookup.java:15
↓ 19 callersMethodthen
Produces a future using the given result handler. Note that if there was a JavaScript exception during the creation of this JsFutureBuilder, `transfo
rust/bridge/node/futures/src/future/builder.rs:30
↓ 19 callersMethodtry_into_response
(self)
rust/net/chat/src/ws.rs:343
↓ 19 callersMethodwipe_and_try_to_restore
(&mut self, failures: &[usize])
rust/net/src/svrb.rs:1245
↓ 19 callersMethodwith_pre_key
(mut self, id_choice: IdChoice)
rust/protocol/tests/support/mod.rs:247
↓ 18 callersMethodas_typed
Provides access to the inner ChatConnection using the [`Unauth`] wrapper of libsignal-net-chat. This callback signature unfortunately requires boxing
rust/bridge/shared/types/src/net/chat.rs:141
↓ 18 callersMethodconnect
Establish an attested connection over the given stream. Perform a handshake over the provided websocket stream with the given handshake function. If
rust/net/infra/src/ws/attested.rs:68
↓ 18 callersFunctioncreate_pre_key_bundle
( store: &mut dyn ProtocolStore, mut csprng: &mut R, )
rust/protocol/tests/support/mod.rs:71
↓ 18 callersMethodderive_key
Derives a specific key for issuing endorsements. The `tag_info` should include a domain separation string** as well as any "public attributes" specif
rust/zkcredential/src/endorsements.rs:308
↓ 18 callersMethodgenerateWithRandom
( random: Uint8Array<ArrayBuffer> )
node/ts/zkgroup/ZkCredentialKey.ts:30
↓ 18 callersMethodgetSerialized
()
java/client/src/main/java/org/signal/libsignal/metadata/protocol/UnidentifiedSenderMessageContent.java:86
↓ 18 callersMethodnumber
()
node/ts/net/Registration.ts:339
↓ 18 callersFunctionprocess_sender_key_distribution_message
( sender: &ProtocolAddress, skdm: &SenderKeyDistributionMessage, sender_key_store: &mut dyn Sender
rust/protocol/src/group_cipher.rs:196
↓ 18 callersMethodpublic_key
(&self)
rust/core/src/curve.rs:259
↓ 18 callersFunctionsealed_sender_multi_recipient_encrypt
This method implements a single-key multi-recipient [KEM] as defined in Manuel Barbosa's ["Randomness Reuse: Extensions and Improvements"], a.k.a. Sea
rust/protocol/src/sealed_sender.rs:1362
↓ 18 callersMethodservice
(&self)
rust/net/chat/src/grpc.rs:87
↓ 18 callersMethodsign
(message: Uint8Array<ArrayBuffer>)
node/ts/zkgroup/ServerSecretParams.ts:44
↓ 17 callersFunctionassert_lookup_result_content_equal
( lookup_result: &LookupResult, expected_ipv4s: &[Ipv4Addr], expected_ipv6s: &[Ipv6Add
rust/net/infra/src/dns/custom_resolver.rs:607
↓ 17 callersMethodexpect_no_exceptions
(self)
rust/bridge/shared/types/src/jni/error.rs:374
↓ 17 callersMethodgetSessionVersion
(SignalProtocolAddress remoteAddress)
java/client/src/main/java/org/signal/libsignal/metadata/SealedSessionCipher.java:242
↓ 17 callersMethodget_public_key
(&self)
rust/zkgroup/src/crypto/signature.rs:51
↓ 17 callersFunctiongroup_decrypt
( skm_bytes: &[u8], sender_key_store: &mut dyn SenderKeyStore, sender: &ProtocolAddress, )
rust/protocol/src/group_cipher.rs:124
↓ 17 callersFunctionhexToBuffer
(hex: string)
node/ts/test/ZKGroup-test.ts:81
↓ 17 callersMethodmakeCancelable
(TokioAsyncContext context)
java/shared/java/org/signal/libsignal/internal/CompletableFuture.java:58
↓ 17 callersFunctionnew_jstring_from_owned_utf8
Reuses the buffer of `contents` to create a `java.lang.String`. This still requires O(N) work to verify that the string is free of NUL bytes and also
rust/bridge/shared/types/src/jni/mod.rs:1366
↓ 17 callersFunctionreq
(uri: &str, body: impl prost::Message + 'static)
rust/net/chat/src/grpc.rs:730
↓ 17 callersMethodsend
(&self, message: Request, timeout: Duration)
rust/bridge/shared/types/src/net/chat.rs:365
↓ 17 callersMethodsession_state
(&self)
rust/protocol/src/state/session.rs:775
↓ 17 callersMethodsplit
(byte[] input, int firstLength, int secondLength)
java/shared/java/org/signal/libsignal/protocol/util/ByteUtil.java:28
↓ 16 callersMethodadd
panics on invalid input
rust/poksho/src/statement.rs:146
↓ 16 callersMethodadd_sender_key_state_record
Associates the `record_key` with the `chain_key` via `add_sender_key_state` which is the method under test in this module.
rust/protocol/src/sender_keys.rs:396
↓ 16 callersMethodcalculate_agreement
(&self, their_key: &PublicKey)
rust/core/src/curve.rs:296
↓ 16 callersFunctionchain_key
(i: u128)
rust/protocol/src/sender_keys.rs:379
↓ 16 callersMethodcheckCalledMethod
* Checks that the called method on the given target is annotated to avoid being stripped. * * @throws AssertionError if the method isn't
java/shared/java/org/signal/libsignal/internal/CalledFromNative.kt:77
↓ 16 callersMethodcreate
Construct a group session for sending messages. @param sender The address of the current client. @param distributionId An opaque identifier that uniq
java/shared/java/org/signal/libsignal/protocol/groups/GroupSessionBuilder.java:67
↓ 16 callersMethodcreateFor
Generate a scannable and displayable fingerprint. @param version The version of fingerprint you are generating. @param localStableIdentifier The clie
java/shared/java/org/signal/libsignal/protocol/fingerprint/NumericFingerprintGenerator.java:42
↓ 16 callersFunctione164_pair
To be used for search function
rust/net/chat/src/api/keytrans.rs:602
↓ 16 callersMethodepoch_millis
(&self)
rust/protocol/src/timestamp.rs:18
↓ 16 callersMethodfinalize
(self)
rust/protocol/src/incremental_mac.rs:87
↓ 16 callersMethodget_public_params
(&self)
rust/zkgroup/src/api/call_links/params.rs:52
↓ 16 callersMethodlookup_pair
( &'a self, key: &'a RecipientId, )
rust/message-backup/src/backup/call.rs:501
↓ 16 callersFunctionmessage_decrypt_signal
Decrypt a [`SignalMessage`] from `remote_address`. Tries all sessions in the session record. Checks identity key trust after decryption.
rust/protocol/src/session_management.rs:297
↓ 16 callersMethodname
(&self)
rust/core/src/address.rs:800
↓ 16 callersMethodport
()
node/ts/test/ChatTest.ts:67
↓ 16 callersMethodpresent
( &self, server_params: &GenericServerPublicParams, randomness: RandomnessBytes, )
rust/zkgroup/src/api/backups/auth_credential.rs:241
↓ 16 callersMethodrespond
(self, result: Result<(), E>)
rust/net/infra/src/route.rs:1291
↓ 16 callersFunctionrun
(bob_add_keys: F, expected_session_version: u32)
rust/protocol/tests/session.rs:40
↓ 16 callersMethodsend
( &self, log_tag: &'static str, log_safe_path: &str, request: ChatRequest,
rust/net/chat/src/ws/registration.rs:57
↓ 16 callersMethodsend_response
Sends a response for the associated request to the server. Fails if the server definitely didn't receive the response. A return value of `Ok(())` doe
rust/net/src/chat/ws.rs:440
↓ 16 callersMethodtoString
(byte[] bytes)
java/shared/java/org/signal/libsignal/protocol/util/Hex.java:18
↓ 15 callersMethodadd_kyber_pre_key
(&mut self, id_choice: IdChoice)
rust/protocol/tests/support/mod.rs:300
↓ 15 callersMethodadd_signed_pre_key
(&mut self, id_choice: IdChoice)
rust/protocol/tests/support/mod.rs:271
↓ 15 callersMethodas_millis
(&self)
rust/message-backup/src/backup/time.rs:111
↓ 15 callersMethodas_pin_mut
(self: Pin<&mut Self>)
rust/net/infra/src/route/connect/throttle.rs:119
↓ 15 callersMethodassertMessageForRecipient
( final SealedSenderMultiRecipientMessage message, final SealedSenderMultiRecipientMessage.Recipie
java/server/src/test/java/org/signal/libsignal/protocol/SealedSenderMultiRecipientMessageTest.java:41
↓ 15 callersMethodcancel
(boolean mayInterruptIfRunning)
java/shared/java/org/signal/libsignal/internal/CompletableFuture.java:63
↓ 15 callersFunctiondummy_ec_public_key
(fill: u8)
rust/net/chat/src/ws/keys.rs:889
↓ 15 callersMethodgetDevicesAndRegistrationIds
Returns a stream of (device ID, registration ID) pairs. @see #getDevices
java/server/src/main/java/org/signal/libsignal/protocol/SealedSenderMultiRecipientMessage.java:74
↓ 15 callersMethodget_pre_keys
( &self, auth: UserBasedAuthorization, target: ServiceId, device: DeviceSpecif
rust/net/chat/src/ws/keys.rs:102
↓ 15 callersMethodinto_box
Converts back into a `Box`ed slice. Callers of this function must ensure that - the `OwnedBufferOf` was originally created from `Box` (or `default()`
rust/bridge/shared/types/src/ffi/mod.rs:131
↓ 15 callersMethodisSessionIdEqual
(SignalProtocolStore aliceStore, SignalProtocolStore bobStore)
java/client/src/test/java/org/signal/libsignal/protocol/SimultaneousInitiateTests.java:528
↓ 15 callersMethodmessage_type
(&self)
rust/protocol/src/protocol.rs:43
↓ 15 callersMethodname
()
node/ts/Address.ts:202
↓ 15 callersFunctionnew_chat
(listener: EventListener)
rust/net/src/chat/ws.rs:1604
↓ 15 callersMethodproxyOptionsFromUrl
* Parses a proxy URL into an options object, suitable for passing to {@link #setProxy}. * * It is recommended not to call this directly. Instead
node/ts/net.ts:447
↓ 15 callersFunctionread
(amount: number)
node/ts/io.ts:50
↓ 15 callersMethodread_next
(&mut self)
rust/message-backup/src/parse.rs:24
↓ 15 callersMethodremove
(&self)
rust/net/src/svrb.rs:655
↓ 15 callersMethodreplace
(self, make_fragment: impl FnOnce(S) -> T)
rust/net/infra/src/route/ws.rs:61
↓ 15 callersFunctionrespond_after_timeout
( timeout: Duration, tx: OneshotDnsQueryResultSender, response: dns::Result<DnsQueryRe
rust/net/infra/src/dns/custom_resolver.rs:596
↓ 15 callersFunctionsealed_sender_decrypt_to_usmc
Decrypt the payload of a sealed-sender message in either the v1 or v2 format. [`sealed_sender_decrypt`] consumes the output of this method to validat
rust/protocol/src/sealed_sender.rs:1853
↓ 15 callersFunctionusername_hash
()
rust/net/chat/src/api/keytrans.rs:597
↓ 15 callersMethodwrite
(&mut self, message: impl Into<TextOrBinary>)
rust/net/infra/src/ws/attested.rs:186
↓ 14 callersMethodadd_pre_key
(&mut self, id_choice: IdChoice)
rust/protocol/tests/support/mod.rs:252
↓ 14 callersMethodadd_recipient
(&mut self, recipient: proto::Recipient)
rust/message-backup/src/backup.rs:721
↓ 14 callersMethodcreate_new_current_enclave
(&mut self)
rust/net/src/svrb.rs:1264
↓ 14 callersFunctioncreate_sender_key_distribution_message
( sender: &ProtocolAddress, distribution_id: Uuid, sender_key_store: &mut dyn SenderKeyStore,
rust/protocol/src/group_cipher.rs:228
↓ 14 callersMethodenv
(self)
rust/bridge/shared/types/src/net.rs:52
↓ 14 callersMethodgetPublicKey
()
java/shared/java/org/signal/libsignal/protocol/IdentityKeyPair.java:46
↓ 14 callersMethodget_local_registration_id
(&self)
rust/protocol/src/storage/inmem.rs:56
↓ 14 callersFunctionget_proto_field
(field: &'a Option<T>, name: &'static str)
rust/keytrans/src/verify.rs:86
← previousnext →201–300 of 8,820, ranked by callers