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
↓ 6 callers
Function
new_handshake
( mrenclave: &[u8], attestation_msg: &[u8], current_time: std::time::SystemTime, )
rust/attest/src/cds2.rs:15
↓ 6 callers
Method
next_chain_key
(&self)
rust/protocol/src/ratchet/keys.rs:165
↓ 6 callers
Method
parameters
Allows KeyType to act like `&dyn Parameters` while still being represented by a single byte. Declared `const` to encourage inlining.
rust/protocol/src/kem.rs:226
↓ 6 callers
Method
parse
(input: &'a [u8])
rust/bridge/shared/types/src/support/sequences.rs:27
↓ 6 callers
Method
parse_and_add_frame
( &mut self, raw_frame: &[u8], mut visitor: impl FnMut(&proto::backup::Frame) + Send,
rust/message-backup/src/lib.rs:358
↓ 6 callers
Method
preKeyPublic
()
node/ts/ProtocolTypes.ts:148
↓ 6 callers
Method
present
( &self, server_params: &GenericServerPublicParams, randomness: RandomnessBytes, )
rust/zkgroup/src/api/avatars/avatar_upload_credential.rs:509
↓ 6 callers
Function
proof_steps
(mappings: impl IntoIterator<Item = (u64, u32)>)
rust/keytrans/src/verify.rs:1132
↓ 6 callers
Method
read
(&'a self, buf: &mut [u8])
rust/bridge/shared/types/src/node/io.rs:25
↓ 6 callers
Method
read
(ByteBuffer dst)
java/client/src/test/java/org/signal/libsignal/protocol/incrementalmac/IncrementalStreamsTest.java:97
↓ 6 callers
Method
read
Read a single byte from input. <p>Tries to read at least one byte. In practice, it means the whole chunk will have to be read before even a single by
java/shared/java/org/signal/libsignal/protocol/incrementalmac/IncrementalMacInputStream.java:76
↓ 6 callers
Method
receiveAuthCredentialWithPniAsServiceId
Produces the AuthCredentialWithPni from a server-generated AuthCredentialWithPniResponse. @param redemptionTime This is provided by the server as an
java/shared/java/org/signal/libsignal/zkgroup/auth/ClientZkAuthOperations.java:34
↓ 6 callers
Method
receiveWithCiphertexts
* Receives, validates, and extracts the endorsements from a response. * * Note that the `receive` operation is provided for both {@link ServiceI
node/ts/zkgroup/groupsend/GroupSendEndorsementsResponse.ts:144
↓ 6 callers
Method
receiveWithServiceIds
* Receives, validates, and extracts the endorsements from a response. * * Note that the `receive` operation is provided for both {@link ServiceI
node/ts/zkgroup/groupsend/GroupSendEndorsementsResponse.ts:102
↓ 6 callers
Method
receive_expiring_profile_key_credential
( &self, context: &api::profiles::ProfileKeyCredentialRequestContext, response: &api::
rust/zkgroup/src/api/server_params.rs:407
↓ 6 callers
Method
reset
Clear the mapping of known keys.
rust/protocol/src/storage/inmem.rs:45
↓ 6 callers
Method
resetField
* Resets a particular field in the data associated with given ACI. * * Must only be called for the "self" account when either E.164 or username
java/client/src/main/java/org/signal/libsignal/net/KeyTransparency.kt:65
↓ 6 callers
Function
resolve_route
Resolves all unresolved hostnames in the given route. Asynchronously resolves all routes and produces the resolved routes. Since DNS resolution for a
rust/net/infra/src/route/resolve.rs:88
↓ 6 callers
Method
route_provider
( &self, enable_domain_fronting: EnableDomainFronting, override_nagle_algorithm: Overr
rust/net/src/env.rs:568
↓ 6 callers
Function
run_attested_server
Runs a fake SGX server that sets up a session and then responds to requests. Produces a future that, when polled, runs the server side of an attested
rust/net/infra/src/ws/attested.rs:541
↓ 6 callers
Method
saveKyberPreKey
( id: number, record: SignalClient.KyberPreKeyRecord )
node/ts/test/protocol/TestStores.ts:141
↓ 6 callers
Method
savePreKey
( id: number, record: SignalClient.PreKeyRecord )
node/ts/test/protocol/TestStores.ts:102
↓ 6 callers
Method
saveSignedPreKey
( id: number, record: SignalClient.SignedPreKeyRecord )
node/ts/test/protocol/TestStores.ts:122
↓ 6 callers
Method
search
( &self, aci: &Aci, aci_identity_key: &PublicKey, e164: Option<&(E164, Vec<u8>
rust/net/chat/src/ws/keytrans.rs:300
↓ 6 callers
Method
send
( &self, log_tag: &'static str, log_safe_path: &str, request: ChatRequest,
rust/net/chat/src/registration/service.rs:51
↓ 6 callers
Method
send
(&self, msg: Request, timeout: Duration)
rust/net/src/chat.rs:425
↓ 6 callers
Method
send_message
( &self, destination: ServiceId, timestamp: Timestamp, contents: Vec<SingleOut
rust/net/chat/src/grpc/messages.rs:130
↓ 6 callers
Method
send_message
( &self, destination: ServiceId, timestamp: libsignal_protocol::Timestamp, con
rust/net/chat/src/ws/messages.rs:124
↓ 6 callers
Method
senderUuid
()
node/ts/index.ts:649
↓ 6 callers
Method
serialize
()
java/shared/java/org/signal/libsignal/protocol/message/SenderKeyDistributionMessage.java:44
↓ 6 callers
Method
setAccountData
(ServiceId.Aci aci, byte[] data)
java/client/src/main/java/org/signal/libsignal/keytrans/Store.java:33
↓ 6 callers
Function
setup_stores
Build a matched (alice, bob) session pair from a seeded RNG.
rust/protocol/src/session_management.rs:770
↓ 6 callers
Method
signedPreKeyPublic
()
node/ts/ProtocolTypes.ts:163
↓ 6 callers
Method
signedPreKeySignature
()
node/ts/ProtocolTypes.ts:168
↓ 6 callers
Method
squeeze_as_array
(&mut self)
rust/zkgroup/src/common/sho.rs:40
↓ 6 callers
Function
submit_request
Sends a request for an established session. On success, the state of the session as reported by the server is saved (and accessible via [`session_sta
rust/net/chat/src/ws/registration.rs:259
↓ 6 callers
Method
toConcatenatedFixedWidthBinary
(Collection<ServiceId> serviceIds)
java/shared/java/org/signal/libsignal/protocol/ServiceId.java:161
↓ 6 callers
Method
to_inner
Produces the referenced JavaScript object without consuming `self`. If the wrapped value was converted to a string, a JavaScript string will be produ
rust/bridge/node/futures/src/exception.rs:61
↓ 6 callers
Method
to_token
Generates a token from this endorsement, for sending to the verifying server.
rust/zkcredential/src/endorsements.rs:604
↓ 6 callers
Function
trust_store
(root: &X509Ref, crl: Option<&X509CRLRef>)
rust/attest/src/cert_chain.rs:380
↓ 6 callers
Method
try_into_with
(self, context: &C)
rust/message-backup/src/backup/chat/pinned.rs:61
↓ 6 callers
Method
unsafeNativeHandleWithoutGuard
()
java/shared/java/org/signal/libsignal/internal/NativeHandleGuard.java:28
↓ 6 callers
Method
value
(_value: T)
rust/message-backup/src/backup/method.rs:66
↓ 6 callers
Method
verifyLocalHash
Verify an encoded password hash against a pin @param encodedHash An encoded string of the hash, as returned by {@link Pin#localHash} @param pin A nor
java/client/src/main/java/org/signal/libsignal/svr2/Pin.java:47
↓ 6 callers
Method
wrap
(value: T)
rust/bridge/node/futures/src/executor.rs:50
↓ 5 callers
Method
TESTING_ChatRequestGetHeaderValue
java/shared/java/org/signal/libsignal/internal/NativeTesting.kt:87
↓ 5 callers
Function
TESTING_ConnectionManager_isUsingProxy
(manager: &ConnectionManager)
rust/bridge/shared/testing/src/net.rs:178
↓ 5 callers
Method
TESTING_FutureIncrementOnCancel
java/shared/java/org/signal/libsignal/internal/NativeTesting.kt:167
↓ 5 callers
Method
TESTING_NonSuspendingBackgroundThreadRuntime_New
java/shared/java/org/signal/libsignal/internal/NativeTesting.kt:213
↓ 5 callers
Function
_bridgeInputStream
( inputStream: InputStream )
node/ts/io.ts:46
↓ 5 callers
Method
alice_base_key
(&self)
rust/protocol/src/state/session.rs:173
↓ 5 callers
Method
alice_sends
(&mut self, plaintext: &[u8])
rust/protocol/src/session_management.rs:1886
↓ 5 callers
Method
as_obj
Gets the wrapped exception as a live object with a lifetime.
rust/bridge/shared/types/src/jni/error.rs:230
↓ 5 callers
Method
as_ref
(&self)
rust/message-backup/src/backup.rs:898
↓ 5 callers
Method
assertIsRetryAfterError
(ThrowingConsumer<String> throwError)
java/client/src/test/java/org/signal/libsignal/net/RegistrationServiceTest.java:244
↓ 5 callers
Method
assert_records_chain_key
Asserts that for the supplied `record_key` the chain key is as expected when looked up by both `chain_id` and `public_key` and `chain_id`.
rust/protocol/src/sender_keys.rs:408
↓ 5 callers
Function
assert_valid
( MessageAndLen { varint, message }: &MessageAndLen<M, L>, )
rust/message-backup/src/parse.rs:167
↓ 5 callers
Function
bridgeSessionStore
(store: SessionStore)
node/ts/index.ts:1170
↓ 5 callers
Function
bufferFromHexStrings
(...input: string[])
node/ts/test/SealedSenderServerAPI.ts:18
↓ 5 callers
Method
calculateAgreement
java/shared/java/org/signal/libsignal/protocol/ecc/ECPrivateKey.kt:32
↓ 5 callers
Method
cancel
(&self, cancellation_token: CancellationId)
rust/bridge/shared/types/src/net/tokio.rs:93
↓ 5 callers
Method
checkConstructor
* Checks that the constructor for the given class that takes the given * arguments is annotated to avoid being stripped. * * @thr
java/shared/java/org/signal/libsignal/internal/CalledFromNative.kt:34
↓ 5 callers
Method
close
(frame: Option<CloseFrame>)
rust/net/infra/src/ws/attested.rs:515
↓ 5 callers
Method
code
(&self)
rust/bridge/shared/types/src/ffi/error.rs:225
↓ 5 callers
Function
collect_permutation
( iter: impl ExactSizeIterator<Item = (T, usize)>, )
rust/zkgroup/src/common/array_utils.rs:61
↓ 5 callers
Function
collect_responses
( results: impl IntoIterator<Item = (NextOrClose<Vec<u8>>, &'a ConnectionLabel)>, )
rust/net/src/svrb/ppss_ops.rs:193
↓ 5 callers
Method
collect_unknown_fields
(&self)
rust/message-backup/src/unknown.rs:173
↓ 5 callers
Method
compare
(other: ScannableFingerprint)
node/ts/index.ts:84
↓ 5 callers
Function
connectChatUnauthenticated
(net: Net)
node/ts/test/NetTest.ts:341
↓ 5 callers
Method
create_chain
( self, their_ratchet_key: &PublicKey, our_ratchet_key: &PrivateKey, )
rust/protocol/src/ratchet/keys.rs:199
↓ 5 callers
Method
create_receipt_credential_request_context
( &self, randomness: RandomnessBytes, receipt_serial_bytes: ReceiptSerialBytes, )
rust/zkgroup/src/api/server_params.rs:488
↓ 5 callers
Function
create_request_with_id
Creates a DNS request for the given request id, domain name, and resource type. In this simple case, we only have one question and it's always recurs
rust/net/infra/src/dns/dns_message.rs:75
↓ 5 callers
Method
current
(&self)
rust/net/src/env.rs:797
↓ 5 callers
Method
data
(&self)
rust/attest/src/dcap/sgx_quote.rs:75
↓ 5 callers
Method
decode
( &mut self, src: &mut tonic::codec::DecodeBuf<'_>, )
rust/net/chat/src/grpc.rs:127
↓ 5 callers
Method
decrypt
(&mut self, buf: &mut [u8])
rust/crypto/src/aes_gcm.rs:171
↓ 5 callers
Method
decrypt
(UuidCiphertext uuidCiphertext)
java/shared/java/org/signal/libsignal/zkgroup/groups/ClientZkGroupCipher.java:38
↓ 5 callers
Function
decryptUsernameLink
(usernameLink: UsernameLink)
node/ts/usernames.ts:62
↓ 5 callers
Method
decrypt_service_id
( &self, ciphertext: api::groups::UuidCiphertext, )
rust/zkgroup/src/api/groups/group_params.rs:124
↓ 5 callers
Method
deref
(&self)
rust/bridge/shared/types/src/ffi/error.rs:265
↓ 5 callers
Method
disconnect
()
node/ts/net/Chat.ts:492
↓ 5 callers
Method
done
()
node/ts/test/util.ts:60
↓ 5 callers
Method
drop
Consumes `self`, allowing the wrapped value to be garbage collected.
rust/bridge/node/futures/src/exception.rs:69
↓ 5 callers
Method
enclave_websocket_provider
( &self, enable_domain_fronting: EnableDomainFronting, )
rust/net/src/enclave.rs:268
↓ 5 callers
Method
encrypt
(&mut self, buf: &mut [u8])
rust/crypto/src/aes_gcm.rs:147
↓ 5 callers
Method
encrypt
Encrypts the given plaintext using the given nonce, and authenticating the ciphertext and given associated data. <p>The associated data is not includ
java/client/src/main/java/org/signal/libsignal/crypto/Aes256GcmSiv.java:42
↓ 5 callers
Function
expect_connection_closed
( expected_elapsed: Duration, mut listener_rx: mpsc::UnboundedReceiver<ListenerEvent>,
rust/net/src/chat/ws.rs:2667
↓ 5 callers
Function
extract_retry_later
Extracts and parses the `Retry-After` header. Does not support the "http-date" form of the header.
rust/net/infra/src/lib.rs:302
↓ 5 callers
Function
extract_single_ssv2_received_message
(input: &[u8])
rust/protocol/tests/support/mod.rs:194
↓ 5 callers
Function
filterAllExceptions
java/shared/java/org/signal/libsignal/internal/FilterExceptionsKt.kt:5
↓ 5 callers
Method
finalize
(self)
rust/message-backup/src/frame/mac_read.rs:24
↓ 5 callers
Method
finalize
(&mut self)
rust/bridge/shared/types/src/message_backup.rs:171
↓ 5 callers
Method
finish
(&mut self)
rust/bridge/shared/types/src/message_backup.rs:139
↓ 5 callers
Method
finish
()
java/client/src/main/java/org/signal/libsignal/crypto/CryptographicMac.java:33
↓ 5 callers
Method
flat_map_other
Substitutes one `Other` error type for another. This is a *flat* map because the transformation is allowed to return a different `RequestError` case
rust/net/chat/src/api.rs:110
↓ 5 callers
Method
flush
()
java/shared/java/org/signal/libsignal/protocol/incrementalmac/IncrementalMacOutputStream.java:61
↓ 5 callers
Function
frame
(item: impl Into<proto::frame::Item>)
rust/message-backup/benches/generation/mod.rs:85
↓ 5 callers
Method
fromLink
(final UsernameLink usernameLink)
java/shared/java/org/signal/libsignal/usernames/Username.java:105
↓ 5 callers
Method
generate
java/shared/java/org/signal/libsignal/protocol/kem/KEMKeyPair.kt:17
↓ 5 callers
Function
generate_credential
(redemption_time: Timestamp)
rust/zkgroup/src/api/avatars/avatar_upload_credential.rs:618
← previous
next →
701–800 of 8,820, ranked by callers