- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 157 for Nonce (0.01 sec)
-
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
return metrics; } /** * Generate a unique nonce for encryption following SMB3 specification. * Uses SMB3-compliant nonce generation with guaranteed uniqueness. * * @return nonce appropriate for the dialect (16 bytes for GCM, 12 bytes for CCM) */ public byte[] generateNonce() { final byte[] nonce = new byte[isGCMCipher() ? 16 : 12]; if (isGCMCipher()) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
byte[] nonce = context.generateNonce(); assertNotNull(nonce, "Nonce should not be null"); assertTrue(nonce.length > 0, "Nonce should have length > 0"); // Convert to string for uniqueness check String nonceStr = Arrays.toString(nonce); assertFalse(nonces.contains(nonceStr), "Nonce should be unique"); nonces.add(nonceStr);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersChallengesTest.kt
@Test fun testDigestChallengeWithStrictRfc2617Header() { val headers = Headers .Builder() .add( "WWW-Authenticate", "Digest realm=\"myrealm\", nonce=\"fjalskdflwejrlaskdfjlaskdjflaks" + "jdflkasdf\", qop=\"auth\", stale=\"FALSE\"", ).build() val challenges = headers.parseChallenges("WWW-Authenticate") assertThat(challenges.size).isEqualTo(1)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 16.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
}); } @Test @DisplayName("Should handle null nonce") void testNullNonce() { // When/Then assertThrows(NullPointerException.class, () -> { transformHeader.setNonce(null); }); } @Test @DisplayName("Should handle invalid nonce length") void testInvalidNonceLength() { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmUtil.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
* @param user The username. * @param password The user's password. * @param challenge The server challenge. * @param clientChallenge The client challenge (nonce). * @return the LMv2 response bytes */ public static byte[] getLMv2Response(final String domain, final String user, final String password, final byte[] challenge, final byte[] clientChallenge) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.7K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
HMACT64 hmac = new HMACT64(TEST_KEY); hmac.engineReset(); verify(mockMd5, times(2)).reset(); // Once in constructor, once in reset verify(mockMd5, times(2)).update(any(byte[].class)); // Once in constructor, once in reset } } @Test void testEngineGetDigestLength() throws NoSuchAlgorithmException { // Test engineGetDigestLength()
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
* or queued. */ @Nullable ExecutionSequencer sequencer; /** * Executor the task was set to run on. Set to null when the task has been queued, run, or * cancelled. */ @Nullable Executor delegate; /** * Set before calling delegate.execute(); set to null once run, so that it can be GCed; thisRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 01:35:55 UTC 2025 - 22.1K bytes - Viewed (0) -
impl/maven-core/src/test/remote-repo/org/apache/maven/its/plugins/maven-it-plugin/0.1/maven-it-plugin-0.1.jar
org.apache.maven.plugin.coreit.DMojo java per-lookup once-per-session java Does nothing. false true false false false true generate-sources org.apache.maven.plugin.coreit.AMojo java per-lookup once-per-session models java.lang.String[] false true version java.lang.String false true ${version} generate-test-metadata Does nothing. test false true false false false true process-test-classes org.apache.maven.plugin.coreit.EMojo java per-lookup once-per-session it Does nothing. compile false true false...
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
* or queued. */ @Nullable ExecutionSequencer sequencer; /** * Executor the task was set to run on. Set to null when the task has been queued, run, or * cancelled. */ @Nullable Executor delegate; /** * Set before calling delegate.execute(); set to null once run, so that it can be GCed; thisRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 01:35:55 UTC 2025 - 22.1K bytes - Viewed (0)