- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 93 for malformed (0.05 sec)
-
src/main/java/jcifs/spnego/NegTokenTarg.java
setMechanismListMIC(mechanismListMIC.getOctets()); break; default: throw new IOException("Malformed token field."); } } } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.9K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
assertThat(Adapters.UTC_TIME.toDer(utcTime)).isEqualTo(bytes) assertThat(Adapters.UTC_TIME.fromDer(bytes)).isEqualTo(utcTime) } @Test fun `cannot decode malformed utc time`() { val bytes = "170d3139313231362333303231305a".decodeHex() assertFailsWith<ProtocolException> { Adapters.UTC_TIME.fromDer(bytes) }.also { expected ->
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 31.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
// Assuming KerberosAuthData.parse is tested elsewhere and might return empty for this test case assertTrue(encData.getUserAuthorizations().isEmpty()); } /** * Test constructor with a malformed token. */ @Test void testConstructorMalformed() { byte[] malformedToken = new byte[] { 0x01, 0x02, 0x03, 0x04 };Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
}); assertEquals("Invalid state", e.getMessage()); } @Test void testInitSecContext_malformedType2Message() throws SmbException { // Test handling of a malformed Type 2 message when(mockAuth.getDomain()).thenReturn(domain); NtlmContext context = new NtlmContext(mockAuth, true); context.initSecContext(new byte[0], 0, 0); // state -> 2Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
_2015-05-16_ * **New HttpUrl API.** It's like `java.net.URL` but good. Note that `Request.Builder.url()` now throws `IllegalArgumentException` on malformed URLs. (Previous releases would throw a `MalformedURLException` when calling a malformed URL.) * **We've improved connect failure recovery.** We now differentiate between setup, connecting, and connected and implement appropriate recovery rules
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 26.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt
OPCODE_CONTROL_CLOSE -> { var code = CLOSE_NO_STATUS_CODE var reason = "" val bufferSize = controlFrameBuffer.size if (bufferSize == 1L) { throw ProtocolException("Malformed close payload length of 1.") } else if (bufferSize != 0L) { code = controlFrameBuffer.readShort().toInt() reason = controlFrameBuffer.readUtf8()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 16:11:23 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
void testInvalidDataSize() { byte[] tooSmall = new byte[10]; PACDecodingException exception = assertThrows(PACDecodingException.class, () -> new PacLogonInfo(tooSmall)); assertEquals("Malformed PAC", exception.getMessage()); } @Test @DisplayName("Test getters return expected values using mocks") void testGetters() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
} } @Nested @DisplayName("Edge Cases and Error Handling") class EdgeCasesTests { @Test @DisplayName("Should handle malformed buffer gracefully") void testReadDataWireFormatMalformedBuffer() { byte[] buffer = new byte[3]; // Too small for valid DFS referral assertThrows(ArrayIndexOutOfBoundsException.class, () -> {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
docs/changelogs/changelog_1x.md
_2014-01-11_ * New: Support for "PATCH" HTTP method in client and MockWebServer. * Fix: Drop `Content-Length` header when redirected from POST to GET. * Fix: Correctly read cached header entries with malformed header names. * Fix: Do not directly support any authentication schemes other than "Basic". * Fix: Respect read timeouts on recycled connections. * Fix: Transmit multiple cookie values as a single header with delimiter.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java
* Constructs an SmbNamedPipe for a specified pipe on an SMB server. * * @param url the SMB URL of the named pipe * @param pipeType the type of the pipe * @throws MalformedURLException if the URL is malformed * @throws UnknownHostException if the host cannot be resolved */ public SmbNamedPipe(final String url, final int pipeType) throws MalformedURLException, UnknownHostException { super(url);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.5K bytes - Viewed (0)