Package org.signal.libsignal.internal
Class Native
-
- All Implemented Interfaces:
public final class Native
-
-
Method Summary
Modifier and Type Method Description static voidkeepAlive(Object obj)Keeps an object from being garbage-collected until this call completes. static Array<byte>AccountEntropyPool_DeriveBackupKey(String accountEntropy)static Array<byte>AccountEntropyPool_DeriveSvrKey(String accountEntropy)static StringAccountEntropyPool_Generate()static booleanAccountEntropyPool_IsValid(String accountEntropy)static voidAes256Ctr32_Destroy(long handle)static longAes256Ctr32_New(Array<byte> key, Array<byte> nonce, int initialCtr)static voidAes256Ctr32_Process(long ctr, Array<byte> data, int offset, int length)static voidAes256GcmDecryption_Destroy(long handle)static longAes256GcmDecryption_New(Array<byte> key, Array<byte> nonce, Array<byte> associatedData)static voidAes256GcmDecryption_Update(long gcm, Array<byte> data, int offset, int length)static booleanAes256GcmDecryption_VerifyTag(long gcm, Array<byte> tag)static Array<byte>Aes256GcmEncryption_ComputeTag(long gcm)static voidAes256GcmEncryption_Destroy(long handle)static longAes256GcmEncryption_New(Array<byte> key, Array<byte> nonce, Array<byte> associatedData)static voidAes256GcmEncryption_Update(long gcm, Array<byte> data, int offset, int length)static Array<byte>Aes256GcmSiv_Decrypt(long aesGcmSiv, Array<byte> ctext, Array<byte> nonce, Array<byte> associatedData)static voidAes256GcmSiv_Destroy(long handle)static Array<byte>Aes256GcmSiv_Encrypt(long aesGcmSivObj, Array<byte> ptext, Array<byte> nonce, Array<byte> associatedData)static longAes256GcmSiv_New(Array<byte> key)static ObjectAsyncLoadClass(Object tokioContext, String className)static voidAuthCredentialPresentation_CheckValidContents(Array<byte> presentationBytes)static Array<byte>AuthCredentialPresentation_GetPniCiphertext(Array<byte> presentationBytes)static longAuthCredentialPresentation_GetRedemptionTime(Array<byte> presentationBytes)static Array<byte>AuthCredentialPresentation_GetUuidCiphertext(Array<byte> presentationBytes)static voidAuthCredentialWithPniResponse_CheckValidContents(Array<byte> bytes)static voidAuthCredentialWithPni_CheckValidContents(Array<byte> bytes)static voidAuthenticatedChatConnection_Destroy(long handle)static CompletableFuture<Long>AuthenticatedChatConnection_connect(long asyncRuntime, long connectionManager, String username, String password, boolean receiveStories, Array<Object> languages)static CompletableFutureAuthenticatedChatConnection_disconnect(long asyncRuntime, long chat)static voidAuthenticatedChatConnection_init_listener(long chat, BridgeChatListener listener)static CompletableFuture<Void>AuthenticatedChatConnection_preconnect(long asyncRuntime, long connectionManager)static CompletableFuture<Object>AuthenticatedChatConnection_send(long asyncRuntime, long chat, long httpRequest, int timeoutMillis)static voidBackupAuthCredentialPresentation_CheckValidContents(Array<byte> presentationBytes)static Array<byte>BackupAuthCredentialPresentation_GetBackupId(Array<byte> presentationBytes)static intBackupAuthCredentialPresentation_GetBackupLevel(Array<byte> presentationBytes)static intBackupAuthCredentialPresentation_GetType(Array<byte> presentationBytes)static voidBackupAuthCredentialPresentation_Verify(Array<byte> presentationBytes, long now, Array<byte> serverParamsBytes)static voidBackupAuthCredentialRequestContext_CheckValidContents(Array<byte> contextBytes)static Array<byte>BackupAuthCredentialRequestContext_GetRequest(Array<byte> contextBytes)static Array<byte>BackupAuthCredentialRequestContext_New(Array<byte> backupKey, UUID uuid)static Array<byte>BackupAuthCredentialRequestContext_ReceiveResponse(Array<byte> contextBytes, Array<byte> responseBytes, long expectedRedemptionTime, Array<byte> paramsBytes)static voidBackupAuthCredentialRequest_CheckValidContents(Array<byte> requestBytes)static Array<byte>BackupAuthCredentialRequest_IssueDeterministic(Array<byte> requestBytes, long redemptionTime, int backupLevel, int credentialType, Array<byte> paramsBytes, Array<byte> randomness)static voidBackupAuthCredentialResponse_CheckValidContents(Array<byte> responseBytes)static voidBackupAuthCredential_CheckValidContents(Array<byte> paramsBytes)static Array<byte>BackupAuthCredential_GetBackupId(Array<byte> credentialBytes)static intBackupAuthCredential_GetBackupLevel(Array<byte> credentialBytes)static intBackupAuthCredential_GetType(Array<byte> credentialBytes)static Array<byte>BackupAuthCredential_PresentDeterministic(Array<byte> credentialBytes, Array<byte> serverParamsBytes, Array<byte> randomness)static Array<byte>BackupKey_DeriveBackupId(Array<byte> backupKey, Array<byte> aci)static longBackupKey_DeriveEcKey(Array<byte> backupKey, Array<byte> aci)static Array<byte>BackupKey_DeriveLocalBackupMetadataKey(Array<byte> backupKey)static Array<byte>BackupKey_DeriveMediaEncryptionKey(Array<byte> backupKey, Array<byte> mediaId)static Array<byte>BackupKey_DeriveMediaId(Array<byte> backupKey, String mediaName)static Array<byte>BackupKey_DeriveThumbnailTransitEncryptionKey(Array<byte> backupKey, Array<byte> mediaId)static voidBackupRestoreResponse_Destroy(long handle)static Array<byte>BackupRestoreResponse_GetForwardSecrecyToken(long response)static Array<byte>BackupRestoreResponse_GetNextBackupSecretData(long response)static voidBackupStoreResponse_Destroy(long handle)static Array<byte>BackupStoreResponse_GetForwardSecrecyToken(long response)static Array<byte>BackupStoreResponse_GetNextBackupSecretData(long response)static Array<byte>BackupStoreResponse_GetOpaqueMetadata(long response)static voidBridgedStringMap_Destroy(long handle)static voidBridgedStringMap_insert(long map, String key, String value)static longBridgedStringMap_new(int initialCapacity)static voidCallLinkAuthCredentialPresentation_CheckValidContents(Array<byte> presentationBytes)static Array<byte>CallLinkAuthCredentialPresentation_GetUserId(Array<byte> presentationBytes)static voidCallLinkAuthCredentialPresentation_Verify(Array<byte> presentationBytes, long now, Array<byte> serverParamsBytes, Array<byte> callLinkParamsBytes)static voidCallLinkAuthCredentialResponse_CheckValidContents(Array<byte> responseBytes)static Array<byte>CallLinkAuthCredentialResponse_IssueDeterministic(Array<byte> userId, long redemptionTime, Array<byte> paramsBytes, Array<byte> randomness)static Array<byte>CallLinkAuthCredentialResponse_Receive(Array<byte> responseBytes, Array<byte> userId, long redemptionTime, Array<byte> paramsBytes)static voidCallLinkAuthCredential_CheckValidContents(Array<byte> credentialBytes)static Array<byte>CallLinkAuthCredential_PresentDeterministic(Array<byte> credentialBytes, Array<byte> userId, long redemptionTime, Array<byte> serverParamsBytes, Array<byte> callLinkParamsBytes, Array<byte> randomness)static voidCallLinkPublicParams_CheckValidContents(Array<byte> paramsBytes)static voidCallLinkSecretParams_CheckValidContents(Array<byte> paramsBytes)static Array<byte>CallLinkSecretParams_DecryptUserId(Array<byte> paramsBytes, Array<byte> userId)static Array<byte>CallLinkSecretParams_DeriveFromRootKey(Array<byte> rootKey)static Array<byte>CallLinkSecretParams_EncryptUserId(Array<byte> paramsBytes, Array<byte> userId)static Array<byte>CallLinkSecretParams_GetPublicParams(Array<byte> paramsBytes)static longCds2ClientState_New(Array<byte> mrenclave, Array<byte> attestationMsg, long currentTimestamp)static MapCds2Metrics_extract(Array<byte> attestationMsg)static voidCdsiLookup_Destroy(long handle)static CompletableFuture<Object>CdsiLookup_complete(long asyncRuntime, long lookup)static CompletableFuture<Long>CdsiLookup_new(long asyncRuntime, long connectionManager, String username, String password, long request)static Array<byte>CdsiLookup_token(long lookup)static voidConnectionManager_Destroy(long handle)static voidConnectionManager_clear_proxy(long connectionManager)static longConnectionManager_new(int environment, String userAgent, long remoteConfig)static voidConnectionManager_on_network_change(long connectionManager)static voidConnectionManager_set_censorship_circumvention_enabled(long connectionManager, boolean enabled)static voidConnectionManager_set_invalid_proxy(long connectionManager)static voidConnectionManager_set_proxy(long connectionManager, long proxy)static voidConnectionManager_set_remote_config(long connectionManager, long remoteConfig)static voidConnectionProxyConfig_Destroy(long handle)static longConnectionProxyConfig_new(String scheme, String host, int port, String username, String password)static voidCreateCallLinkCredentialPresentation_CheckValidContents(Array<byte> presentationBytes)static voidCreateCallLinkCredentialPresentation_Verify(Array<byte> presentationBytes, Array<byte> roomId, long now, Array<byte> serverParamsBytes, Array<byte> callLinkParamsBytes)static voidCreateCallLinkCredentialRequestContext_CheckValidContents(Array<byte> contextBytes)static Array<byte>CreateCallLinkCredentialRequestContext_GetRequest(Array<byte> contextBytes)static Array<byte>CreateCallLinkCredentialRequestContext_NewDeterministic(Array<byte> roomId, Array<byte> randomness)static Array<byte>CreateCallLinkCredentialRequestContext_ReceiveResponse(Array<byte> contextBytes, Array<byte> responseBytes, Array<byte> userId, Array<byte> paramsBytes)static voidCreateCallLinkCredentialRequest_CheckValidContents(Array<byte> requestBytes)static Array<byte>CreateCallLinkCredentialRequest_IssueDeterministic(Array<byte> requestBytes, Array<byte> userId, long timestamp, Array<byte> paramsBytes, Array<byte> randomness)static voidCreateCallLinkCredentialResponse_CheckValidContents(Array<byte> responseBytes)static voidCreateCallLinkCredential_CheckValidContents(Array<byte> paramsBytes)static Array<byte>CreateCallLinkCredential_PresentDeterministic(Array<byte> credentialBytes, Array<byte> roomId, Array<byte> userId, Array<byte> serverParamsBytes, Array<byte> callLinkParamsBytes, Array<byte> randomness)static StringCreateOTP(String username, Array<byte> secret)static StringCreateOTPFromBase64(String username, String secret)static voidCryptographicHash_Destroy(long handle)static Array<byte>CryptographicHash_Finalize(long hash)static longCryptographicHash_New(String algo)static voidCryptographicHash_Update(long hash, Array<byte> input)static voidCryptographicHash_UpdateWithOffset(long hash, Array<byte> input, int offset, int len)static voidCryptographicMac_Destroy(long handle)static Array<byte>CryptographicMac_Finalize(long mac)static longCryptographicMac_New(String algo, Array<byte> key)static voidCryptographicMac_Update(long mac, Array<byte> input)static voidCryptographicMac_UpdateWithOffset(long mac, Array<byte> input, int offset, int len)static longDecryptionErrorMessage_Deserialize(Array<byte> data)static voidDecryptionErrorMessage_Destroy(long handle)static longDecryptionErrorMessage_ExtractFromSerializedContent(Array<byte> bytes)static longDecryptionErrorMessage_ForOriginalMessage(Array<byte> originalBytes, int originalType, long originalTimestamp, int originalSenderDeviceId)static intDecryptionErrorMessage_GetDeviceId(long obj)static longDecryptionErrorMessage_GetRatchetKey(long m)static Array<byte>DecryptionErrorMessage_GetSerialized(long obj)static longDecryptionErrorMessage_GetTimestamp(long obj)static Array<byte>DeviceTransfer_GenerateCertificate(Array<byte> privateKey, String name, int daysToExpire)static Array<byte>DeviceTransfer_GeneratePrivateKey()static Array<byte>ECPrivateKey_Agree(long privateKey, long publicKey)static longECPrivateKey_Deserialize(Array<byte> data)static voidECPrivateKey_Destroy(long handle)static longECPrivateKey_Generate()static longECPrivateKey_GetPublicKey(long k)static Array<byte>ECPrivateKey_HpkeOpen(long sk, Array<byte> ciphertext, Array<byte> info, Array<byte> associatedData)static Array<byte>ECPrivateKey_Serialize(long obj)static Array<byte>ECPrivateKey_Sign(long key, Array<byte> message)static intECPublicKey_Compare(long key1, long key2)static longECPublicKey_Deserialize(Array<byte> data, int offset, int length)static voidECPublicKey_Destroy(long handle)static booleanECPublicKey_Equals(long lhs, long rhs)static Array<byte>ECPublicKey_GetPublicKeyBytes(long obj)static Array<byte>ECPublicKey_HpkeSeal(long pk, Array<byte> plaintext, Array<byte> info, Array<byte> associatedData)static Array<byte>ECPublicKey_Serialize(long obj)static booleanECPublicKey_Verify(long key, Array<byte> message, Array<byte> signature)static voidExpiringProfileKeyCredentialResponse_CheckValidContents(Array<byte> buffer)static voidExpiringProfileKeyCredential_CheckValidContents(Array<byte> buffer)static longExpiringProfileKeyCredential_GetExpirationTime(Array<byte> credential)static voidGenericServerPublicParams_CheckValidContents(Array<byte> paramsBytes)static voidGenericServerSecretParams_CheckValidContents(Array<byte> paramsBytes)static Array<byte>GenericServerSecretParams_GenerateDeterministic(Array<byte> randomness)static Array<byte>GenericServerSecretParams_GetPublicParams(Array<byte> paramsBytes)static Array<byte>GroupCipher_DecryptMessage(long sender, Array<byte> message, SenderKeyStore store)static CiphertextMessageGroupCipher_EncryptMessage(long sender, UUID distributionId, Array<byte> message, SenderKeyStore store)static voidGroupMasterKey_CheckValidContents(Array<byte> buffer)static voidGroupPublicParams_CheckValidContents(Array<byte> buffer)static Array<byte>GroupPublicParams_GetGroupIdentifier(Array<byte> groupPublicParams)static voidGroupSecretParams_CheckValidContents(Array<byte> buffer)static Array<byte>GroupSecretParams_DecryptBlobWithPadding(Array<byte> params, Array<byte> ciphertext)static Array<byte>GroupSecretParams_DecryptProfileKey(Array<byte> params, Array<byte> profileKey, Array<byte> userId)static Array<byte>GroupSecretParams_DecryptServiceId(Array<byte> params, Array<byte> ciphertext)static Array<byte>GroupSecretParams_DeriveFromMasterKey(Array<byte> masterKey)static Array<byte>GroupSecretParams_EncryptBlobWithPaddingDeterministic(Array<byte> params, Array<byte> randomness, Array<byte> plaintext, int paddingLen)static Array<byte>GroupSecretParams_EncryptProfileKey(Array<byte> params, Array<byte> profileKey, Array<byte> userId)static Array<byte>GroupSecretParams_EncryptServiceId(Array<byte> params, Array<byte> serviceId)static Array<byte>GroupSecretParams_GenerateDeterministic(Array<byte> randomness)static Array<byte>GroupSecretParams_GetMasterKey(Array<byte> params)static Array<byte>GroupSecretParams_GetPublicParams(Array<byte> params)static voidGroupSendDerivedKeyPair_CheckValidContents(Array<byte> bytes)static Array<byte>GroupSendDerivedKeyPair_ForExpiration(long expiration, long serverParams)static Array<byte>GroupSendEndorsement_CallLinkParams_ToToken(Array<byte> endorsement, Array<byte> callLinkSecretParamsSerialized)static voidGroupSendEndorsement_CheckValidContents(Array<byte> bytes)static Array<byte>GroupSendEndorsement_Combine(Array<ByteBuffer> endorsements)static Array<byte>GroupSendEndorsement_Remove(Array<byte> endorsement, Array<byte> toRemove)static Array<byte>GroupSendEndorsement_ToToken(Array<byte> endorsement, Array<byte> groupParams)static voidGroupSendEndorsementsResponse_CheckValidContents(Array<byte> bytes)static longGroupSendEndorsementsResponse_GetExpiration(Array<byte> responseBytes)static Array<byte>GroupSendEndorsementsResponse_IssueDeterministic(Array<byte> concatenatedGroupMemberCiphertexts, Array<byte> keyPair, Array<byte> randomness)static Array<Array<byte>>GroupSendEndorsementsResponse_ReceiveAndCombineWithCiphertexts(Array<byte> responseBytes, Array<byte> concatenatedGroupMemberCiphertexts, Array<byte> localUserCiphertext, long now, long serverParams)static Array<Array<byte>>GroupSendEndorsementsResponse_ReceiveAndCombineWithServiceIds(Array<byte> responseBytes, Array<byte> groupMembers, Array<byte> localUser, long now, Array<byte> groupParams, long serverParams)static voidGroupSendFullToken_CheckValidContents(Array<byte> bytes)static longGroupSendFullToken_GetExpiration(Array<byte> token)static voidGroupSendFullToken_Verify(Array<byte> token, Array<byte> userIds, long now, Array<byte> keyPair)static voidGroupSendToken_CheckValidContents(Array<byte> bytes)static Array<byte>GroupSendToken_ToFullToken(Array<byte> token, long expiration)static longGroupSessionBuilder_CreateSenderKeyDistributionMessage(long sender, UUID distributionId, SenderKeyStore store)static voidGroupSessionBuilder_ProcessSenderKeyDistributionMessage(long sender, long senderKeyDistributionMessage, SenderKeyStore store)static Array<byte>HKDF_DeriveSecrets(int outputLength, Array<byte> ikm, Array<byte> label, Array<byte> salt)static voidHsmEnclaveClient_CompleteHandshake(long cli, Array<byte> handshakeReceived)static voidHsmEnclaveClient_Destroy(long handle)static Array<byte>HsmEnclaveClient_EstablishedRecv(long cli, Array<byte> receivedCiphertext)static Array<byte>HsmEnclaveClient_EstablishedSend(long cli, Array<byte> plaintextToSend)static Array<byte>HsmEnclaveClient_InitialRequest(long obj)static longHsmEnclaveClient_New(Array<byte> trustedPublicKey, Array<byte> trustedCodeHashes)static voidHttpRequest_Destroy(long handle)static voidHttpRequest_add_header(long request, String name, String value)static longHttpRequest_new(String method, String path, Array<byte> bodyAsSlice)static Array<long>IdentityKeyPair_Deserialize(Array<byte> data)static Array<byte>IdentityKeyPair_Serialize(long publicKey, long privateKey)static Array<byte>IdentityKeyPair_SignAlternateIdentity(long publicKey, long privateKey, long otherIdentity)static booleanIdentityKey_VerifyAlternateIdentity(long publicKey, long otherIdentity, Array<byte> signature)static intIncrementalMac_CalculateChunkSize(int dataSize)static voidIncrementalMac_Destroy(long handle)static Array<byte>IncrementalMac_Finalize(long mac)static longIncrementalMac_Initialize(Array<byte> key, int chunkSize)static Array<byte>IncrementalMac_Update(long mac, Array<byte> bytes, int offset, int length)static Array<byte>KeyTransparency_AciSearchKey(Array<byte> aci)static CompletableFuture<Array<byte>>KeyTransparency_Distinguished(long asyncRuntime, int environment, long chatConnection, Array<byte> lastDistinguishedTreeHead)static Array<byte>KeyTransparency_E164SearchKey(String e164)static CompletableFuture<Array<byte>>KeyTransparency_Monitor(long asyncRuntime, int environment, long chatConnection, Array<byte> aci, long aciIdentityKey, String e164, Array<byte> unidentifiedAccessKey, Array<byte> usernameHash, Array<byte> accountData, Array<byte> lastDistinguishedTreeHead)static CompletableFuture<Array<byte>>KeyTransparency_Search(long asyncRuntime, int environment, long chatConnection, Array<byte> aci, long aciIdentityKey, String e164, Array<byte> unidentifiedAccessKey, Array<byte> usernameHash, Array<byte> accountData, Array<byte> lastDistinguishedTreeHead)static Array<byte>KeyTransparency_UsernameHashSearchKey(Array<byte> hash)static voidKyberKeyPair_Destroy(long handle)static longKyberKeyPair_Generate()static longKyberKeyPair_GetPublicKey(long keyPair)static longKyberKeyPair_GetSecretKey(long keyPair)static longKyberPreKeyRecord_Deserialize(Array<byte> data)static voidKyberPreKeyRecord_Destroy(long handle)static intKyberPreKeyRecord_GetId(long obj)static longKyberPreKeyRecord_GetKeyPair(long obj)static longKyberPreKeyRecord_GetPublicKey(long obj)static longKyberPreKeyRecord_GetSecretKey(long obj)static Array<byte>KyberPreKeyRecord_GetSerialized(long obj)static Array<byte>KyberPreKeyRecord_GetSignature(long obj)static longKyberPreKeyRecord_GetTimestamp(long obj)static longKyberPreKeyRecord_New(int id, long timestamp, long keyPair, Array<byte> signature)static longKyberPublicKey_DeserializeWithOffsetLength(Array<byte> data, int offset, int length)static voidKyberPublicKey_Destroy(long handle)static booleanKyberPublicKey_Equals(long lhs, long rhs)static Array<byte>KyberPublicKey_Serialize(long obj)static longKyberSecretKey_Deserialize(Array<byte> data)static voidKyberSecretKey_Destroy(long handle)static Array<byte>KyberSecretKey_Serialize(long obj)static voidLogger_Initialize(int maxLevel, Class loggerClass)static voidLogger_SetMaxLevel(int maxLevel)static voidLookupRequest_Destroy(long handle)static voidLookupRequest_addAciAndAccessKey(long request, Array<byte> aci, Array<byte> accessKey)static voidLookupRequest_addE164(long request, String e164)static voidLookupRequest_addPreviousE164(long request, String e164)static longLookupRequest_new()static voidLookupRequest_setToken(long request, Array<byte> token)static voidMessageBackupKey_Destroy(long handle)static longMessageBackupKey_FromAccountEntropyPool(String accountEntropy, Array<byte> aci, Array<byte> forwardSecrecyToken)static longMessageBackupKey_FromBackupKeyAndBackupId(Array<byte> backupKey, Array<byte> backupId, Array<byte> forwardSecrecyToken)static longMessageBackupKey_FromParts(Array<byte> hmacKey, Array<byte> aesKey)static Array<byte>MessageBackupKey_GetAesKey(long key)static Array<byte>MessageBackupKey_GetHmacKey(long key)static ObjectMessageBackupValidator_Validate(long key, InputStream firstStream, InputStream secondStream, long len, int purpose)static longMp4Sanitizer_Sanitize(InputStream input, long len)static longMp4Sanitizer_Sanitize_File_With_Compounded_MDAT_Boxes(InputStream input, long len, int cumulativeMdatBoxSize)static voidNumericFingerprintGenerator_Destroy(long handle)static StringNumericFingerprintGenerator_GetDisplayString(long obj)static Array<byte>NumericFingerprintGenerator_GetScannableEncoding(long obj)static longNumericFingerprintGenerator_New(int iterations, int version, Array<byte> localIdentifier, Array<byte> localKey, Array<byte> remoteIdentifier, Array<byte> remoteKey)static voidOnlineBackupValidator_AddFrame(long backup, Array<byte> frame)static voidOnlineBackupValidator_Destroy(long handle)static voidOnlineBackupValidator_Finalize(long backup)static longOnlineBackupValidator_New(Array<byte> backupInfoFrame, int purpose)static Array<byte>PinHash_AccessKey(long ph)static voidPinHash_Destroy(long handle)static Array<byte>PinHash_EncryptionKey(long ph)static longPinHash_FromSalt(Array<byte> pin, Array<byte> salt)static longPinHash_FromUsernameMrenclave(Array<byte> pin, String username, Array<byte> mrenclave)static StringPin_LocalHash(Array<byte> pin)static booleanPin_VerifyLocalHash(String encodedHash, Array<byte> pin)static longPlaintextContent_Deserialize(Array<byte> data)static Array<byte>PlaintextContent_DeserializeAndGetContent(Array<byte> bytes)static voidPlaintextContent_Destroy(long handle)static longPlaintextContent_FromDecryptionErrorMessage(long m)static Array<byte>PlaintextContent_GetBody(long obj)static Array<byte>PlaintextContent_GetSerialized(long obj)static voidPreKeyBundle_Destroy(long handle)static intPreKeyBundle_GetDeviceId(long obj)static longPreKeyBundle_GetIdentityKey(long p)static intPreKeyBundle_GetKyberPreKeyId(long obj)static longPreKeyBundle_GetKyberPreKeyPublic(long bundle)static Array<byte>PreKeyBundle_GetKyberPreKeySignature(long obj)static intPreKeyBundle_GetPreKeyId(long obj)static longPreKeyBundle_GetPreKeyPublic(long obj)static intPreKeyBundle_GetRegistrationId(long obj)static intPreKeyBundle_GetSignedPreKeyId(long obj)static longPreKeyBundle_GetSignedPreKeyPublic(long obj)static Array<byte>PreKeyBundle_GetSignedPreKeySignature(long obj)static longPreKeyBundle_New(int registrationId, int deviceId, int prekeyId, long prekey, int signedPrekeyId, long signedPrekey, Array<byte> signedPrekeySignature, long identityKey, int kyberPrekeyId, long kyberPrekey, Array<byte> kyberPrekeySignature)static longPreKeyRecord_Deserialize(Array<byte> data)static voidPreKeyRecord_Destroy(long handle)static intPreKeyRecord_GetId(long obj)static longPreKeyRecord_GetPrivateKey(long obj)static longPreKeyRecord_GetPublicKey(long obj)static Array<byte>PreKeyRecord_GetSerialized(long obj)static longPreKeyRecord_New(int id, long pubKey, long privKey)static longPreKeySignalMessage_Deserialize(Array<byte> data)static voidPreKeySignalMessage_Destroy(long handle)static longPreKeySignalMessage_GetBaseKey(long m)static longPreKeySignalMessage_GetIdentityKey(long m)static intPreKeySignalMessage_GetPreKeyId(long obj)static intPreKeySignalMessage_GetRegistrationId(long obj)static Array<byte>PreKeySignalMessage_GetSerialized(long obj)static longPreKeySignalMessage_GetSignalMessage(long m)static intPreKeySignalMessage_GetSignedPreKeyId(long obj)static intPreKeySignalMessage_GetVersion(long obj)static longPreKeySignalMessage_New(int messageVersion, int registrationId, int preKeyId, int signedPreKeyId, long baseKey, long identityKey, long signalMessage)static voidProfileKeyCiphertext_CheckValidContents(Array<byte> buffer)static voidProfileKeyCommitment_CheckValidContents(Array<byte> buffer)static voidProfileKeyCredentialPresentation_CheckValidContents(Array<byte> presentationBytes)static Array<byte>ProfileKeyCredentialPresentation_GetProfileKeyCiphertext(Array<byte> presentationBytes)static Array<byte>ProfileKeyCredentialPresentation_GetStructurallyValidV1PresentationBytes(Array<byte> presentationBytes)static Array<byte>ProfileKeyCredentialPresentation_GetUuidCiphertext(Array<byte> presentationBytes)static voidProfileKeyCredentialRequestContext_CheckValidContents(Array<byte> buffer)static Array<byte>ProfileKeyCredentialRequestContext_GetRequest(Array<byte> context)static voidProfileKeyCredentialRequest_CheckValidContents(Array<byte> buffer)static voidProfileKey_CheckValidContents(Array<byte> buffer)static Array<byte>ProfileKey_DeriveAccessKey(Array<byte> profileKey)static Array<byte>ProfileKey_GetCommitment(Array<byte> profileKey, Array<byte> userId)static Array<byte>ProfileKey_GetProfileKeyVersion(Array<byte> profileKey, Array<byte> userId)static voidProtocolAddress_Destroy(long handle)static intProtocolAddress_DeviceId(long obj)static StringProtocolAddress_Name(long obj)static longProtocolAddress_New(String name, int deviceId)static voidReceiptCredentialPresentation_CheckValidContents(Array<byte> buffer)static longReceiptCredentialPresentation_GetReceiptExpirationTime(Array<byte> presentation)static longReceiptCredentialPresentation_GetReceiptLevel(Array<byte> presentation)static Array<byte>ReceiptCredentialPresentation_GetReceiptSerial(Array<byte> presentation)static voidReceiptCredentialRequestContext_CheckValidContents(Array<byte> buffer)static Array<byte>ReceiptCredentialRequestContext_GetRequest(Array<byte> requestContext)static voidReceiptCredentialRequest_CheckValidContents(Array<byte> buffer)static voidReceiptCredentialResponse_CheckValidContents(Array<byte> buffer)static voidReceiptCredential_CheckValidContents(Array<byte> buffer)static longReceiptCredential_GetReceiptExpirationTime(Array<byte> receiptCredential)static longReceiptCredential_GetReceiptLevel(Array<byte> receiptCredential)static longRegisterAccountRequest_Create()static voidRegisterAccountRequest_Destroy(long handle)static voidRegisterAccountRequest_SetAccountPassword(long registerAccount, String accountPassword)static voidRegisterAccountRequest_SetGcmPushToken(long registerAccount, String gcmPushToken)static voidRegisterAccountRequest_SetIdentityPqLastResortPreKey(long registerAccount, int identityType, SignedPublicPreKey pqLastResortPreKey)static voidRegisterAccountRequest_SetIdentityPublicKey(long registerAccount, int identityType, long identityKey)static voidRegisterAccountRequest_SetIdentitySignedPreKey(long registerAccount, int identityType, SignedPublicPreKey signedPreKey)static voidRegisterAccountRequest_SetSkipDeviceTransfer(long registerAccount)static voidRegisterAccountResponse_Destroy(long handle)static longRegisterAccountResponse_GetEntitlementBackupExpirationSeconds(long response)static longRegisterAccountResponse_GetEntitlementBackupLevel(long response)static Array<Object>RegisterAccountResponse_GetEntitlementBadges(long response)static Array<byte>RegisterAccountResponse_GetIdentity(long response, int identityType)static StringRegisterAccountResponse_GetNumber(long response)static booleanRegisterAccountResponse_GetReregistration(long response)static booleanRegisterAccountResponse_GetStorageCapable(long response)static Array<byte>RegisterAccountResponse_GetUsernameHash(long response)static UUIDRegisterAccountResponse_GetUsernameLinkHandle(long response)static longRegistrationAccountAttributes_Create(Array<byte> recoveryPassword, int aciRegistrationId, int pniRegistrationId, String registrationLock, Array<byte> unidentifiedAccessKey, boolean unrestrictedUnidentifiedAccess, Array<Object> capabilities, boolean discoverableByPhoneNumber)static voidRegistrationAccountAttributes_Destroy(long handle)static CompletableFuture<Object>RegistrationService_CheckSvr2Credentials(long asyncRuntime, long service, Array<Object> svrTokens)static CompletableFuture<Long>RegistrationService_CreateSession(long asyncRuntime, Object createSession, ConnectChatBridge connectChat)static voidRegistrationService_Destroy(long handle)static CompletableFuture<Long>RegistrationService_RegisterAccount(long asyncRuntime, long service, long registerAccount, long accountAttributes)static longRegistrationService_RegistrationSession(long service)static CompletableFuture<Void>RegistrationService_RequestPushChallenge(long asyncRuntime, long service, String pushToken)static CompletableFuture<Void>RegistrationService_RequestVerificationCode(long asyncRuntime, long service, String transport, String client, Array<Object> languages)static CompletableFuture<Long>RegistrationService_ReregisterAccount(long asyncRuntime, ConnectChatBridge connectChat, String number, long registerAccount, long accountAttributes)static CompletableFuture<Long>RegistrationService_ResumeSession(long asyncRuntime, String sessionId, String number, ConnectChatBridge connectChat)static StringRegistrationService_SessionId(long service)static CompletableFuture<Void>RegistrationService_SubmitCaptcha(long asyncRuntime, long service, String captchaValue)static CompletableFuture<Void>RegistrationService_SubmitPushChallenge(long asyncRuntime, long service, String pushChallenge)static CompletableFuture<Void>RegistrationService_SubmitVerificationCode(long asyncRuntime, long service, String code)static voidRegistrationSession_Destroy(long handle)static booleanRegistrationSession_GetAllowedToRequestCode(long session)static intRegistrationSession_GetNextCallSeconds(long session)static intRegistrationSession_GetNextSmsSeconds(long session)static intRegistrationSession_GetNextVerificationAttemptSeconds(long session)static Array<Object>RegistrationSession_GetRequestedInformation(long session)static booleanRegistrationSession_GetVerified(long session)static voidSanitizedMetadata_Destroy(long handle)static longSanitizedMetadata_GetDataLen(long sanitized)static longSanitizedMetadata_GetDataOffset(long sanitized)static Array<byte>SanitizedMetadata_GetMetadata(long sanitized)static booleanScannableFingerprint_Compare(Array<byte> fprint1, Array<byte> fprint2)static ObjectSealedSender_MultiRecipientParseSentMessage(Array<byte> data)static longSealedSessionCipher_DecryptToUsmc(Array<byte> ctext, IdentityKeyStore identityStore)static Array<byte>SealedSessionCipher_Encrypt(long destination, long content, IdentityKeyStore identityKeyStore)static Array<byte>SealedSessionCipher_MultiRecipientEncrypt(Array<long> recipients, Array<long> recipientSessions, Array<byte> excludedRecipients, long content, IdentityKeyStore identityKeyStore)static Array<byte>SealedSessionCipher_MultiRecipientMessageForSingleRecipient(Array<byte> encodedMultiRecipientMessage)static Array<byte>SecureValueRecoveryForBackups_CreateNewBackupChain(int environment, Array<byte> backupKey)static CompletableFuture<Long>SecureValueRecoveryForBackups_RestoreBackupFromServer(long asyncRuntime, Array<byte> backupKey, Array<byte> metadata, long connectionManager, String username, String password)static CompletableFuture<Long>SecureValueRecoveryForBackups_StoreBackup(long asyncRuntime, Array<byte> backupKey, Array<byte> previousSecretData, long connectionManager, String username, String password)static longSenderCertificate_Deserialize(Array<byte> data)static voidSenderCertificate_Destroy(long handle)static Array<byte>SenderCertificate_GetCertificate(long obj)static intSenderCertificate_GetDeviceId(long obj)static longSenderCertificate_GetExpiration(long obj)static longSenderCertificate_GetKey(long obj)static StringSenderCertificate_GetSenderE164(long obj)static StringSenderCertificate_GetSenderUuid(long obj)static Array<byte>SenderCertificate_GetSerialized(long obj)static longSenderCertificate_GetServerCertificate(long cert)static Array<byte>SenderCertificate_GetSignature(long obj)static longSenderCertificate_New(String senderUuid, String senderE164, int senderDeviceId, long senderKey, long expiration, long signerCert, long signerKey)static booleanSenderCertificate_Validate(long cert, long key, long time)static longSenderKeyDistributionMessage_Deserialize(Array<byte> data)static voidSenderKeyDistributionMessage_Destroy(long handle)static intSenderKeyDistributionMessage_GetChainId(long obj)static Array<byte>SenderKeyDistributionMessage_GetChainKey(long obj)static UUIDSenderKeyDistributionMessage_GetDistributionId(long obj)static intSenderKeyDistributionMessage_GetIteration(long obj)static Array<byte>SenderKeyDistributionMessage_GetSerialized(long obj)static longSenderKeyDistributionMessage_GetSignatureKey(long m)static longSenderKeyDistributionMessage_New(int messageVersion, UUID distributionId, int chainId, int iteration, Array<byte> chainkey, long pk)static longSenderKeyMessage_Deserialize(Array<byte> data)static voidSenderKeyMessage_Destroy(long handle)static intSenderKeyMessage_GetChainId(long obj)static Array<byte>SenderKeyMessage_GetCipherText(long obj)static UUIDSenderKeyMessage_GetDistributionId(long obj)static intSenderKeyMessage_GetIteration(long obj)static Array<byte>SenderKeyMessage_GetSerialized(long obj)static longSenderKeyMessage_New(int messageVersion, UUID distributionId, int chainId, int iteration, Array<byte> ciphertext, long pk)static booleanSenderKeyMessage_VerifySignature(long skm, long pubkey)static longSenderKeyRecord_Deserialize(Array<byte> data)static voidSenderKeyRecord_Destroy(long handle)static Array<byte>SenderKeyRecord_GetSerialized(long obj)static longServerCertificate_Deserialize(Array<byte> data)static voidServerCertificate_Destroy(long handle)static Array<byte>ServerCertificate_GetCertificate(long obj)static longServerCertificate_GetKey(long obj)static intServerCertificate_GetKeyId(long obj)static Array<byte>ServerCertificate_GetSerialized(long obj)static Array<byte>ServerCertificate_GetSignature(long obj)static longServerCertificate_New(int keyId, long serverKey, long trustRoot)static voidServerMessageAck_Destroy(long handle)static voidServerMessageAck_Send(long ack)static Array<byte>ServerPublicParams_CreateAuthCredentialWithPniPresentationDeterministic(long serverPublicParams, Array<byte> randomness, Array<byte> groupSecretParams, Array<byte> authCredentialWithPniBytes)static Array<byte>ServerPublicParams_CreateExpiringProfileKeyCredentialPresentationDeterministic(long serverPublicParams, Array<byte> randomness, Array<byte> groupSecretParams, Array<byte> profileKeyCredential)static Array<byte>ServerPublicParams_CreateProfileKeyCredentialRequestContextDeterministic(long serverPublicParams, Array<byte> randomness, Array<byte> userId, Array<byte> profileKey)static Array<byte>ServerPublicParams_CreateReceiptCredentialPresentationDeterministic(long serverPublicParams, Array<byte> randomness, Array<byte> receiptCredential)static Array<byte>ServerPublicParams_CreateReceiptCredentialRequestContextDeterministic(long serverPublicParams, Array<byte> randomness, Array<byte> receiptSerial)static longServerPublicParams_Deserialize(Array<byte> buffer)static voidServerPublicParams_Destroy(long handle)static Array<byte>ServerPublicParams_GetEndorsementPublicKey(long params)static Array<byte>ServerPublicParams_ReceiveAuthCredentialWithPniAsServiceId(long params, Array<byte> aci, Array<byte> pni, long redemptionTime, Array<byte> authCredentialWithPniResponseBytes)static Array<byte>ServerPublicParams_ReceiveExpiringProfileKeyCredential(long serverPublicParams, Array<byte> requestContext, Array<byte> response, long currentTimeInSeconds)static Array<byte>ServerPublicParams_ReceiveReceiptCredential(long serverPublicParams, Array<byte> requestContext, Array<byte> response)static Array<byte>ServerPublicParams_Serialize(long handle)static voidServerPublicParams_VerifySignature(long serverPublicParams, Array<byte> message, Array<byte> notarySignature)static longServerSecretParams_Deserialize(Array<byte> buffer)static voidServerSecretParams_Destroy(long handle)static longServerSecretParams_GenerateDeterministic(Array<byte> randomness)static longServerSecretParams_GetPublicParams(long params)static Array<byte>ServerSecretParams_IssueAuthCredentialWithPniZkcDeterministic(long serverSecretParams, Array<byte> randomness, Array<byte> aci, Array<byte> pni, long redemptionTime)static Array<byte>ServerSecretParams_IssueExpiringProfileKeyCredentialDeterministic(long serverSecretParams, Array<byte> randomness, Array<byte> request, Array<byte> userId, Array<byte> commitment, long expirationInSeconds)static Array<byte>ServerSecretParams_IssueReceiptCredentialDeterministic(long serverSecretParams, Array<byte> randomness, Array<byte> request, long receiptExpirationTime, long receiptLevel)static Array<byte>ServerSecretParams_Serialize(long handle)static Array<byte>ServerSecretParams_SignDeterministic(long params, Array<byte> randomness, Array<byte> message)static voidServerSecretParams_VerifyAuthCredentialPresentation(long serverSecretParams, Array<byte> groupPublicParams, Array<byte> presentationBytes, long currentTimeInSeconds)static voidServerSecretParams_VerifyProfileKeyCredentialPresentation(long serverSecretParams, Array<byte> groupPublicParams, Array<byte> presentationBytes, long currentTimeInSeconds)static voidServerSecretParams_VerifyReceiptCredentialPresentation(long serverSecretParams, Array<byte> presentation)static Array<byte>ServiceId_ParseFromServiceIdBinary(Array<byte> input)static Array<byte>ServiceId_ParseFromServiceIdString(String input)static Array<byte>ServiceId_ServiceIdBinary(Array<byte> value)static StringServiceId_ServiceIdLog(Array<byte> value)static StringServiceId_ServiceIdString(Array<byte> value)static voidSessionBuilder_ProcessPreKeyBundle(long bundle, long protocolAddress, SessionStore sessionStore, IdentityKeyStore identityKeyStore, long now, boolean usePqRatchet)static Array<byte>SessionCipher_DecryptPreKeySignalMessage(long message, long protocolAddress, SessionStore sessionStore, IdentityKeyStore identityKeyStore, PreKeyStore prekeyStore, SignedPreKeyStore signedPrekeyStore, KyberPreKeyStore kyberPrekeyStore, boolean usePqRatchet)static Array<byte>SessionCipher_DecryptSignalMessage(long message, long protocolAddress, SessionStore sessionStore, IdentityKeyStore identityKeyStore)static CiphertextMessageSessionCipher_EncryptMessage(Array<byte> ptext, long protocolAddress, SessionStore sessionStore, IdentityKeyStore identityKeyStore, long now)static voidSessionRecord_ArchiveCurrentState(long sessionRecord)static booleanSessionRecord_CurrentRatchetKeyMatches(long s, long key)static longSessionRecord_Deserialize(Array<byte> data)static voidSessionRecord_Destroy(long handle)static Array<byte>SessionRecord_GetLocalIdentityKeyPublic(long obj)static intSessionRecord_GetLocalRegistrationId(long obj)static Array<byte>SessionRecord_GetRemoteIdentityKeyPublic(long obj)static intSessionRecord_GetRemoteRegistrationId(long obj)static intSessionRecord_GetSessionVersion(long s)static booleanSessionRecord_HasUsableSenderChain(long s, long now)static longSessionRecord_NewFresh()static Array<byte>SessionRecord_Serialize(long obj)static voidSgxClientState_CompleteHandshake(long cli, Array<byte> handshakeReceived)static voidSgxClientState_Destroy(long handle)static Array<byte>SgxClientState_EstablishedRecv(long cli, Array<byte> receivedCiphertext)static Array<byte>SgxClientState_EstablishedSend(long cli, Array<byte> plaintextToSend)static Array<byte>SgxClientState_InitialRequest(long obj)static voidSignalMedia_CheckAvailable()static longSignalMessage_Deserialize(Array<byte> data)static voidSignalMessage_Destroy(long handle)static Array<byte>SignalMessage_GetBody(long obj)static intSignalMessage_GetCounter(long obj)static intSignalMessage_GetMessageVersion(long obj)static Array<byte>SignalMessage_GetPqRatchet(long msg)static longSignalMessage_GetSenderRatchetKey(long m)static Array<byte>SignalMessage_GetSerialized(long obj)static longSignalMessage_New(int messageVersion, Array<byte> macKey, long senderRatchetKey, int counter, int previousCounter, Array<byte> ciphertext, long senderIdentityKey, long receiverIdentityKey, Array<byte> pqRatchet)static booleanSignalMessage_VerifyMac(long msg, long senderIdentityKey, long receiverIdentityKey, Array<byte> macKey)static longSignedPreKeyRecord_Deserialize(Array<byte> data)static voidSignedPreKeyRecord_Destroy(long handle)static intSignedPreKeyRecord_GetId(long obj)static longSignedPreKeyRecord_GetPrivateKey(long obj)static longSignedPreKeyRecord_GetPublicKey(long obj)static Array<byte>SignedPreKeyRecord_GetSerialized(long obj)static Array<byte>SignedPreKeyRecord_GetSignature(long obj)static longSignedPreKeyRecord_GetTimestamp(long obj)static longSignedPreKeyRecord_New(int id, long timestamp, long pubKey, long privKey, Array<byte> signature)static longSvr2Client_New(Array<byte> mrenclave, Array<byte> attestationMsg, long currentTimestamp)static voidTokioAsyncContext_Destroy(long handle)static voidTokioAsyncContext_cancel(long context, long rawCancellationId)static longTokioAsyncContext_new()static voidUnauthenticatedChatConnection_Destroy(long handle)static CompletableFuture<Long>UnauthenticatedChatConnection_connect(long asyncRuntime, long connectionManager, Array<Object> languages)static CompletableFutureUnauthenticatedChatConnection_disconnect(long asyncRuntime, long chat)static longUnauthenticatedChatConnection_info(long chat)static voidUnauthenticatedChatConnection_init_listener(long chat, BridgeChatListener listener)static CompletableFuture<Object>UnauthenticatedChatConnection_send(long asyncRuntime, long chat, long httpRequest, int timeoutMillis)static longUnidentifiedSenderMessageContent_Deserialize(Array<byte> data)static voidUnidentifiedSenderMessageContent_Destroy(long handle)static intUnidentifiedSenderMessageContent_GetContentHint(long m)static Array<byte>UnidentifiedSenderMessageContent_GetContents(long obj)static Array<byte>UnidentifiedSenderMessageContent_GetGroupId(long obj)static intUnidentifiedSenderMessageContent_GetMsgType(long m)static longUnidentifiedSenderMessageContent_GetSenderCert(long m)static Array<byte>UnidentifiedSenderMessageContent_GetSerialized(long obj)static longUnidentifiedSenderMessageContent_New(CiphertextMessage message, long sender, int contentHint, Array<byte> groupId)static Array<byte>UsernameLink_Create(String username, Array<byte> entropy)static StringUsernameLink_DecryptUsername(Array<byte> entropy, Array<byte> encryptedUsername)static Array<Object>Username_CandidatesFrom(String nickname, int minLen, int maxLen)static Array<byte>Username_Hash(String username)static Array<byte>Username_HashFromParts(String nickname, String discriminator, int minLen, int maxLen)static Array<byte>Username_Proof(String username, Array<byte> randomness)static voidUsername_Verify(Array<byte> proof, Array<byte> hash)static voidUuidCiphertext_CheckValidContents(Array<byte> buffer)static voidValidatingMac_Destroy(long handle)static intValidatingMac_Finalize(long mac)static longValidatingMac_Initialize(Array<byte> key, int chunkSize, Array<byte> digests)static intValidatingMac_Update(long mac, Array<byte> bytes, int offset, int length)static voidWebpSanitizer_Sanitize(InputStream input)static voidinitializeLibrary()-
-
Method Detail
-
keepAlive
static void keepAlive(Object obj)
Keeps an object from being garbage-collected until this call completes. This can be used to keep a Java wrapper around a Rust object handle alive while earlier calls use that Rust object handle. That is, you should call
keepAliveafter the code where an object must not be garbage-collected. However, most of the time NativeHandleGuard is a better choice, since the lifetime of the guard is clear. Effectively equivalent to Java 9'sreachabilityFence(). Usesnativebecause the JVM can't look into the implementation of the method and optimize away the use ofobj. (The actual implementation does nothing.)
-
AccountEntropyPool_DeriveBackupKey
static Array<byte> AccountEntropyPool_DeriveBackupKey(String accountEntropy)
-
AccountEntropyPool_DeriveSvrKey
static Array<byte> AccountEntropyPool_DeriveSvrKey(String accountEntropy)
-
AccountEntropyPool_Generate
static String AccountEntropyPool_Generate()
-
AccountEntropyPool_IsValid
static boolean AccountEntropyPool_IsValid(String accountEntropy)
-
Aes256Ctr32_Destroy
static void Aes256Ctr32_Destroy(long handle)
-
Aes256Ctr32_New
static long Aes256Ctr32_New(Array<byte> key, Array<byte> nonce, int initialCtr)
-
Aes256Ctr32_Process
static void Aes256Ctr32_Process(long ctr, Array<byte> data, int offset, int length)
-
Aes256GcmDecryption_Destroy
static void Aes256GcmDecryption_Destroy(long handle)
-
Aes256GcmDecryption_New
static long Aes256GcmDecryption_New(Array<byte> key, Array<byte> nonce, Array<byte> associatedData)
-
Aes256GcmDecryption_Update
static void Aes256GcmDecryption_Update(long gcm, Array<byte> data, int offset, int length)
-
Aes256GcmDecryption_VerifyTag
static boolean Aes256GcmDecryption_VerifyTag(long gcm, Array<byte> tag)
-
Aes256GcmEncryption_ComputeTag
static Array<byte> Aes256GcmEncryption_ComputeTag(long gcm)
-
Aes256GcmEncryption_Destroy
static void Aes256GcmEncryption_Destroy(long handle)
-
Aes256GcmEncryption_New
static long Aes256GcmEncryption_New(Array<byte> key, Array<byte> nonce, Array<byte> associatedData)
-
Aes256GcmEncryption_Update
static void Aes256GcmEncryption_Update(long gcm, Array<byte> data, int offset, int length)
-
Aes256GcmSiv_Decrypt
static Array<byte> Aes256GcmSiv_Decrypt(long aesGcmSiv, Array<byte> ctext, Array<byte> nonce, Array<byte> associatedData)
-
Aes256GcmSiv_Destroy
static void Aes256GcmSiv_Destroy(long handle)
-
Aes256GcmSiv_Encrypt
static Array<byte> Aes256GcmSiv_Encrypt(long aesGcmSivObj, Array<byte> ptext, Array<byte> nonce, Array<byte> associatedData)
-
Aes256GcmSiv_New
static long Aes256GcmSiv_New(Array<byte> key)
-
AsyncLoadClass
static Object AsyncLoadClass(Object tokioContext, String className)
-
AuthCredentialPresentation_CheckValidContents
static void AuthCredentialPresentation_CheckValidContents(Array<byte> presentationBytes)
-
AuthCredentialPresentation_GetPniCiphertext
static Array<byte> AuthCredentialPresentation_GetPniCiphertext(Array<byte> presentationBytes)
-
AuthCredentialPresentation_GetRedemptionTime
static long AuthCredentialPresentation_GetRedemptionTime(Array<byte> presentationBytes)
-
AuthCredentialPresentation_GetUuidCiphertext
static Array<byte> AuthCredentialPresentation_GetUuidCiphertext(Array<byte> presentationBytes)
-
AuthCredentialWithPniResponse_CheckValidContents
static void AuthCredentialWithPniResponse_CheckValidContents(Array<byte> bytes)
-
AuthCredentialWithPni_CheckValidContents
static void AuthCredentialWithPni_CheckValidContents(Array<byte> bytes)
-
AuthenticatedChatConnection_Destroy
static void AuthenticatedChatConnection_Destroy(long handle)
-
AuthenticatedChatConnection_connect
static CompletableFuture<Long> AuthenticatedChatConnection_connect(long asyncRuntime, long connectionManager, String username, String password, boolean receiveStories, Array<Object> languages)
-
AuthenticatedChatConnection_disconnect
static CompletableFuture AuthenticatedChatConnection_disconnect(long asyncRuntime, long chat)
-
AuthenticatedChatConnection_init_listener
static void AuthenticatedChatConnection_init_listener(long chat, BridgeChatListener listener)
-
AuthenticatedChatConnection_preconnect
static CompletableFuture<Void> AuthenticatedChatConnection_preconnect(long asyncRuntime, long connectionManager)
-
AuthenticatedChatConnection_send
static CompletableFuture<Object> AuthenticatedChatConnection_send(long asyncRuntime, long chat, long httpRequest, int timeoutMillis)
-
BackupAuthCredentialPresentation_CheckValidContents
static void BackupAuthCredentialPresentation_CheckValidContents(Array<byte> presentationBytes)
-
BackupAuthCredentialPresentation_GetBackupId
static Array<byte> BackupAuthCredentialPresentation_GetBackupId(Array<byte> presentationBytes)
-
BackupAuthCredentialPresentation_GetBackupLevel
static int BackupAuthCredentialPresentation_GetBackupLevel(Array<byte> presentationBytes)
-
BackupAuthCredentialPresentation_GetType
static int BackupAuthCredentialPresentation_GetType(Array<byte> presentationBytes)
-
BackupAuthCredentialPresentation_Verify
static void BackupAuthCredentialPresentation_Verify(Array<byte> presentationBytes, long now, Array<byte> serverParamsBytes)
-
BackupAuthCredentialRequestContext_CheckValidContents
static void BackupAuthCredentialRequestContext_CheckValidContents(Array<byte> contextBytes)
-
BackupAuthCredentialRequestContext_GetRequest
static Array<byte> BackupAuthCredentialRequestContext_GetRequest(Array<byte> contextBytes)
-
BackupAuthCredentialRequestContext_New
static Array<byte> BackupAuthCredentialRequestContext_New(Array<byte> backupKey, UUID uuid)
-
BackupAuthCredentialRequestContext_ReceiveResponse
static Array<byte> BackupAuthCredentialRequestContext_ReceiveResponse(Array<byte> contextBytes, Array<byte> responseBytes, long expectedRedemptionTime, Array<byte> paramsBytes)
-
BackupAuthCredentialRequest_CheckValidContents
static void BackupAuthCredentialRequest_CheckValidContents(Array<byte> requestBytes)
-
BackupAuthCredentialRequest_IssueDeterministic
static Array<byte> BackupAuthCredentialRequest_IssueDeterministic(Array<byte> requestBytes, long redemptionTime, int backupLevel, int credentialType, Array<byte> paramsBytes, Array<byte> randomness)
-
BackupAuthCredentialResponse_CheckValidContents
static void BackupAuthCredentialResponse_CheckValidContents(Array<byte> responseBytes)
-
BackupAuthCredential_CheckValidContents
static void BackupAuthCredential_CheckValidContents(Array<byte> paramsBytes)
-
BackupAuthCredential_GetBackupId
static Array<byte> BackupAuthCredential_GetBackupId(Array<byte> credentialBytes)
-
BackupAuthCredential_GetBackupLevel
static int BackupAuthCredential_GetBackupLevel(Array<byte> credentialBytes)
-
BackupAuthCredential_GetType
static int BackupAuthCredential_GetType(Array<byte> credentialBytes)
-
BackupAuthCredential_PresentDeterministic
static Array<byte> BackupAuthCredential_PresentDeterministic(Array<byte> credentialBytes, Array<byte> serverParamsBytes, Array<byte> randomness)
-
BackupKey_DeriveBackupId
static Array<byte> BackupKey_DeriveBackupId(Array<byte> backupKey, Array<byte> aci)
-
BackupKey_DeriveEcKey
static long BackupKey_DeriveEcKey(Array<byte> backupKey, Array<byte> aci)
-
BackupKey_DeriveLocalBackupMetadataKey
static Array<byte> BackupKey_DeriveLocalBackupMetadataKey(Array<byte> backupKey)
-
BackupKey_DeriveMediaEncryptionKey
static Array<byte> BackupKey_DeriveMediaEncryptionKey(Array<byte> backupKey, Array<byte> mediaId)
-
BackupKey_DeriveMediaId
static Array<byte> BackupKey_DeriveMediaId(Array<byte> backupKey, String mediaName)
-
BackupKey_DeriveThumbnailTransitEncryptionKey
static Array<byte> BackupKey_DeriveThumbnailTransitEncryptionKey(Array<byte> backupKey, Array<byte> mediaId)
-
BackupRestoreResponse_Destroy
static void BackupRestoreResponse_Destroy(long handle)
-
BackupRestoreResponse_GetForwardSecrecyToken
static Array<byte> BackupRestoreResponse_GetForwardSecrecyToken(long response)
-
BackupRestoreResponse_GetNextBackupSecretData
static Array<byte> BackupRestoreResponse_GetNextBackupSecretData(long response)
-
BackupStoreResponse_Destroy
static void BackupStoreResponse_Destroy(long handle)
-
BackupStoreResponse_GetForwardSecrecyToken
static Array<byte> BackupStoreResponse_GetForwardSecrecyToken(long response)
-
BackupStoreResponse_GetNextBackupSecretData
static Array<byte> BackupStoreResponse_GetNextBackupSecretData(long response)
-
BackupStoreResponse_GetOpaqueMetadata
static Array<byte> BackupStoreResponse_GetOpaqueMetadata(long response)
-
BridgedStringMap_Destroy
static void BridgedStringMap_Destroy(long handle)
-
BridgedStringMap_insert
static void BridgedStringMap_insert(long map, String key, String value)
-
BridgedStringMap_new
static long BridgedStringMap_new(int initialCapacity)
-
CallLinkAuthCredentialPresentation_CheckValidContents
static void CallLinkAuthCredentialPresentation_CheckValidContents(Array<byte> presentationBytes)
-
CallLinkAuthCredentialPresentation_GetUserId
static Array<byte> CallLinkAuthCredentialPresentation_GetUserId(Array<byte> presentationBytes)
-
CallLinkAuthCredentialPresentation_Verify
static void CallLinkAuthCredentialPresentation_Verify(Array<byte> presentationBytes, long now, Array<byte> serverParamsBytes, Array<byte> callLinkParamsBytes)
-
CallLinkAuthCredentialResponse_CheckValidContents
static void CallLinkAuthCredentialResponse_CheckValidContents(Array<byte> responseBytes)
-
CallLinkAuthCredentialResponse_IssueDeterministic
static Array<byte> CallLinkAuthCredentialResponse_IssueDeterministic(Array<byte> userId, long redemptionTime, Array<byte> paramsBytes, Array<byte> randomness)
-
CallLinkAuthCredentialResponse_Receive
static Array<byte> CallLinkAuthCredentialResponse_Receive(Array<byte> responseBytes, Array<byte> userId, long redemptionTime, Array<byte> paramsBytes)
-
CallLinkAuthCredential_CheckValidContents
static void CallLinkAuthCredential_CheckValidContents(Array<byte> credentialBytes)
-
CallLinkAuthCredential_PresentDeterministic
static Array<byte> CallLinkAuthCredential_PresentDeterministic(Array<byte> credentialBytes, Array<byte> userId, long redemptionTime, Array<byte> serverParamsBytes, Array<byte> callLinkParamsBytes, Array<byte> randomness)
-
CallLinkPublicParams_CheckValidContents
static void CallLinkPublicParams_CheckValidContents(Array<byte> paramsBytes)
-
CallLinkSecretParams_CheckValidContents
static void CallLinkSecretParams_CheckValidContents(Array<byte> paramsBytes)
-
CallLinkSecretParams_DecryptUserId
static Array<byte> CallLinkSecretParams_DecryptUserId(Array<byte> paramsBytes, Array<byte> userId)
-
CallLinkSecretParams_DeriveFromRootKey
static Array<byte> CallLinkSecretParams_DeriveFromRootKey(Array<byte> rootKey)
-
CallLinkSecretParams_EncryptUserId
static Array<byte> CallLinkSecretParams_EncryptUserId(Array<byte> paramsBytes, Array<byte> userId)
-
CallLinkSecretParams_GetPublicParams
static Array<byte> CallLinkSecretParams_GetPublicParams(Array<byte> paramsBytes)
-
Cds2ClientState_New
static long Cds2ClientState_New(Array<byte> mrenclave, Array<byte> attestationMsg, long currentTimestamp)
-
Cds2Metrics_extract
static Map Cds2Metrics_extract(Array<byte> attestationMsg)
-
CdsiLookup_Destroy
static void CdsiLookup_Destroy(long handle)
-
CdsiLookup_complete
static CompletableFuture<Object> CdsiLookup_complete(long asyncRuntime, long lookup)
-
CdsiLookup_new
static CompletableFuture<Long> CdsiLookup_new(long asyncRuntime, long connectionManager, String username, String password, long request)
-
CdsiLookup_token
static Array<byte> CdsiLookup_token(long lookup)
-
ConnectionManager_Destroy
static void ConnectionManager_Destroy(long handle)
-
ConnectionManager_clear_proxy
static void ConnectionManager_clear_proxy(long connectionManager)
-
ConnectionManager_new
static long ConnectionManager_new(int environment, String userAgent, long remoteConfig)
-
ConnectionManager_on_network_change
static void ConnectionManager_on_network_change(long connectionManager)
-
ConnectionManager_set_censorship_circumvention_enabled
static void ConnectionManager_set_censorship_circumvention_enabled(long connectionManager, boolean enabled)
-
ConnectionManager_set_invalid_proxy
static void ConnectionManager_set_invalid_proxy(long connectionManager)
-
ConnectionManager_set_proxy
static void ConnectionManager_set_proxy(long connectionManager, long proxy)
-
ConnectionManager_set_remote_config
static void ConnectionManager_set_remote_config(long connectionManager, long remoteConfig)
-
ConnectionProxyConfig_Destroy
static void ConnectionProxyConfig_Destroy(long handle)
-
ConnectionProxyConfig_new
static long ConnectionProxyConfig_new(String scheme, String host, int port, String username, String password)
-
CreateCallLinkCredentialPresentation_CheckValidContents
static void CreateCallLinkCredentialPresentation_CheckValidContents(Array<byte> presentationBytes)
-
CreateCallLinkCredentialPresentation_Verify
static void CreateCallLinkCredentialPresentation_Verify(Array<byte> presentationBytes, Array<byte> roomId, long now, Array<byte> serverParamsBytes, Array<byte> callLinkParamsBytes)
-
CreateCallLinkCredentialRequestContext_CheckValidContents
static void CreateCallLinkCredentialRequestContext_CheckValidContents(Array<byte> contextBytes)
-
CreateCallLinkCredentialRequestContext_GetRequest
static Array<byte> CreateCallLinkCredentialRequestContext_GetRequest(Array<byte> contextBytes)
-
CreateCallLinkCredentialRequestContext_NewDeterministic
static Array<byte> CreateCallLinkCredentialRequestContext_NewDeterministic(Array<byte> roomId, Array<byte> randomness)
-
CreateCallLinkCredentialRequestContext_ReceiveResponse
static Array<byte> CreateCallLinkCredentialRequestContext_ReceiveResponse(Array<byte> contextBytes, Array<byte> responseBytes, Array<byte> userId, Array<byte> paramsBytes)
-
CreateCallLinkCredentialRequest_CheckValidContents
static void CreateCallLinkCredentialRequest_CheckValidContents(Array<byte> requestBytes)
-
CreateCallLinkCredentialRequest_IssueDeterministic
static Array<byte> CreateCallLinkCredentialRequest_IssueDeterministic(Array<byte> requestBytes, Array<byte> userId, long timestamp, Array<byte> paramsBytes, Array<byte> randomness)
-
CreateCallLinkCredentialResponse_CheckValidContents
static void CreateCallLinkCredentialResponse_CheckValidContents(Array<byte> responseBytes)
-
CreateCallLinkCredential_CheckValidContents
static void CreateCallLinkCredential_CheckValidContents(Array<byte> paramsBytes)
-
CreateCallLinkCredential_PresentDeterministic
static Array<byte> CreateCallLinkCredential_PresentDeterministic(Array<byte> credentialBytes, Array<byte> roomId, Array<byte> userId, Array<byte> serverParamsBytes, Array<byte> callLinkParamsBytes, Array<byte> randomness)
-
CreateOTPFromBase64
static String CreateOTPFromBase64(String username, String secret)
-
CryptographicHash_Destroy
static void CryptographicHash_Destroy(long handle)
-
CryptographicHash_Finalize
static Array<byte> CryptographicHash_Finalize(long hash)
-
CryptographicHash_New
static long CryptographicHash_New(String algo)
-
CryptographicHash_Update
static void CryptographicHash_Update(long hash, Array<byte> input)
-
CryptographicHash_UpdateWithOffset
static void CryptographicHash_UpdateWithOffset(long hash, Array<byte> input, int offset, int len)
-
CryptographicMac_Destroy
static void CryptographicMac_Destroy(long handle)
-
CryptographicMac_Finalize
static Array<byte> CryptographicMac_Finalize(long mac)
-
CryptographicMac_New
static long CryptographicMac_New(String algo, Array<byte> key)
-
CryptographicMac_Update
static void CryptographicMac_Update(long mac, Array<byte> input)
-
CryptographicMac_UpdateWithOffset
static void CryptographicMac_UpdateWithOffset(long mac, Array<byte> input, int offset, int len)
-
DecryptionErrorMessage_Deserialize
static long DecryptionErrorMessage_Deserialize(Array<byte> data)
-
DecryptionErrorMessage_Destroy
static void DecryptionErrorMessage_Destroy(long handle)
-
DecryptionErrorMessage_ExtractFromSerializedContent
static long DecryptionErrorMessage_ExtractFromSerializedContent(Array<byte> bytes)
-
DecryptionErrorMessage_ForOriginalMessage
static long DecryptionErrorMessage_ForOriginalMessage(Array<byte> originalBytes, int originalType, long originalTimestamp, int originalSenderDeviceId)
-
DecryptionErrorMessage_GetDeviceId
static int DecryptionErrorMessage_GetDeviceId(long obj)
-
DecryptionErrorMessage_GetRatchetKey
static long DecryptionErrorMessage_GetRatchetKey(long m)
-
DecryptionErrorMessage_GetSerialized
static Array<byte> DecryptionErrorMessage_GetSerialized(long obj)
-
DecryptionErrorMessage_GetTimestamp
static long DecryptionErrorMessage_GetTimestamp(long obj)
-
DeviceTransfer_GenerateCertificate
static Array<byte> DeviceTransfer_GenerateCertificate(Array<byte> privateKey, String name, int daysToExpire)
-
DeviceTransfer_GeneratePrivateKey
static Array<byte> DeviceTransfer_GeneratePrivateKey()
-
ECPrivateKey_Agree
static Array<byte> ECPrivateKey_Agree(long privateKey, long publicKey)
-
ECPrivateKey_Deserialize
static long ECPrivateKey_Deserialize(Array<byte> data)
-
ECPrivateKey_Destroy
static void ECPrivateKey_Destroy(long handle)
-
ECPrivateKey_Generate
static long ECPrivateKey_Generate()
-
ECPrivateKey_GetPublicKey
static long ECPrivateKey_GetPublicKey(long k)
-
ECPrivateKey_HpkeOpen
static Array<byte> ECPrivateKey_HpkeOpen(long sk, Array<byte> ciphertext, Array<byte> info, Array<byte> associatedData)
-
ECPrivateKey_Serialize
static Array<byte> ECPrivateKey_Serialize(long obj)
-
ECPrivateKey_Sign
static Array<byte> ECPrivateKey_Sign(long key, Array<byte> message)
-
ECPublicKey_Compare
static int ECPublicKey_Compare(long key1, long key2)
-
ECPublicKey_Deserialize
static long ECPublicKey_Deserialize(Array<byte> data, int offset, int length)
-
ECPublicKey_Destroy
static void ECPublicKey_Destroy(long handle)
-
ECPublicKey_Equals
static boolean ECPublicKey_Equals(long lhs, long rhs)
-
ECPublicKey_GetPublicKeyBytes
static Array<byte> ECPublicKey_GetPublicKeyBytes(long obj)
-
ECPublicKey_HpkeSeal
static Array<byte> ECPublicKey_HpkeSeal(long pk, Array<byte> plaintext, Array<byte> info, Array<byte> associatedData)
-
ECPublicKey_Serialize
static Array<byte> ECPublicKey_Serialize(long obj)
-
ECPublicKey_Verify
static boolean ECPublicKey_Verify(long key, Array<byte> message, Array<byte> signature)
-
ExpiringProfileKeyCredentialResponse_CheckValidContents
static void ExpiringProfileKeyCredentialResponse_CheckValidContents(Array<byte> buffer)
-
ExpiringProfileKeyCredential_CheckValidContents
static void ExpiringProfileKeyCredential_CheckValidContents(Array<byte> buffer)
-
ExpiringProfileKeyCredential_GetExpirationTime
static long ExpiringProfileKeyCredential_GetExpirationTime(Array<byte> credential)
-
GenericServerPublicParams_CheckValidContents
static void GenericServerPublicParams_CheckValidContents(Array<byte> paramsBytes)
-
GenericServerSecretParams_CheckValidContents
static void GenericServerSecretParams_CheckValidContents(Array<byte> paramsBytes)
-
GenericServerSecretParams_GenerateDeterministic
static Array<byte> GenericServerSecretParams_GenerateDeterministic(Array<byte> randomness)
-
GenericServerSecretParams_GetPublicParams
static Array<byte> GenericServerSecretParams_GetPublicParams(Array<byte> paramsBytes)
-
GroupCipher_DecryptMessage
static Array<byte> GroupCipher_DecryptMessage(long sender, Array<byte> message, SenderKeyStore store)
-
GroupCipher_EncryptMessage
static CiphertextMessage GroupCipher_EncryptMessage(long sender, UUID distributionId, Array<byte> message, SenderKeyStore store)
-
GroupMasterKey_CheckValidContents
static void GroupMasterKey_CheckValidContents(Array<byte> buffer)
-
GroupPublicParams_CheckValidContents
static void GroupPublicParams_CheckValidContents(Array<byte> buffer)
-
GroupPublicParams_GetGroupIdentifier
static Array<byte> GroupPublicParams_GetGroupIdentifier(Array<byte> groupPublicParams)
-
GroupSecretParams_CheckValidContents
static void GroupSecretParams_CheckValidContents(Array<byte> buffer)
-
GroupSecretParams_DecryptBlobWithPadding
static Array<byte> GroupSecretParams_DecryptBlobWithPadding(Array<byte> params, Array<byte> ciphertext)
-
GroupSecretParams_DecryptProfileKey
static Array<byte> GroupSecretParams_DecryptProfileKey(Array<byte> params, Array<byte> profileKey, Array<byte> userId)
-
GroupSecretParams_DecryptServiceId
static Array<byte> GroupSecretParams_DecryptServiceId(Array<byte> params, Array<byte> ciphertext)
-
GroupSecretParams_DeriveFromMasterKey
static Array<byte> GroupSecretParams_DeriveFromMasterKey(Array<byte> masterKey)
-
GroupSecretParams_EncryptBlobWithPaddingDeterministic
static Array<byte> GroupSecretParams_EncryptBlobWithPaddingDeterministic(Array<byte> params, Array<byte> randomness, Array<byte> plaintext, int paddingLen)
-
GroupSecretParams_EncryptProfileKey
static Array<byte> GroupSecretParams_EncryptProfileKey(Array<byte> params, Array<byte> profileKey, Array<byte> userId)
-
GroupSecretParams_EncryptServiceId
static Array<byte> GroupSecretParams_EncryptServiceId(Array<byte> params, Array<byte> serviceId)
-
GroupSecretParams_GenerateDeterministic
static Array<byte> GroupSecretParams_GenerateDeterministic(Array<byte> randomness)
-
GroupSecretParams_GetMasterKey
static Array<byte> GroupSecretParams_GetMasterKey(Array<byte> params)
-
GroupSecretParams_GetPublicParams
static Array<byte> GroupSecretParams_GetPublicParams(Array<byte> params)
-
GroupSendDerivedKeyPair_CheckValidContents
static void GroupSendDerivedKeyPair_CheckValidContents(Array<byte> bytes)
-
GroupSendDerivedKeyPair_ForExpiration
static Array<byte> GroupSendDerivedKeyPair_ForExpiration(long expiration, long serverParams)
-
GroupSendEndorsement_CallLinkParams_ToToken
static Array<byte> GroupSendEndorsement_CallLinkParams_ToToken(Array<byte> endorsement, Array<byte> callLinkSecretParamsSerialized)
-
GroupSendEndorsement_CheckValidContents
static void GroupSendEndorsement_CheckValidContents(Array<byte> bytes)
-
GroupSendEndorsement_Combine
static Array<byte> GroupSendEndorsement_Combine(Array<ByteBuffer> endorsements)
-
GroupSendEndorsement_Remove
static Array<byte> GroupSendEndorsement_Remove(Array<byte> endorsement, Array<byte> toRemove)
-
GroupSendEndorsement_ToToken
static Array<byte> GroupSendEndorsement_ToToken(Array<byte> endorsement, Array<byte> groupParams)
-
GroupSendEndorsementsResponse_CheckValidContents
static void GroupSendEndorsementsResponse_CheckValidContents(Array<byte> bytes)
-
GroupSendEndorsementsResponse_GetExpiration
static long GroupSendEndorsementsResponse_GetExpiration(Array<byte> responseBytes)
-
GroupSendEndorsementsResponse_IssueDeterministic
static Array<byte> GroupSendEndorsementsResponse_IssueDeterministic(Array<byte> concatenatedGroupMemberCiphertexts, Array<byte> keyPair, Array<byte> randomness)
-
GroupSendEndorsementsResponse_ReceiveAndCombineWithCiphertexts
static Array<Array<byte>> GroupSendEndorsementsResponse_ReceiveAndCombineWithCiphertexts(Array<byte> responseBytes, Array<byte> concatenatedGroupMemberCiphertexts, Array<byte> localUserCiphertext, long now, long serverParams)
-
GroupSendEndorsementsResponse_ReceiveAndCombineWithServiceIds
static Array<Array<byte>> GroupSendEndorsementsResponse_ReceiveAndCombineWithServiceIds(Array<byte> responseBytes, Array<byte> groupMembers, Array<byte> localUser, long now, Array<byte> groupParams, long serverParams)
-
GroupSendFullToken_CheckValidContents
static void GroupSendFullToken_CheckValidContents(Array<byte> bytes)
-
GroupSendFullToken_GetExpiration
static long GroupSendFullToken_GetExpiration(Array<byte> token)
-
GroupSendFullToken_Verify
static void GroupSendFullToken_Verify(Array<byte> token, Array<byte> userIds, long now, Array<byte> keyPair)
-
GroupSendToken_CheckValidContents
static void GroupSendToken_CheckValidContents(Array<byte> bytes)
-
GroupSendToken_ToFullToken
static Array<byte> GroupSendToken_ToFullToken(Array<byte> token, long expiration)
-
GroupSessionBuilder_CreateSenderKeyDistributionMessage
static long GroupSessionBuilder_CreateSenderKeyDistributionMessage(long sender, UUID distributionId, SenderKeyStore store)
-
GroupSessionBuilder_ProcessSenderKeyDistributionMessage
static void GroupSessionBuilder_ProcessSenderKeyDistributionMessage(long sender, long senderKeyDistributionMessage, SenderKeyStore store)
-
HKDF_DeriveSecrets
static Array<byte> HKDF_DeriveSecrets(int outputLength, Array<byte> ikm, Array<byte> label, Array<byte> salt)
-
HsmEnclaveClient_CompleteHandshake
static void HsmEnclaveClient_CompleteHandshake(long cli, Array<byte> handshakeReceived)
-
HsmEnclaveClient_Destroy
static void HsmEnclaveClient_Destroy(long handle)
-
HsmEnclaveClient_EstablishedRecv
static Array<byte> HsmEnclaveClient_EstablishedRecv(long cli, Array<byte> receivedCiphertext)
-
HsmEnclaveClient_EstablishedSend
static Array<byte> HsmEnclaveClient_EstablishedSend(long cli, Array<byte> plaintextToSend)
-
HsmEnclaveClient_InitialRequest
static Array<byte> HsmEnclaveClient_InitialRequest(long obj)
-
HsmEnclaveClient_New
static long HsmEnclaveClient_New(Array<byte> trustedPublicKey, Array<byte> trustedCodeHashes)
-
HttpRequest_Destroy
static void HttpRequest_Destroy(long handle)
-
HttpRequest_add_header
static void HttpRequest_add_header(long request, String name, String value)
-
HttpRequest_new
static long HttpRequest_new(String method, String path, Array<byte> bodyAsSlice)
-
IdentityKeyPair_Deserialize
static Array<long> IdentityKeyPair_Deserialize(Array<byte> data)
-
IdentityKeyPair_Serialize
static Array<byte> IdentityKeyPair_Serialize(long publicKey, long privateKey)
-
IdentityKeyPair_SignAlternateIdentity
static Array<byte> IdentityKeyPair_SignAlternateIdentity(long publicKey, long privateKey, long otherIdentity)
-
IdentityKey_VerifyAlternateIdentity
static boolean IdentityKey_VerifyAlternateIdentity(long publicKey, long otherIdentity, Array<byte> signature)
-
IncrementalMac_CalculateChunkSize
static int IncrementalMac_CalculateChunkSize(int dataSize)
-
IncrementalMac_Destroy
static void IncrementalMac_Destroy(long handle)
-
IncrementalMac_Finalize
static Array<byte> IncrementalMac_Finalize(long mac)
-
IncrementalMac_Initialize
static long IncrementalMac_Initialize(Array<byte> key, int chunkSize)
-
IncrementalMac_Update
static Array<byte> IncrementalMac_Update(long mac, Array<byte> bytes, int offset, int length)
-
KeyTransparency_AciSearchKey
static Array<byte> KeyTransparency_AciSearchKey(Array<byte> aci)
-
KeyTransparency_Distinguished
static CompletableFuture<Array<byte>> KeyTransparency_Distinguished(long asyncRuntime, int environment, long chatConnection, Array<byte> lastDistinguishedTreeHead)
-
KeyTransparency_E164SearchKey
static Array<byte> KeyTransparency_E164SearchKey(String e164)
-
KeyTransparency_Monitor
static CompletableFuture<Array<byte>> KeyTransparency_Monitor(long asyncRuntime, int environment, long chatConnection, Array<byte> aci, long aciIdentityKey, String e164, Array<byte> unidentifiedAccessKey, Array<byte> usernameHash, Array<byte> accountData, Array<byte> lastDistinguishedTreeHead)
-
KeyTransparency_Search
static CompletableFuture<Array<byte>> KeyTransparency_Search(long asyncRuntime, int environment, long chatConnection, Array<byte> aci, long aciIdentityKey, String e164, Array<byte> unidentifiedAccessKey, Array<byte> usernameHash, Array<byte> accountData, Array<byte> lastDistinguishedTreeHead)
-
KeyTransparency_UsernameHashSearchKey
static Array<byte> KeyTransparency_UsernameHashSearchKey(Array<byte> hash)
-
KyberKeyPair_Destroy
static void KyberKeyPair_Destroy(long handle)
-
KyberKeyPair_Generate
static long KyberKeyPair_Generate()
-
KyberKeyPair_GetPublicKey
static long KyberKeyPair_GetPublicKey(long keyPair)
-
KyberKeyPair_GetSecretKey
static long KyberKeyPair_GetSecretKey(long keyPair)
-
KyberPreKeyRecord_Deserialize
static long KyberPreKeyRecord_Deserialize(Array<byte> data)
-
KyberPreKeyRecord_Destroy
static void KyberPreKeyRecord_Destroy(long handle)
-
KyberPreKeyRecord_GetId
static int KyberPreKeyRecord_GetId(long obj)
-
KyberPreKeyRecord_GetKeyPair
static long KyberPreKeyRecord_GetKeyPair(long obj)
-
KyberPreKeyRecord_GetPublicKey
static long KyberPreKeyRecord_GetPublicKey(long obj)
-
KyberPreKeyRecord_GetSecretKey
static long KyberPreKeyRecord_GetSecretKey(long obj)
-
KyberPreKeyRecord_GetSerialized
static Array<byte> KyberPreKeyRecord_GetSerialized(long obj)
-
KyberPreKeyRecord_GetSignature
static Array<byte> KyberPreKeyRecord_GetSignature(long obj)
-
KyberPreKeyRecord_GetTimestamp
static long KyberPreKeyRecord_GetTimestamp(long obj)
-
KyberPreKeyRecord_New
static long KyberPreKeyRecord_New(int id, long timestamp, long keyPair, Array<byte> signature)
-
KyberPublicKey_DeserializeWithOffsetLength
static long KyberPublicKey_DeserializeWithOffsetLength(Array<byte> data, int offset, int length)
-
KyberPublicKey_Destroy
static void KyberPublicKey_Destroy(long handle)
-
KyberPublicKey_Equals
static boolean KyberPublicKey_Equals(long lhs, long rhs)
-
KyberPublicKey_Serialize
static Array<byte> KyberPublicKey_Serialize(long obj)
-
KyberSecretKey_Deserialize
static long KyberSecretKey_Deserialize(Array<byte> data)
-
KyberSecretKey_Destroy
static void KyberSecretKey_Destroy(long handle)
-
KyberSecretKey_Serialize
static Array<byte> KyberSecretKey_Serialize(long obj)
-
Logger_Initialize
static void Logger_Initialize(int maxLevel, Class loggerClass)
-
Logger_SetMaxLevel
static void Logger_SetMaxLevel(int maxLevel)
-
LookupRequest_Destroy
static void LookupRequest_Destroy(long handle)
-
LookupRequest_addAciAndAccessKey
static void LookupRequest_addAciAndAccessKey(long request, Array<byte> aci, Array<byte> accessKey)
-
LookupRequest_addE164
static void LookupRequest_addE164(long request, String e164)
-
LookupRequest_addPreviousE164
static void LookupRequest_addPreviousE164(long request, String e164)
-
LookupRequest_new
static long LookupRequest_new()
-
LookupRequest_setToken
static void LookupRequest_setToken(long request, Array<byte> token)
-
MessageBackupKey_Destroy
static void MessageBackupKey_Destroy(long handle)
-
MessageBackupKey_FromAccountEntropyPool
static long MessageBackupKey_FromAccountEntropyPool(String accountEntropy, Array<byte> aci, Array<byte> forwardSecrecyToken)
-
MessageBackupKey_FromBackupKeyAndBackupId
static long MessageBackupKey_FromBackupKeyAndBackupId(Array<byte> backupKey, Array<byte> backupId, Array<byte> forwardSecrecyToken)
-
MessageBackupKey_FromParts
static long MessageBackupKey_FromParts(Array<byte> hmacKey, Array<byte> aesKey)
-
MessageBackupKey_GetAesKey
static Array<byte> MessageBackupKey_GetAesKey(long key)
-
MessageBackupKey_GetHmacKey
static Array<byte> MessageBackupKey_GetHmacKey(long key)
-
MessageBackupValidator_Validate
static Object MessageBackupValidator_Validate(long key, InputStream firstStream, InputStream secondStream, long len, int purpose)
-
Mp4Sanitizer_Sanitize
static long Mp4Sanitizer_Sanitize(InputStream input, long len)
-
Mp4Sanitizer_Sanitize_File_With_Compounded_MDAT_Boxes
static long Mp4Sanitizer_Sanitize_File_With_Compounded_MDAT_Boxes(InputStream input, long len, int cumulativeMdatBoxSize)
-
NumericFingerprintGenerator_Destroy
static void NumericFingerprintGenerator_Destroy(long handle)
-
NumericFingerprintGenerator_GetDisplayString
static String NumericFingerprintGenerator_GetDisplayString(long obj)
-
NumericFingerprintGenerator_GetScannableEncoding
static Array<byte> NumericFingerprintGenerator_GetScannableEncoding(long obj)
-
NumericFingerprintGenerator_New
static long NumericFingerprintGenerator_New(int iterations, int version, Array<byte> localIdentifier, Array<byte> localKey, Array<byte> remoteIdentifier, Array<byte> remoteKey)
-
OnlineBackupValidator_AddFrame
static void OnlineBackupValidator_AddFrame(long backup, Array<byte> frame)
-
OnlineBackupValidator_Destroy
static void OnlineBackupValidator_Destroy(long handle)
-
OnlineBackupValidator_Finalize
static void OnlineBackupValidator_Finalize(long backup)
-
OnlineBackupValidator_New
static long OnlineBackupValidator_New(Array<byte> backupInfoFrame, int purpose)
-
PinHash_AccessKey
static Array<byte> PinHash_AccessKey(long ph)
-
PinHash_Destroy
static void PinHash_Destroy(long handle)
-
PinHash_EncryptionKey
static Array<byte> PinHash_EncryptionKey(long ph)
-
PinHash_FromSalt
static long PinHash_FromSalt(Array<byte> pin, Array<byte> salt)
-
PinHash_FromUsernameMrenclave
static long PinHash_FromUsernameMrenclave(Array<byte> pin, String username, Array<byte> mrenclave)
-
Pin_LocalHash
static String Pin_LocalHash(Array<byte> pin)
-
Pin_VerifyLocalHash
static boolean Pin_VerifyLocalHash(String encodedHash, Array<byte> pin)
-
PlaintextContent_Deserialize
static long PlaintextContent_Deserialize(Array<byte> data)
-
PlaintextContent_DeserializeAndGetContent
static Array<byte> PlaintextContent_DeserializeAndGetContent(Array<byte> bytes)
-
PlaintextContent_Destroy
static void PlaintextContent_Destroy(long handle)
-
PlaintextContent_FromDecryptionErrorMessage
static long PlaintextContent_FromDecryptionErrorMessage(long m)
-
PlaintextContent_GetBody
static Array<byte> PlaintextContent_GetBody(long obj)
-
PlaintextContent_GetSerialized
static Array<byte> PlaintextContent_GetSerialized(long obj)
-
PreKeyBundle_Destroy
static void PreKeyBundle_Destroy(long handle)
-
PreKeyBundle_GetDeviceId
static int PreKeyBundle_GetDeviceId(long obj)
-
PreKeyBundle_GetIdentityKey
static long PreKeyBundle_GetIdentityKey(long p)
-
PreKeyBundle_GetKyberPreKeyId
static int PreKeyBundle_GetKyberPreKeyId(long obj)
-
PreKeyBundle_GetKyberPreKeyPublic
static long PreKeyBundle_GetKyberPreKeyPublic(long bundle)
-
PreKeyBundle_GetKyberPreKeySignature
static Array<byte> PreKeyBundle_GetKyberPreKeySignature(long obj)
-
PreKeyBundle_GetPreKeyId
static int PreKeyBundle_GetPreKeyId(long obj)
-
PreKeyBundle_GetPreKeyPublic
static long PreKeyBundle_GetPreKeyPublic(long obj)
-
PreKeyBundle_GetRegistrationId
static int PreKeyBundle_GetRegistrationId(long obj)
-
PreKeyBundle_GetSignedPreKeyId
static int PreKeyBundle_GetSignedPreKeyId(long obj)
-
PreKeyBundle_GetSignedPreKeyPublic
static long PreKeyBundle_GetSignedPreKeyPublic(long obj)
-
PreKeyBundle_GetSignedPreKeySignature
static Array<byte> PreKeyBundle_GetSignedPreKeySignature(long obj)
-
PreKeyBundle_New
static long PreKeyBundle_New(int registrationId, int deviceId, int prekeyId, long prekey, int signedPrekeyId, long signedPrekey, Array<byte> signedPrekeySignature, long identityKey, int kyberPrekeyId, long kyberPrekey, Array<byte> kyberPrekeySignature)
-
PreKeyRecord_Deserialize
static long PreKeyRecord_Deserialize(Array<byte> data)
-
PreKeyRecord_Destroy
static void PreKeyRecord_Destroy(long handle)
-
PreKeyRecord_GetId
static int PreKeyRecord_GetId(long obj)
-
PreKeyRecord_GetPrivateKey
static long PreKeyRecord_GetPrivateKey(long obj)
-
PreKeyRecord_GetPublicKey
static long PreKeyRecord_GetPublicKey(long obj)
-
PreKeyRecord_GetSerialized
static Array<byte> PreKeyRecord_GetSerialized(long obj)
-
PreKeyRecord_New
static long PreKeyRecord_New(int id, long pubKey, long privKey)
-
PreKeySignalMessage_Deserialize
static long PreKeySignalMessage_Deserialize(Array<byte> data)
-
PreKeySignalMessage_Destroy
static void PreKeySignalMessage_Destroy(long handle)
-
PreKeySignalMessage_GetBaseKey
static long PreKeySignalMessage_GetBaseKey(long m)
-
PreKeySignalMessage_GetIdentityKey
static long PreKeySignalMessage_GetIdentityKey(long m)
-
PreKeySignalMessage_GetPreKeyId
static int PreKeySignalMessage_GetPreKeyId(long obj)
-
PreKeySignalMessage_GetRegistrationId
static int PreKeySignalMessage_GetRegistrationId(long obj)
-
PreKeySignalMessage_GetSerialized
static Array<byte> PreKeySignalMessage_GetSerialized(long obj)
-
PreKeySignalMessage_GetSignalMessage
static long PreKeySignalMessage_GetSignalMessage(long m)
-
PreKeySignalMessage_GetSignedPreKeyId
static int PreKeySignalMessage_GetSignedPreKeyId(long obj)
-
PreKeySignalMessage_GetVersion
static int PreKeySignalMessage_GetVersion(long obj)
-
PreKeySignalMessage_New
static long PreKeySignalMessage_New(int messageVersion, int registrationId, int preKeyId, int signedPreKeyId, long baseKey, long identityKey, long signalMessage)
-
ProfileKeyCiphertext_CheckValidContents
static void ProfileKeyCiphertext_CheckValidContents(Array<byte> buffer)
-
ProfileKeyCommitment_CheckValidContents
static void ProfileKeyCommitment_CheckValidContents(Array<byte> buffer)
-
ProfileKeyCredentialPresentation_CheckValidContents
static void ProfileKeyCredentialPresentation_CheckValidContents(Array<byte> presentationBytes)
-
ProfileKeyCredentialPresentation_GetProfileKeyCiphertext
static Array<byte> ProfileKeyCredentialPresentation_GetProfileKeyCiphertext(Array<byte> presentationBytes)
-
ProfileKeyCredentialPresentation_GetStructurallyValidV1PresentationBytes
static Array<byte> ProfileKeyCredentialPresentation_GetStructurallyValidV1PresentationBytes(Array<byte> presentationBytes)
-
ProfileKeyCredentialPresentation_GetUuidCiphertext
static Array<byte> ProfileKeyCredentialPresentation_GetUuidCiphertext(Array<byte> presentationBytes)
-
ProfileKeyCredentialRequestContext_CheckValidContents
static void ProfileKeyCredentialRequestContext_CheckValidContents(Array<byte> buffer)
-
ProfileKeyCredentialRequestContext_GetRequest
static Array<byte> ProfileKeyCredentialRequestContext_GetRequest(Array<byte> context)
-
ProfileKeyCredentialRequest_CheckValidContents
static void ProfileKeyCredentialRequest_CheckValidContents(Array<byte> buffer)
-
ProfileKey_CheckValidContents
static void ProfileKey_CheckValidContents(Array<byte> buffer)
-
ProfileKey_DeriveAccessKey
static Array<byte> ProfileKey_DeriveAccessKey(Array<byte> profileKey)
-
ProfileKey_GetCommitment
static Array<byte> ProfileKey_GetCommitment(Array<byte> profileKey, Array<byte> userId)
-
ProfileKey_GetProfileKeyVersion
static Array<byte> ProfileKey_GetProfileKeyVersion(Array<byte> profileKey, Array<byte> userId)
-
ProtocolAddress_Destroy
static void ProtocolAddress_Destroy(long handle)
-
ProtocolAddress_DeviceId
static int ProtocolAddress_DeviceId(long obj)
-
ProtocolAddress_Name
static String ProtocolAddress_Name(long obj)
-
ProtocolAddress_New
static long ProtocolAddress_New(String name, int deviceId)
-
ReceiptCredentialPresentation_CheckValidContents
static void ReceiptCredentialPresentation_CheckValidContents(Array<byte> buffer)
-
ReceiptCredentialPresentation_GetReceiptExpirationTime
static long ReceiptCredentialPresentation_GetReceiptExpirationTime(Array<byte> presentation)
-
ReceiptCredentialPresentation_GetReceiptLevel
static long ReceiptCredentialPresentation_GetReceiptLevel(Array<byte> presentation)
-
ReceiptCredentialPresentation_GetReceiptSerial
static Array<byte> ReceiptCredentialPresentation_GetReceiptSerial(Array<byte> presentation)
-
ReceiptCredentialRequestContext_CheckValidContents
static void ReceiptCredentialRequestContext_CheckValidContents(Array<byte> buffer)
-
ReceiptCredentialRequestContext_GetRequest
static Array<byte> ReceiptCredentialRequestContext_GetRequest(Array<byte> requestContext)
-
ReceiptCredentialRequest_CheckValidContents
static void ReceiptCredentialRequest_CheckValidContents(Array<byte> buffer)
-
ReceiptCredentialResponse_CheckValidContents
static void ReceiptCredentialResponse_CheckValidContents(Array<byte> buffer)
-
ReceiptCredential_CheckValidContents
static void ReceiptCredential_CheckValidContents(Array<byte> buffer)
-
ReceiptCredential_GetReceiptExpirationTime
static long ReceiptCredential_GetReceiptExpirationTime(Array<byte> receiptCredential)
-
ReceiptCredential_GetReceiptLevel
static long ReceiptCredential_GetReceiptLevel(Array<byte> receiptCredential)
-
RegisterAccountRequest_Create
static long RegisterAccountRequest_Create()
-
RegisterAccountRequest_Destroy
static void RegisterAccountRequest_Destroy(long handle)
-
RegisterAccountRequest_SetAccountPassword
static void RegisterAccountRequest_SetAccountPassword(long registerAccount, String accountPassword)
-
RegisterAccountRequest_SetGcmPushToken
static void RegisterAccountRequest_SetGcmPushToken(long registerAccount, String gcmPushToken)
-
RegisterAccountRequest_SetIdentityPqLastResortPreKey
static void RegisterAccountRequest_SetIdentityPqLastResortPreKey(long registerAccount, int identityType, SignedPublicPreKey pqLastResortPreKey)
-
RegisterAccountRequest_SetIdentityPublicKey
static void RegisterAccountRequest_SetIdentityPublicKey(long registerAccount, int identityType, long identityKey)
-
RegisterAccountRequest_SetIdentitySignedPreKey
static void RegisterAccountRequest_SetIdentitySignedPreKey(long registerAccount, int identityType, SignedPublicPreKey signedPreKey)
-
RegisterAccountRequest_SetSkipDeviceTransfer
static void RegisterAccountRequest_SetSkipDeviceTransfer(long registerAccount)
-
RegisterAccountResponse_Destroy
static void RegisterAccountResponse_Destroy(long handle)
-
RegisterAccountResponse_GetEntitlementBackupExpirationSeconds
static long RegisterAccountResponse_GetEntitlementBackupExpirationSeconds(long response)
-
RegisterAccountResponse_GetEntitlementBackupLevel
static long RegisterAccountResponse_GetEntitlementBackupLevel(long response)
-
RegisterAccountResponse_GetEntitlementBadges
static Array<Object> RegisterAccountResponse_GetEntitlementBadges(long response)
-
RegisterAccountResponse_GetIdentity
static Array<byte> RegisterAccountResponse_GetIdentity(long response, int identityType)
-
RegisterAccountResponse_GetNumber
static String RegisterAccountResponse_GetNumber(long response)
-
RegisterAccountResponse_GetReregistration
static boolean RegisterAccountResponse_GetReregistration(long response)
-
RegisterAccountResponse_GetStorageCapable
static boolean RegisterAccountResponse_GetStorageCapable(long response)
-
RegisterAccountResponse_GetUsernameHash
static Array<byte> RegisterAccountResponse_GetUsernameHash(long response)
-
RegisterAccountResponse_GetUsernameLinkHandle
static UUID RegisterAccountResponse_GetUsernameLinkHandle(long response)
-
RegistrationAccountAttributes_Create
static long RegistrationAccountAttributes_Create(Array<byte> recoveryPassword, int aciRegistrationId, int pniRegistrationId, String registrationLock, Array<byte> unidentifiedAccessKey, boolean unrestrictedUnidentifiedAccess, Array<Object> capabilities, boolean discoverableByPhoneNumber)
-
RegistrationAccountAttributes_Destroy
static void RegistrationAccountAttributes_Destroy(long handle)
-
RegistrationService_CheckSvr2Credentials
static CompletableFuture<Object> RegistrationService_CheckSvr2Credentials(long asyncRuntime, long service, Array<Object> svrTokens)
-
RegistrationService_CreateSession
static CompletableFuture<Long> RegistrationService_CreateSession(long asyncRuntime, Object createSession, ConnectChatBridge connectChat)
-
RegistrationService_Destroy
static void RegistrationService_Destroy(long handle)
-
RegistrationService_RegisterAccount
static CompletableFuture<Long> RegistrationService_RegisterAccount(long asyncRuntime, long service, long registerAccount, long accountAttributes)
-
RegistrationService_RegistrationSession
static long RegistrationService_RegistrationSession(long service)
-
RegistrationService_RequestPushChallenge
static CompletableFuture<Void> RegistrationService_RequestPushChallenge(long asyncRuntime, long service, String pushToken)
-
RegistrationService_RequestVerificationCode
static CompletableFuture<Void> RegistrationService_RequestVerificationCode(long asyncRuntime, long service, String transport, String client, Array<Object> languages)
-
RegistrationService_ReregisterAccount
static CompletableFuture<Long> RegistrationService_ReregisterAccount(long asyncRuntime, ConnectChatBridge connectChat, String number, long registerAccount, long accountAttributes)
-
RegistrationService_ResumeSession
static CompletableFuture<Long> RegistrationService_ResumeSession(long asyncRuntime, String sessionId, String number, ConnectChatBridge connectChat)
-
RegistrationService_SessionId
static String RegistrationService_SessionId(long service)
-
RegistrationService_SubmitCaptcha
static CompletableFuture<Void> RegistrationService_SubmitCaptcha(long asyncRuntime, long service, String captchaValue)
-
RegistrationService_SubmitPushChallenge
static CompletableFuture<Void> RegistrationService_SubmitPushChallenge(long asyncRuntime, long service, String pushChallenge)
-
RegistrationService_SubmitVerificationCode
static CompletableFuture<Void> RegistrationService_SubmitVerificationCode(long asyncRuntime, long service, String code)
-
RegistrationSession_Destroy
static void RegistrationSession_Destroy(long handle)
-
RegistrationSession_GetAllowedToRequestCode
static boolean RegistrationSession_GetAllowedToRequestCode(long session)
-
RegistrationSession_GetNextCallSeconds
static int RegistrationSession_GetNextCallSeconds(long session)
-
RegistrationSession_GetNextSmsSeconds
static int RegistrationSession_GetNextSmsSeconds(long session)
-
RegistrationSession_GetNextVerificationAttemptSeconds
static int RegistrationSession_GetNextVerificationAttemptSeconds(long session)
-
RegistrationSession_GetRequestedInformation
static Array<Object> RegistrationSession_GetRequestedInformation(long session)
-
RegistrationSession_GetVerified
static boolean RegistrationSession_GetVerified(long session)
-
SanitizedMetadata_Destroy
static void SanitizedMetadata_Destroy(long handle)
-
SanitizedMetadata_GetDataLen
static long SanitizedMetadata_GetDataLen(long sanitized)
-
SanitizedMetadata_GetDataOffset
static long SanitizedMetadata_GetDataOffset(long sanitized)
-
SanitizedMetadata_GetMetadata
static Array<byte> SanitizedMetadata_GetMetadata(long sanitized)
-
ScannableFingerprint_Compare
static boolean ScannableFingerprint_Compare(Array<byte> fprint1, Array<byte> fprint2)
-
SealedSender_MultiRecipientParseSentMessage
static Object SealedSender_MultiRecipientParseSentMessage(Array<byte> data)
-
SealedSessionCipher_DecryptToUsmc
static long SealedSessionCipher_DecryptToUsmc(Array<byte> ctext, IdentityKeyStore identityStore)
-
SealedSessionCipher_Encrypt
static Array<byte> SealedSessionCipher_Encrypt(long destination, long content, IdentityKeyStore identityKeyStore)
-
SealedSessionCipher_MultiRecipientEncrypt
static Array<byte> SealedSessionCipher_MultiRecipientEncrypt(Array<long> recipients, Array<long> recipientSessions, Array<byte> excludedRecipients, long content, IdentityKeyStore identityKeyStore)
-
SealedSessionCipher_MultiRecipientMessageForSingleRecipient
static Array<byte> SealedSessionCipher_MultiRecipientMessageForSingleRecipient(Array<byte> encodedMultiRecipientMessage)
-
SecureValueRecoveryForBackups_CreateNewBackupChain
static Array<byte> SecureValueRecoveryForBackups_CreateNewBackupChain(int environment, Array<byte> backupKey)
-
SecureValueRecoveryForBackups_RestoreBackupFromServer
static CompletableFuture<Long> SecureValueRecoveryForBackups_RestoreBackupFromServer(long asyncRuntime, Array<byte> backupKey, Array<byte> metadata, long connectionManager, String username, String password)
-
SecureValueRecoveryForBackups_StoreBackup
static CompletableFuture<Long> SecureValueRecoveryForBackups_StoreBackup(long asyncRuntime, Array<byte> backupKey, Array<byte> previousSecretData, long connectionManager, String username, String password)
-
SenderCertificate_Deserialize
static long SenderCertificate_Deserialize(Array<byte> data)
-
SenderCertificate_Destroy
static void SenderCertificate_Destroy(long handle)
-
SenderCertificate_GetCertificate
static Array<byte> SenderCertificate_GetCertificate(long obj)
-
SenderCertificate_GetDeviceId
static int SenderCertificate_GetDeviceId(long obj)
-
SenderCertificate_GetExpiration
static long SenderCertificate_GetExpiration(long obj)
-
SenderCertificate_GetKey
static long SenderCertificate_GetKey(long obj)
-
SenderCertificate_GetSenderE164
static String SenderCertificate_GetSenderE164(long obj)
-
SenderCertificate_GetSenderUuid
static String SenderCertificate_GetSenderUuid(long obj)
-
SenderCertificate_GetSerialized
static Array<byte> SenderCertificate_GetSerialized(long obj)
-
SenderCertificate_GetServerCertificate
static long SenderCertificate_GetServerCertificate(long cert)
-
SenderCertificate_GetSignature
static Array<byte> SenderCertificate_GetSignature(long obj)
-
SenderCertificate_New
static long SenderCertificate_New(String senderUuid, String senderE164, int senderDeviceId, long senderKey, long expiration, long signerCert, long signerKey)
-
SenderCertificate_Validate
static boolean SenderCertificate_Validate(long cert, long key, long time)
-
SenderKeyDistributionMessage_Deserialize
static long SenderKeyDistributionMessage_Deserialize(Array<byte> data)
-
SenderKeyDistributionMessage_Destroy
static void SenderKeyDistributionMessage_Destroy(long handle)
-
SenderKeyDistributionMessage_GetChainId
static int SenderKeyDistributionMessage_GetChainId(long obj)
-
SenderKeyDistributionMessage_GetChainKey
static Array<byte> SenderKeyDistributionMessage_GetChainKey(long obj)
-
SenderKeyDistributionMessage_GetDistributionId
static UUID SenderKeyDistributionMessage_GetDistributionId(long obj)
-
SenderKeyDistributionMessage_GetIteration
static int SenderKeyDistributionMessage_GetIteration(long obj)
-
SenderKeyDistributionMessage_GetSerialized
static Array<byte> SenderKeyDistributionMessage_GetSerialized(long obj)
-
SenderKeyDistributionMessage_GetSignatureKey
static long SenderKeyDistributionMessage_GetSignatureKey(long m)
-
SenderKeyDistributionMessage_New
static long SenderKeyDistributionMessage_New(int messageVersion, UUID distributionId, int chainId, int iteration, Array<byte> chainkey, long pk)
-
SenderKeyMessage_Deserialize
static long SenderKeyMessage_Deserialize(Array<byte> data)
-
SenderKeyMessage_Destroy
static void SenderKeyMessage_Destroy(long handle)
-
SenderKeyMessage_GetChainId
static int SenderKeyMessage_GetChainId(long obj)
-
SenderKeyMessage_GetCipherText
static Array<byte> SenderKeyMessage_GetCipherText(long obj)
-
SenderKeyMessage_GetDistributionId
static UUID SenderKeyMessage_GetDistributionId(long obj)
-
SenderKeyMessage_GetIteration
static int SenderKeyMessage_GetIteration(long obj)
-
SenderKeyMessage_GetSerialized
static Array<byte> SenderKeyMessage_GetSerialized(long obj)
-
SenderKeyMessage_New
static long SenderKeyMessage_New(int messageVersion, UUID distributionId, int chainId, int iteration, Array<byte> ciphertext, long pk)
-
SenderKeyMessage_VerifySignature
static boolean SenderKeyMessage_VerifySignature(long skm, long pubkey)
-
SenderKeyRecord_Deserialize
static long SenderKeyRecord_Deserialize(Array<byte> data)
-
SenderKeyRecord_Destroy
static void SenderKeyRecord_Destroy(long handle)
-
SenderKeyRecord_GetSerialized
static Array<byte> SenderKeyRecord_GetSerialized(long obj)
-
ServerCertificate_Deserialize
static long ServerCertificate_Deserialize(Array<byte> data)
-
ServerCertificate_Destroy
static void ServerCertificate_Destroy(long handle)
-
ServerCertificate_GetCertificate
static Array<byte> ServerCertificate_GetCertificate(long obj)
-
ServerCertificate_GetKey
static long ServerCertificate_GetKey(long obj)
-
ServerCertificate_GetKeyId
static int ServerCertificate_GetKeyId(long obj)
-
ServerCertificate_GetSerialized
static Array<byte> ServerCertificate_GetSerialized(long obj)
-
ServerCertificate_GetSignature
static Array<byte> ServerCertificate_GetSignature(long obj)
-
ServerCertificate_New
static long ServerCertificate_New(int keyId, long serverKey, long trustRoot)
-
ServerMessageAck_Destroy
static void ServerMessageAck_Destroy(long handle)
-
ServerMessageAck_Send
static void ServerMessageAck_Send(long ack)
-
ServerPublicParams_CreateAuthCredentialWithPniPresentationDeterministic
static Array<byte> ServerPublicParams_CreateAuthCredentialWithPniPresentationDeterministic(long serverPublicParams, Array<byte> randomness, Array<byte> groupSecretParams, Array<byte> authCredentialWithPniBytes)
-
ServerPublicParams_CreateExpiringProfileKeyCredentialPresentationDeterministic
static Array<byte> ServerPublicParams_CreateExpiringProfileKeyCredentialPresentationDeterministic(long serverPublicParams, Array<byte> randomness, Array<byte> groupSecretParams, Array<byte> profileKeyCredential)
-
ServerPublicParams_CreateProfileKeyCredentialRequestContextDeterministic
static Array<byte> ServerPublicParams_CreateProfileKeyCredentialRequestContextDeterministic(long serverPublicParams, Array<byte> randomness, Array<byte> userId, Array<byte> profileKey)
-
ServerPublicParams_CreateReceiptCredentialPresentationDeterministic
static Array<byte> ServerPublicParams_CreateReceiptCredentialPresentationDeterministic(long serverPublicParams, Array<byte> randomness, Array<byte> receiptCredential)
-
ServerPublicParams_CreateReceiptCredentialRequestContextDeterministic
static Array<byte> ServerPublicParams_CreateReceiptCredentialRequestContextDeterministic(long serverPublicParams, Array<byte> randomness, Array<byte> receiptSerial)
-
ServerPublicParams_Deserialize
static long ServerPublicParams_Deserialize(Array<byte> buffer)
-
ServerPublicParams_Destroy
static void ServerPublicParams_Destroy(long handle)
-
ServerPublicParams_GetEndorsementPublicKey
static Array<byte> ServerPublicParams_GetEndorsementPublicKey(long params)
-
ServerPublicParams_ReceiveAuthCredentialWithPniAsServiceId
static Array<byte> ServerPublicParams_ReceiveAuthCredentialWithPniAsServiceId(long params, Array<byte> aci, Array<byte> pni, long redemptionTime, Array<byte> authCredentialWithPniResponseBytes)
-
ServerPublicParams_ReceiveExpiringProfileKeyCredential
static Array<byte> ServerPublicParams_ReceiveExpiringProfileKeyCredential(long serverPublicParams, Array<byte> requestContext, Array<byte> response, long currentTimeInSeconds)
-
ServerPublicParams_ReceiveReceiptCredential
static Array<byte> ServerPublicParams_ReceiveReceiptCredential(long serverPublicParams, Array<byte> requestContext, Array<byte> response)
-
ServerPublicParams_Serialize
static Array<byte> ServerPublicParams_Serialize(long handle)
-
ServerPublicParams_VerifySignature
static void ServerPublicParams_VerifySignature(long serverPublicParams, Array<byte> message, Array<byte> notarySignature)
-
ServerSecretParams_Deserialize
static long ServerSecretParams_Deserialize(Array<byte> buffer)
-
ServerSecretParams_Destroy
static void ServerSecretParams_Destroy(long handle)
-
ServerSecretParams_GenerateDeterministic
static long ServerSecretParams_GenerateDeterministic(Array<byte> randomness)
-
ServerSecretParams_GetPublicParams
static long ServerSecretParams_GetPublicParams(long params)
-
ServerSecretParams_IssueAuthCredentialWithPniZkcDeterministic
static Array<byte> ServerSecretParams_IssueAuthCredentialWithPniZkcDeterministic(long serverSecretParams, Array<byte> randomness, Array<byte> aci, Array<byte> pni, long redemptionTime)
-
ServerSecretParams_IssueExpiringProfileKeyCredentialDeterministic
static Array<byte> ServerSecretParams_IssueExpiringProfileKeyCredentialDeterministic(long serverSecretParams, Array<byte> randomness, Array<byte> request, Array<byte> userId, Array<byte> commitment, long expirationInSeconds)
-
ServerSecretParams_IssueReceiptCredentialDeterministic
static Array<byte> ServerSecretParams_IssueReceiptCredentialDeterministic(long serverSecretParams, Array<byte> randomness, Array<byte> request, long receiptExpirationTime, long receiptLevel)
-
ServerSecretParams_Serialize
static Array<byte> ServerSecretParams_Serialize(long handle)
-
ServerSecretParams_SignDeterministic
static Array<byte> ServerSecretParams_SignDeterministic(long params, Array<byte> randomness, Array<byte> message)
-
ServerSecretParams_VerifyAuthCredentialPresentation
static void ServerSecretParams_VerifyAuthCredentialPresentation(long serverSecretParams, Array<byte> groupPublicParams, Array<byte> presentationBytes, long currentTimeInSeconds)
-
ServerSecretParams_VerifyProfileKeyCredentialPresentation
static void ServerSecretParams_VerifyProfileKeyCredentialPresentation(long serverSecretParams, Array<byte> groupPublicParams, Array<byte> presentationBytes, long currentTimeInSeconds)
-
ServerSecretParams_VerifyReceiptCredentialPresentation
static void ServerSecretParams_VerifyReceiptCredentialPresentation(long serverSecretParams, Array<byte> presentation)
-
ServiceId_ParseFromServiceIdBinary
static Array<byte> ServiceId_ParseFromServiceIdBinary(Array<byte> input)
-
ServiceId_ParseFromServiceIdString
static Array<byte> ServiceId_ParseFromServiceIdString(String input)
-
ServiceId_ServiceIdBinary
static Array<byte> ServiceId_ServiceIdBinary(Array<byte> value)
-
ServiceId_ServiceIdLog
static String ServiceId_ServiceIdLog(Array<byte> value)
-
ServiceId_ServiceIdString
static String ServiceId_ServiceIdString(Array<byte> value)
-
SessionBuilder_ProcessPreKeyBundle
static void SessionBuilder_ProcessPreKeyBundle(long bundle, long protocolAddress, SessionStore sessionStore, IdentityKeyStore identityKeyStore, long now, boolean usePqRatchet)
-
SessionCipher_DecryptPreKeySignalMessage
static Array<byte> SessionCipher_DecryptPreKeySignalMessage(long message, long protocolAddress, SessionStore sessionStore, IdentityKeyStore identityKeyStore, PreKeyStore prekeyStore, SignedPreKeyStore signedPrekeyStore, KyberPreKeyStore kyberPrekeyStore, boolean usePqRatchet)
-
SessionCipher_DecryptSignalMessage
static Array<byte> SessionCipher_DecryptSignalMessage(long message, long protocolAddress, SessionStore sessionStore, IdentityKeyStore identityKeyStore)
-
SessionCipher_EncryptMessage
static CiphertextMessage SessionCipher_EncryptMessage(Array<byte> ptext, long protocolAddress, SessionStore sessionStore, IdentityKeyStore identityKeyStore, long now)
-
SessionRecord_ArchiveCurrentState
static void SessionRecord_ArchiveCurrentState(long sessionRecord)
-
SessionRecord_CurrentRatchetKeyMatches
static boolean SessionRecord_CurrentRatchetKeyMatches(long s, long key)
-
SessionRecord_Deserialize
static long SessionRecord_Deserialize(Array<byte> data)
-
SessionRecord_Destroy
static void SessionRecord_Destroy(long handle)
-
SessionRecord_GetLocalIdentityKeyPublic
static Array<byte> SessionRecord_GetLocalIdentityKeyPublic(long obj)
-
SessionRecord_GetLocalRegistrationId
static int SessionRecord_GetLocalRegistrationId(long obj)
-
SessionRecord_GetRemoteIdentityKeyPublic
static Array<byte> SessionRecord_GetRemoteIdentityKeyPublic(long obj)
-
SessionRecord_GetRemoteRegistrationId
static int SessionRecord_GetRemoteRegistrationId(long obj)
-
SessionRecord_GetSessionVersion
static int SessionRecord_GetSessionVersion(long s)
-
SessionRecord_HasUsableSenderChain
static boolean SessionRecord_HasUsableSenderChain(long s, long now)
-
SessionRecord_NewFresh
static long SessionRecord_NewFresh()
-
SessionRecord_Serialize
static Array<byte> SessionRecord_Serialize(long obj)
-
SgxClientState_CompleteHandshake
static void SgxClientState_CompleteHandshake(long cli, Array<byte> handshakeReceived)
-
SgxClientState_Destroy
static void SgxClientState_Destroy(long handle)
-
SgxClientState_EstablishedRecv
static Array<byte> SgxClientState_EstablishedRecv(long cli, Array<byte> receivedCiphertext)
-
SgxClientState_EstablishedSend
static Array<byte> SgxClientState_EstablishedSend(long cli, Array<byte> plaintextToSend)
-
SgxClientState_InitialRequest
static Array<byte> SgxClientState_InitialRequest(long obj)
-
SignalMedia_CheckAvailable
static void SignalMedia_CheckAvailable()
-
SignalMessage_Deserialize
static long SignalMessage_Deserialize(Array<byte> data)
-
SignalMessage_Destroy
static void SignalMessage_Destroy(long handle)
-
SignalMessage_GetBody
static Array<byte> SignalMessage_GetBody(long obj)
-
SignalMessage_GetCounter
static int SignalMessage_GetCounter(long obj)
-
SignalMessage_GetMessageVersion
static int SignalMessage_GetMessageVersion(long obj)
-
SignalMessage_GetPqRatchet
static Array<byte> SignalMessage_GetPqRatchet(long msg)
-
SignalMessage_GetSenderRatchetKey
static long SignalMessage_GetSenderRatchetKey(long m)
-
SignalMessage_GetSerialized
static Array<byte> SignalMessage_GetSerialized(long obj)
-
SignalMessage_New
static long SignalMessage_New(int messageVersion, Array<byte> macKey, long senderRatchetKey, int counter, int previousCounter, Array<byte> ciphertext, long senderIdentityKey, long receiverIdentityKey, Array<byte> pqRatchet)
-
SignalMessage_VerifyMac
static boolean SignalMessage_VerifyMac(long msg, long senderIdentityKey, long receiverIdentityKey, Array<byte> macKey)
-
SignedPreKeyRecord_Deserialize
static long SignedPreKeyRecord_Deserialize(Array<byte> data)
-
SignedPreKeyRecord_Destroy
static void SignedPreKeyRecord_Destroy(long handle)
-
SignedPreKeyRecord_GetId
static int SignedPreKeyRecord_GetId(long obj)
-
SignedPreKeyRecord_GetPrivateKey
static long SignedPreKeyRecord_GetPrivateKey(long obj)
-
SignedPreKeyRecord_GetPublicKey
static long SignedPreKeyRecord_GetPublicKey(long obj)
-
SignedPreKeyRecord_GetSerialized
static Array<byte> SignedPreKeyRecord_GetSerialized(long obj)
-
SignedPreKeyRecord_GetSignature
static Array<byte> SignedPreKeyRecord_GetSignature(long obj)
-
SignedPreKeyRecord_GetTimestamp
static long SignedPreKeyRecord_GetTimestamp(long obj)
-
SignedPreKeyRecord_New
static long SignedPreKeyRecord_New(int id, long timestamp, long pubKey, long privKey, Array<byte> signature)
-
Svr2Client_New
static long Svr2Client_New(Array<byte> mrenclave, Array<byte> attestationMsg, long currentTimestamp)
-
TokioAsyncContext_Destroy
static void TokioAsyncContext_Destroy(long handle)
-
TokioAsyncContext_cancel
static void TokioAsyncContext_cancel(long context, long rawCancellationId)
-
TokioAsyncContext_new
static long TokioAsyncContext_new()
-
UnauthenticatedChatConnection_Destroy
static void UnauthenticatedChatConnection_Destroy(long handle)
-
UnauthenticatedChatConnection_connect
static CompletableFuture<Long> UnauthenticatedChatConnection_connect(long asyncRuntime, long connectionManager, Array<Object> languages)
-
UnauthenticatedChatConnection_disconnect
static CompletableFuture UnauthenticatedChatConnection_disconnect(long asyncRuntime, long chat)
-
UnauthenticatedChatConnection_info
static long UnauthenticatedChatConnection_info(long chat)
-
UnauthenticatedChatConnection_init_listener
static void UnauthenticatedChatConnection_init_listener(long chat, BridgeChatListener listener)
-
UnauthenticatedChatConnection_send
static CompletableFuture<Object> UnauthenticatedChatConnection_send(long asyncRuntime, long chat, long httpRequest, int timeoutMillis)
-
UnidentifiedSenderMessageContent_Deserialize
static long UnidentifiedSenderMessageContent_Deserialize(Array<byte> data)
-
UnidentifiedSenderMessageContent_Destroy
static void UnidentifiedSenderMessageContent_Destroy(long handle)
-
UnidentifiedSenderMessageContent_GetContentHint
static int UnidentifiedSenderMessageContent_GetContentHint(long m)
-
UnidentifiedSenderMessageContent_GetContents
static Array<byte> UnidentifiedSenderMessageContent_GetContents(long obj)
-
UnidentifiedSenderMessageContent_GetGroupId
static Array<byte> UnidentifiedSenderMessageContent_GetGroupId(long obj)
-
UnidentifiedSenderMessageContent_GetMsgType
static int UnidentifiedSenderMessageContent_GetMsgType(long m)
-
UnidentifiedSenderMessageContent_GetSenderCert
static long UnidentifiedSenderMessageContent_GetSenderCert(long m)
-
UnidentifiedSenderMessageContent_GetSerialized
static Array<byte> UnidentifiedSenderMessageContent_GetSerialized(long obj)
-
UnidentifiedSenderMessageContent_New
static long UnidentifiedSenderMessageContent_New(CiphertextMessage message, long sender, int contentHint, Array<byte> groupId)
-
UsernameLink_Create
static Array<byte> UsernameLink_Create(String username, Array<byte> entropy)
-
UsernameLink_DecryptUsername
static String UsernameLink_DecryptUsername(Array<byte> entropy, Array<byte> encryptedUsername)
-
Username_CandidatesFrom
static Array<Object> Username_CandidatesFrom(String nickname, int minLen, int maxLen)
-
Username_Hash
static Array<byte> Username_Hash(String username)
-
Username_HashFromParts
static Array<byte> Username_HashFromParts(String nickname, String discriminator, int minLen, int maxLen)
-
Username_Proof
static Array<byte> Username_Proof(String username, Array<byte> randomness)
-
Username_Verify
static void Username_Verify(Array<byte> proof, Array<byte> hash)
-
UuidCiphertext_CheckValidContents
static void UuidCiphertext_CheckValidContents(Array<byte> buffer)
-
ValidatingMac_Destroy
static void ValidatingMac_Destroy(long handle)
-
ValidatingMac_Finalize
static int ValidatingMac_Finalize(long mac)
-
ValidatingMac_Initialize
static long ValidatingMac_Initialize(Array<byte> key, int chunkSize, Array<byte> digests)
-
ValidatingMac_Update
static int ValidatingMac_Update(long mac, Array<byte> bytes, int offset, int length)
-
WebpSanitizer_Sanitize
static void WebpSanitizer_Sanitize(InputStream input)
-
initializeLibrary
static void initializeLibrary()
-
-
-
-