Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/signalapp/libsignal
/ functions
Functions
8,820 in github.com/signalapp/libsignal
⨍
Functions
8,820
◇
Types & classes
2,843
↓ 14 callers
Method
index
(&self)
rust/protocol/src/ratchet/keys.rs:161
↓ 14 callers
Method
insert
(&mut self, key: CustomColorId, value: M::CustomColorData)
rust/message-backup/src/backup/chat/chat_style.rs:106
↓ 14 callers
Method
map
java/client/src/main/java/org/signal/libsignal/net/RequestResult.kt:96
↓ 14 callers
Function
parse
(input: &str)
rust/net/chat/src/api/registration/session_id.rs:88
↓ 14 callers
Method
present
( &self, rng: &mut dyn rand::CryptoRng, )
rust/net/chat/src/api/backups.rs:39
↓ 14 callers
Function
random_public_key
()
rust/protocol/src/sender_keys.rs:375
↓ 14 callers
Method
root
(&self)
rust/attest/src/cert_chain.rs:58
↓ 14 callers
Function
run_command
Runs a shell command and returns its stdout as a string. If check=True, raises a CalledProcessError for non-zero exit codes.
bin/prepare_release.py:376
↓ 14 callers
Method
sanitize
Sanitize an MP4 input. <p>It's recommended that the given {@link InputStream} be capable of {@code skip}ping, and that it skips fewer bytes than requ
java/client/src/main/java/org/signal/libsignal/media/Mp4Sanitizer.java:60
↓ 14 callers
Function
server_secret_params
()
rust/zkgroup/src/api/backups/auth_credential.rs:328
↓ 14 callers
Method
validate
Validates an encrypted message backup bundle. <p>Returns an error if the input cannot be read or if validation fails. @param key the key to use to d
java/client/src/main/java/org/signal/libsignal/messagebackup/MessageBackup.java:54
↓ 14 callers
Method
verify
( &self, current_time: Timestamp, server_params: &GenericServerSecretParams, )
rust/zkgroup/src/api/backups/auth_credential.rs:282
↓ 14 callers
Method
verify_proof
( &self, proof_bytes: &[u8], point_args: &PointArgs, message: &[u8], )
rust/poksho/src/statement.rs:246
↓ 13 callers
Method
as_bytes
(&self)
rust/net/chat/src/api/keytrans/verify_ext.rs:234
↓ 13 callers
Method
as_deref
(&self)
rust/net/chat/src/api/registration.rs:360
↓ 13 callers
Method
as_mut
(&mut self)
rust/zkgroup/src/common/sho.rs:60
↓ 13 callers
Function
chain
Creates a certificate chain of the specified length
rust/attest/src/cert_chain.rs:297
↓ 13 callers
Method
convert_into
(self, env: &mut jni::Env<'a>)
rust/bridge/shared/types/src/jni/convert.rs:1353
↓ 13 callers
Method
decrypt
Decrypt a SenderKey group message. @param senderKeyMessageBytes The received ciphertext. @return Plaintext @throws LegacyMessageException @throws Inv
java/shared/java/org/signal/libsignal/protocol/groups/GroupCipher.java:88
↓ 13 callers
Function
fourcc
(fourccStr: string)
node/ts/test/MediaSanitizerTest.ts:183
↓ 13 callers
Method
fullIncrementalDigest
(OutputStream innerOut, String[] input)
java/client/src/test/java/org/signal/libsignal/protocol/incrementalmac/IncrementalStreamsTest.java:308
↓ 13 callers
Method
getDisplayText
()
java/shared/java/org/signal/libsignal/protocol/fingerprint/DisplayableFingerprint.java:15
↓ 13 callers
Method
getDisplayableFingerprint
@return A text fingerprint that can be displayed and compared remotely.
java/shared/java/org/signal/libsignal/protocol/fingerprint/Fingerprint.java:22
↓ 13 callers
Method
getIdentityKey
()
node/ts/test/protocol/TestStores.ts:58
↓ 13 callers
Method
getLocalRegistrationId
Return the local client's registration ID. <p>Clients should maintain a registration ID, a random number between 1 and 16380 that's generated once at
java/shared/java/org/signal/libsignal/protocol/state/IdentityKeyStore.java:48
↓ 13 callers
Method
hasSenderChain
Returns whether the current session can be used to send messages. <p>If there is no current session, returns {@code false}.
java/shared/java/org/signal/libsignal/protocol/state/SessionRecord.java:108
↓ 13 callers
Method
headers
(&'s self)
rust/net/chat/src/ws/registration/request.rs:170
↓ 13 callers
Method
lookUpUsernameLink
* Looks up a username link on the service by UUID. * * Returns a decrypted, validated username, or `null` if the UUID does not correspond to a
java/client/src/main/java/org/signal/libsignal/net/UnauthUsernamesService.kt:50
↓ 13 callers
Method
makeIncrementalInputStream
( ReadableByteChannel channel, byte[] digest)
java/client/src/test/java/org/signal/libsignal/protocol/incrementalmac/IncrementalStreamsTest.java:342
↓ 13 callers
Method
reportUnexpectedException
(Exception e)
java/shared/java/org/signal/libsignal/internal/FilterExceptions.java:68
↓ 13 callers
Function
try_scoped
(f: impl FnOnce() -> Result<T, E>)
rust/core/src/lib.rs:30
↓ 12 callers
Method
absorb
(&mut self, input: &[u8])
rust/poksho/src/shosha256.rs:42
↓ 12 callers
Method
add_frame_item
(&mut self, item: FrameItem)
rust/message-backup/src/backup.rs:680
↓ 12 callers
Method
apply_outcome_updates
Update the internal state with the results of completed connection attempts.
rust/net/infra/src/route/schedule.rs:355
↓ 12 callers
Function
assertArrayNotEquals
( expected: Uint8Array<ArrayBuffer>, actual: Uint8Array<ArrayBuffer> )
node/ts/test/util.ts:82
↓ 12 callers
Method
assertSessionIdNotEquals
( SignalProtocolStore aliceStore, SignalProtocolStore bobStore)
java/client/src/test/java/org/signal/libsignal/protocol/SimultaneousInitiateTests.java:523
↓ 12 callers
Method
derive_backup_id
Derives a backup ID consistently with how this backup key was created.
rust/account-keys/src/backup.rs:120
↓ 12 callers
Method
exportFrames
* Validates and exports a human-readable JSON representation of backup frames. * @param frames One or more varint delimited Frame serialized protob
node/ts/MessageBackup.ts:340
↓ 12 callers
Function
fake_websocket
()
rust/net/infra/src/ws.rs:558
↓ 12 callers
Method
get
(&self, key: u64)
rust/keytrans/src/verify.rs:975
↓ 12 callers
Method
handle_next_event
Wait for the first available event, returning the outcome. The events that can be handled include - the client puts a message in the outgoing queue (
rust/net/infra/src/ws/connection.rs:212
↓ 12 callers
Method
issue
( &self, redemption_time: Timestamp, backup_level: BackupLevel, credential_typ
rust/zkgroup/src/api/backups/auth_credential.rs:161
↓ 12 callers
Function
libsignal_bridge_types
()
rust/bridge/shared/macros/src/util.rs:19
↓ 12 callers
Method
log
(int priority, String tag, String msg)
java/shared/java/org/signal/libsignal/protocol/logging/Log.java:83
↓ 12 callers
Function
make_array
(cx: &mut Cx<'a>, it: It)
rust/bridge/shared/types/src/node/convert.rs:1584
↓ 12 callers
Method
message
(&self)
rust/protocol/src/protocol.rs:433
↓ 12 callers
Method
message_version
(&self)
rust/protocol/src/protocol.rs:131
↓ 12 callers
Function
native_handle_cast
(handle: *const T)
rust/bridge/shared/types/src/ffi/mod.rs:472
↓ 12 callers
Function
new_chat_with_config
( config: FakeConfig, get_current_interface: impl GetCurrentInterface<Representation =
rust/net/src/chat/ws.rs:1611
↓ 12 callers
Method
next_chunk_unpin
A convenience wrapper around [`Self::next_chunk`] for when `T` doesn't require pinning (or is already pinned).
rust/net/chat/src/stream_util.rs:76
↓ 12 callers
Function
nice_type_metadata
Generate code to add `input`'s metadata to the metadata context in `ctx` `trait_name`/`trait_fn` are, for example, `NiceArgConverter`/`register_ts_ar
rust/bridge/shared/macros/src/util.rs:344
↓ 12 callers
Function
promise
Produces a JavaScript Promise that represents the result of a Rust future. There's a lot going on here, so let's break it down: - `future` must retur
rust/bridge/node/futures/src/promise.rs:49
↓ 12 callers
Method
public_key
(&self)
rust/protocol/src/sealed_sender.rs:174
↓ 12 callers
Method
sender
(&self)
rust/protocol/src/sealed_sender.rs:595
↓ 12 callers
Function
settle_promise
Use this to return your "settle" function when using [promise()]. This works around a bug in the Rust compiler by providing extra type information. I
rust/bridge/node/futures/src/promise.rs:99
↓ 12 callers
Method
start
* Initializes the streaming exporter and returns the first set of output lines. * @param backupInfo The serialized BackupInfo protobuf without a va
node/ts/MessageBackup.ts:320
↓ 12 callers
Method
upload_secret_to_svr
( &self, failures: &[usize], )
rust/net/src/svrb.rs:1196
↓ 12 callers
Method
verifyAuthCredentialPresentation
( GroupPublicParams groupPublicParams, AuthCredentialPresentation authCredentialPresentation)
java/shared/java/org/signal/libsignal/zkgroup/auth/ServerZkAuthOperations.java:57
↓ 11 callers
Method
add_blinded_revealed_attribute
Adds a blinded "revealed" attribute to the credential. The attribute has been blinded for issuance, but will be revealed to the verifying server. Bl
rust/zkcredential/src/issuance/blind.rs:291
↓ 11 callers
Function
address
(id: &str)
rust/protocol/cross-version-testing/src/current.rs:12
↓ 11 callers
Method
any
(&self)
rust/bridge/shared/macros/src/lib.rs:354
↓ 11 callers
Method
as_ref
(&self)
rust/net/src/svr2/types.rs:85
↓ 11 callers
Method
call
()
java/backup-tool/src/main/java/BackupTool.java:33
↓ 11 callers
Method
clear
(&mut self)
rust/net/chat/src/grpc.rs:1042
↓ 11 callers
Method
compute_delay
(&self, route: &R, now: Instant)
rust/net/infra/src/route/schedule.rs:483
↓ 11 callers
Method
create
* Creates a new request context for `aci`. * * @param aci The account the credential will be issued for. The issuing server must independently
node/ts/zkgroup/AvatarUploadCredential.ts:47
↓ 11 callers
Method
createCertificateFor
( ECKeyPair trustRoot, UUID uuid, String e164, int deviceId, ECPublicKey identit
java/client/src/test/java/org/signal/libsignal/metadata/SealedSessionCipherTest.java:952
↓ 11 callers
Method
ct_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/protocol/src/kem.rs:408
↓ 11 callers
Method
encrypt
( &mut self, remote: &str, _local: &str, msg: &[u8], )
rust/protocol/cross-version-testing/src/v73.rs:178
↓ 11 callers
Method
finish
* Completes the validation and export of the previously exported frames. * * Per-frame validation errors are reported via `exportFrames`, so cal
node/ts/MessageBackup.ts:358
↓ 11 callers
Method
forExpiration
( expiration: Date, params: ServerSecretParams )
node/ts/zkgroup/DonationPermit.ts:53
↓ 11 callers
Method
fromSalt
* Hash a pin using an explicit salt. * * @param normalizedPin A normalized, UTF-8 encoded byte representation of the pin * @param salt A 32 b
node/ts/AccountKeys.ts:192
↓ 11 callers
Method
generate
()
java/shared/java/org/signal/libsignal/zkgroup/ServerSecretParams.java:18
↓ 11 callers
Method
getKeyPair
()
java/shared/java/org/signal/libsignal/protocol/state/KyberPreKeyRecord.java:48
↓ 11 callers
Method
getPublicParams
()
java/shared/java/org/signal/libsignal/zkgroup/ServerSecretParams.java:37
↓ 11 callers
Method
getSenderCertificate
()
java/client/src/main/java/org/signal/libsignal/metadata/protocol/UnidentifiedSenderMessageContent.java:75
↓ 11 callers
Method
guardedRunChecked
(final FilterExceptions.ThrowingLongConsumer consumer)
java/shared/java/org/signal/libsignal/internal/NativeHandleGuard.java:53
↓ 11 callers
Method
init
()
node/ts/test/ChatTest.ts:52
↓ 11 callers
Function
level
Returns the level of a node in the tree. Leaves are level 0, their parents are level 1, and so on.
rust/keytrans/src/left_balanced.rs:44
↓ 11 callers
Method
load_existing_sessions
Bulk version of [`SessionStore::load_session`]. Useful for [crate::sealed_sender_multi_recipient_encrypt]. [`SessionStore::load_session`]: crate::Se
rust/protocol/src/storage/inmem.rs:287
↓ 11 callers
Method
pre_key_id
(&self)
rust/protocol/src/protocol.rs:403
↓ 11 callers
Method
receive
( self, response: BackupAuthCredentialResponse, params: &GenericServerPublicParams,
rust/zkgroup/src/api/backups/auth_credential.rs:197
↓ 11 callers
Method
received_message_parts_for_recipient
( &self, recipient: &SealedSenderV2SentMessageRecipient<'a>, )
rust/protocol/src/sealed_sender.rs:1771
↓ 11 callers
Method
record_outcome
( &mut self, route: R, started: Instant, connect_duration: Dur
rust/net/infra/src/route/schedule.rs:1088
↓ 11 callers
Method
save_kyber_pre_key
( &mut self, kyber_prekey_id: KyberPreKeyId, record: &KyberPreKeyRecord, )
rust/protocol/src/storage/inmem.rs:237
↓ 11 callers
Method
save_signed_pre_key
( &mut self, id: SignedPreKeyId, record: &SignedPreKeyRecord, )
rust/protocol/src/storage/inmem.rs:185
↓ 11 callers
Method
service_id_string
The standard string representation for a Signal service ID.
rust/core/src/address.rs:106
↓ 11 callers
Method
setProxy
( hostOrOptions: string | Readonly<ProxyOptions>, portOrNothing?: number )
node/ts/net.ts:376
↓ 11 callers
Method
sign
Create Evidence/Endorsements that have the appropriate report signatures, and QE report data Note that this will overwrite any manually set. If you'd
rust/attest/src/dcap/fakes.rs:174
↓ 11 callers
Method
signed_pre_key_id
(&self)
rust/protocol/src/protocol.rs:408
↓ 11 callers
Method
sort
Sorts the certificates from leaf->root, failing if the chain has any missing or extra links
rust/attest/src/cert_chain.rs:109
↓ 11 callers
Method
storeSession
Commit to storage the {@link SessionRecord} for a given recipientId + deviceId tuple. @param address the address of the remote client. @param record
java/shared/java/org/signal/libsignal/protocol/state/SessionStore.java:60
↓ 11 callers
Function
timed
Utility function to track how long a future takes to execute.
rust/net/infra/src/utils.rs:107
↓ 11 callers
Method
verify
Verifies the given `proof` over the accrued attributes using the given `public_key`. On successful verification, returns the [`Credential`] that was
rust/zkcredential/src/issuance.rs:265
↓ 10 callers
Method
as_header
(&self)
rust/net/chat/src/ws.rs:43
↓ 10 callers
Method
assertClassNotFound
Assert that the class doesn't exist.
java/client/src/test/java/org/signal/libsignal/net/NetworkExceptionLoadingTest.java:54
↓ 10 callers
Method
assertLookupErrorIs
( String errorDescription, Class<E> expectedErrorType, String expectedMessage)
java/client/src/test/java/org/signal/libsignal/net/CdsiLookupResponseTest.java:88
↓ 10 callers
Function
assertThrowsLibSignalError
( expression: () => void, code: ErrorCode, message?: string )
node/ts/test/UsernamesTest.ts:14
↓ 10 callers
Method
base_key
(&self)
rust/protocol/src/protocol.rs:423
↓ 10 callers
Method
connect_chat
(&self)
rust/net/tests/fake_transport/mod.rs:204
← previous
next →
301–400 of 8,820, ranked by callers