MCPcopy Create free account

hub / github.com/signalapp/libsignal / functions

Functions8,820 in github.com/signalapp/libsignal

↓ 14 callersMethodindex
(&self)
rust/protocol/src/ratchet/keys.rs:161
↓ 14 callersMethodinsert
(&mut self, key: CustomColorId, value: M::CustomColorData)
rust/message-backup/src/backup/chat/chat_style.rs:106
↓ 14 callersMethodmap
java/client/src/main/java/org/signal/libsignal/net/RequestResult.kt:96
↓ 14 callersFunctionparse
(input: &str)
rust/net/chat/src/api/registration/session_id.rs:88
↓ 14 callersMethodpresent
( &self, rng: &mut dyn rand::CryptoRng, )
rust/net/chat/src/api/backups.rs:39
↓ 14 callersFunctionrandom_public_key
()
rust/protocol/src/sender_keys.rs:375
↓ 14 callersMethodroot
(&self)
rust/attest/src/cert_chain.rs:58
↓ 14 callersFunctionrun_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 callersMethodsanitize
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 callersFunctionserver_secret_params
()
rust/zkgroup/src/api/backups/auth_credential.rs:328
↓ 14 callersMethodvalidate
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 callersMethodverify
( &self, current_time: Timestamp, server_params: &GenericServerSecretParams, )
rust/zkgroup/src/api/backups/auth_credential.rs:282
↓ 14 callersMethodverify_proof
( &self, proof_bytes: &[u8], point_args: &PointArgs, message: &[u8], )
rust/poksho/src/statement.rs:246
↓ 13 callersMethodas_bytes
(&self)
rust/net/chat/src/api/keytrans/verify_ext.rs:234
↓ 13 callersMethodas_deref
(&self)
rust/net/chat/src/api/registration.rs:360
↓ 13 callersMethodas_mut
(&mut self)
rust/zkgroup/src/common/sho.rs:60
↓ 13 callersFunctionchain
Creates a certificate chain of the specified length
rust/attest/src/cert_chain.rs:297
↓ 13 callersMethodconvert_into
(self, env: &mut jni::Env<'a>)
rust/bridge/shared/types/src/jni/convert.rs:1353
↓ 13 callersMethoddecrypt
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 callersFunctionfourcc
(fourccStr: string)
node/ts/test/MediaSanitizerTest.ts:183
↓ 13 callersMethodfullIncrementalDigest
(OutputStream innerOut, String[] input)
java/client/src/test/java/org/signal/libsignal/protocol/incrementalmac/IncrementalStreamsTest.java:308
↓ 13 callersMethodgetDisplayText
()
java/shared/java/org/signal/libsignal/protocol/fingerprint/DisplayableFingerprint.java:15
↓ 13 callersMethodgetDisplayableFingerprint
@return A text fingerprint that can be displayed and compared remotely.
java/shared/java/org/signal/libsignal/protocol/fingerprint/Fingerprint.java:22
↓ 13 callersMethodgetIdentityKey
()
node/ts/test/protocol/TestStores.ts:58
↓ 13 callersMethodgetLocalRegistrationId
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 callersMethodhasSenderChain
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 callersMethodheaders
(&'s self)
rust/net/chat/src/ws/registration/request.rs:170
↓ 13 callersMethodlookUpUsernameLink
* 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 callersMethodmakeIncrementalInputStream
( ReadableByteChannel channel, byte[] digest)
java/client/src/test/java/org/signal/libsignal/protocol/incrementalmac/IncrementalStreamsTest.java:342
↓ 13 callersMethodreportUnexpectedException
(Exception e)
java/shared/java/org/signal/libsignal/internal/FilterExceptions.java:68
↓ 13 callersFunctiontry_scoped
(f: impl FnOnce() -> Result<T, E>)
rust/core/src/lib.rs:30
↓ 12 callersMethodabsorb
(&mut self, input: &[u8])
rust/poksho/src/shosha256.rs:42
↓ 12 callersMethodadd_frame_item
(&mut self, item: FrameItem)
rust/message-backup/src/backup.rs:680
↓ 12 callersMethodapply_outcome_updates
Update the internal state with the results of completed connection attempts.
rust/net/infra/src/route/schedule.rs:355
↓ 12 callersFunctionassertArrayNotEquals
( expected: Uint8Array<ArrayBuffer>, actual: Uint8Array<ArrayBuffer> )
node/ts/test/util.ts:82
↓ 12 callersMethodassertSessionIdNotEquals
( SignalProtocolStore aliceStore, SignalProtocolStore bobStore)
java/client/src/test/java/org/signal/libsignal/protocol/SimultaneousInitiateTests.java:523
↓ 12 callersMethodderive_backup_id
Derives a backup ID consistently with how this backup key was created.
rust/account-keys/src/backup.rs:120
↓ 12 callersMethodexportFrames
* 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 callersFunctionfake_websocket
()
rust/net/infra/src/ws.rs:558
↓ 12 callersMethodget
(&self, key: u64)
rust/keytrans/src/verify.rs:975
↓ 12 callersMethodhandle_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 callersMethodissue
( &self, redemption_time: Timestamp, backup_level: BackupLevel, credential_typ
rust/zkgroup/src/api/backups/auth_credential.rs:161
↓ 12 callersFunctionlibsignal_bridge_types
()
rust/bridge/shared/macros/src/util.rs:19
↓ 12 callersMethodlog
(int priority, String tag, String msg)
java/shared/java/org/signal/libsignal/protocol/logging/Log.java:83
↓ 12 callersFunctionmake_array
(cx: &mut Cx<'a>, it: It)
rust/bridge/shared/types/src/node/convert.rs:1584
↓ 12 callersMethodmessage
(&self)
rust/protocol/src/protocol.rs:433
↓ 12 callersMethodmessage_version
(&self)
rust/protocol/src/protocol.rs:131
↓ 12 callersFunctionnative_handle_cast
(handle: *const T)
rust/bridge/shared/types/src/ffi/mod.rs:472
↓ 12 callersFunctionnew_chat_with_config
( config: FakeConfig, get_current_interface: impl GetCurrentInterface<Representation =
rust/net/src/chat/ws.rs:1611
↓ 12 callersMethodnext_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 callersFunctionnice_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 callersFunctionpromise
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 callersMethodpublic_key
(&self)
rust/protocol/src/sealed_sender.rs:174
↓ 12 callersMethodsender
(&self)
rust/protocol/src/sealed_sender.rs:595
↓ 12 callersFunctionsettle_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 callersMethodstart
* 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 callersMethodupload_secret_to_svr
( &self, failures: &[usize], )
rust/net/src/svrb.rs:1196
↓ 12 callersMethodverifyAuthCredentialPresentation
( GroupPublicParams groupPublicParams, AuthCredentialPresentation authCredentialPresentation)
java/shared/java/org/signal/libsignal/zkgroup/auth/ServerZkAuthOperations.java:57
↓ 11 callersMethodadd_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 callersFunctionaddress
(id: &str)
rust/protocol/cross-version-testing/src/current.rs:12
↓ 11 callersMethodany
(&self)
rust/bridge/shared/macros/src/lib.rs:354
↓ 11 callersMethodas_ref
(&self)
rust/net/src/svr2/types.rs:85
↓ 11 callersMethodcall
()
java/backup-tool/src/main/java/BackupTool.java:33
↓ 11 callersMethodclear
(&mut self)
rust/net/chat/src/grpc.rs:1042
↓ 11 callersMethodcompute_delay
(&self, route: &R, now: Instant)
rust/net/infra/src/route/schedule.rs:483
↓ 11 callersMethodcreate
* 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 callersMethodcreateCertificateFor
( ECKeyPair trustRoot, UUID uuid, String e164, int deviceId, ECPublicKey identit
java/client/src/test/java/org/signal/libsignal/metadata/SealedSessionCipherTest.java:952
↓ 11 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/protocol/src/kem.rs:408
↓ 11 callersMethodencrypt
( &mut self, remote: &str, _local: &str, msg: &[u8], )
rust/protocol/cross-version-testing/src/v73.rs:178
↓ 11 callersMethodfinish
* 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 callersMethodforExpiration
( expiration: Date, params: ServerSecretParams )
node/ts/zkgroup/DonationPermit.ts:53
↓ 11 callersMethodfromSalt
* 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 callersMethodgenerate
()
java/shared/java/org/signal/libsignal/zkgroup/ServerSecretParams.java:18
↓ 11 callersMethodgetKeyPair
()
java/shared/java/org/signal/libsignal/protocol/state/KyberPreKeyRecord.java:48
↓ 11 callersMethodgetPublicParams
()
java/shared/java/org/signal/libsignal/zkgroup/ServerSecretParams.java:37
↓ 11 callersMethodgetSenderCertificate
()
java/client/src/main/java/org/signal/libsignal/metadata/protocol/UnidentifiedSenderMessageContent.java:75
↓ 11 callersMethodguardedRunChecked
(final FilterExceptions.ThrowingLongConsumer consumer)
java/shared/java/org/signal/libsignal/internal/NativeHandleGuard.java:53
↓ 11 callersMethodinit
()
node/ts/test/ChatTest.ts:52
↓ 11 callersFunctionlevel
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 callersMethodload_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 callersMethodpre_key_id
(&self)
rust/protocol/src/protocol.rs:403
↓ 11 callersMethodreceive
( self, response: BackupAuthCredentialResponse, params: &GenericServerPublicParams,
rust/zkgroup/src/api/backups/auth_credential.rs:197
↓ 11 callersMethodreceived_message_parts_for_recipient
( &self, recipient: &SealedSenderV2SentMessageRecipient<'a>, )
rust/protocol/src/sealed_sender.rs:1771
↓ 11 callersMethodrecord_outcome
( &mut self, route: R, started: Instant, connect_duration: Dur
rust/net/infra/src/route/schedule.rs:1088
↓ 11 callersMethodsave_kyber_pre_key
( &mut self, kyber_prekey_id: KyberPreKeyId, record: &KyberPreKeyRecord, )
rust/protocol/src/storage/inmem.rs:237
↓ 11 callersMethodsave_signed_pre_key
( &mut self, id: SignedPreKeyId, record: &SignedPreKeyRecord, )
rust/protocol/src/storage/inmem.rs:185
↓ 11 callersMethodservice_id_string
The standard string representation for a Signal service ID.
rust/core/src/address.rs:106
↓ 11 callersMethodsetProxy
( hostOrOptions: string | Readonly<ProxyOptions>, portOrNothing?: number )
node/ts/net.ts:376
↓ 11 callersMethodsign
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 callersMethodsigned_pre_key_id
(&self)
rust/protocol/src/protocol.rs:408
↓ 11 callersMethodsort
Sorts the certificates from leaf->root, failing if the chain has any missing or extra links
rust/attest/src/cert_chain.rs:109
↓ 11 callersMethodstoreSession
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 callersFunctiontimed
Utility function to track how long a future takes to execute.
rust/net/infra/src/utils.rs:107
↓ 11 callersMethodverify
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 callersMethodas_header
(&self)
rust/net/chat/src/ws.rs:43
↓ 10 callersMethodassertClassNotFound
Assert that the class doesn't exist.
java/client/src/test/java/org/signal/libsignal/net/NetworkExceptionLoadingTest.java:54
↓ 10 callersMethodassertLookupErrorIs
( String errorDescription, Class<E> expectedErrorType, String expectedMessage)
java/client/src/test/java/org/signal/libsignal/net/CdsiLookupResponseTest.java:88
↓ 10 callersFunctionassertThrowsLibSignalError
( expression: () => void, code: ErrorCode, message?: string )
node/ts/test/UsernamesTest.ts:14
↓ 10 callersMethodbase_key
(&self)
rust/protocol/src/protocol.rs:423
↓ 10 callersMethodconnect_chat
(&self)
rust/net/tests/fake_transport/mod.rs:204
← previousnext →301–400 of 8,820, ranked by callers