- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 118 for malformed (0.06 sec)
-
src/main/java/jcifs/pac/Pac.java
* @param data the raw PAC data bytes * @param keys map of Kerberos keys for signature validation * @throws PACDecodingException if the PAC data is malformed or signature validation fails */ public Pac(byte[] data, Map<Integer, KerberosKey> keys) throws PACDecodingException { byte[] checksumData = data.clone(); try {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacSignature.java
private byte[] checksum; /** * Constructs a PacSignature by parsing the provided data. * * @param data the raw signature data to parse * @throws PACDecodingException if the data is malformed or cannot be parsed */ public PacSignature(final byte[] data) throws PACDecodingException { try {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
} @Test @DisplayName("byte[] ctor: malformed DER is wrapped as PACDecodingException (IOException path)") void byteArrayConstructor_malformedDER_throwsWrapped() { // Arrange: Truncated SEQUENCE (0x30 len=2 but only 1 byte of content) byte[] malformed = new byte[] { 0x30, 0x02, 0x01 }; // Act + AssertRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
* @throws PACDecodingException if the string structure is malformed */ public PacUnicodeString readUnicodeString() throws IOException, PACDecodingException { final short length = readShort(); final short maxLength = readShort(); final int pointer = readInt(); if (maxLength < length) { throw new PACDecodingException("Malformed string in PAC"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealResponseBody.kt
import okhttp3.ResponseBody import okio.BufferedSource class RealResponseBody( /** * Use a string to avoid parsing the content type until needed. This also defers problems caused * by malformed content types. */ private val contentTypeString: String?, private val contentLength: Long, private val source: BufferedSource, ) : ResponseBody() { override fun contentLength(): Long = contentLength
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
assertNotNull(cifsContextWrapper.get(url)); } @Test void testGetSmbResource_MalformedURLException() { // Test get(String url) with a malformed URL String malformedUrl = "invalid-url"; CIFSException thrown = assertThrows(CIFSException.class, () -> { cifsContextWrapper.get(malformedUrl); });
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
void testConstructorWithEmptyToken() { byte[] emptyToken = new byte[0]; assertThrows(PACDecodingException.class, () -> new KerberosToken(emptyToken)); } /** * Test constructor with a malformed token (not ASN.1). */ @Test void testConstructorWithMalformedToken() { byte[] malformedToken = "This is not a valid token".getBytes();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java
// Should handle gracefully (exact behavior depends on implementation) // This test mainly verifies no exceptions are thrown } @Test @DisplayName("should handle malformed POM gracefully") void shouldHandleMalformedPomGracefully() throws Exception { Path pomFile = tempDir.resolve("pom.xml"); String malformedPom = "<?xml version=\"1.0\"?><project><invalid></project>";Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosEncData.java
if (derToken.getTagClass() != BERTags.APPLICATION) { throw new PACDecodingException("Malformed kerberos ticket"); } stream.close(); } catch (IOException e) { throw new PACDecodingException("Malformed kerberos ticket", e); } ASN1Sequence sequence; try {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/InvalidQueryException.java
import org.lastaflute.web.validation.VaMessenger; /** * Exception thrown when an invalid query is encountered. * This exception is typically used in search contexts where a provided * query is malformed, contains invalid syntax, or violates query constraints. */ public class InvalidQueryException extends FessSystemException { /** Serial version UID for serialization */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.3K bytes - Viewed (0)