Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 88 for malformed (0.18 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/pac/kerberos/KerberosToken.java

                    throw new PACDecodingException("Malformed kerberos token");
                }
    
                ASN1TaggedObject mechToken = ASN1Util.as(ASN1TaggedObject.class, stream.readObject());
                if (mechToken == null || mechToken.getTagClass() != BERTags.APPLICATION
                        || !(mechToken.getBaseObject() instanceof ASN1Sequence)) {
                    throw new PACDecodingException("Malformed kerberos token");
                }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

                new KerberosRelevantAuthData(malformedToken, keys);
            }, "A PACDecodingException should be thrown for a malformed token.");
    
            assertEquals("Malformed kerberos ticket", exception.getMessage(), "The exception message should indicate a malformed ticket.");
        }
    
        /**
         * Test constructor with an empty token.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/pac/PacSignatureTest.java

        }
    
        /**
         * Test constructor with KERB_CHECKSUM_HMAC_MD5 type.
         *
         * @throws IOException if an I/O error occurs
         * @throws PACDecodingException if the PAC is malformed
         */
        @Test
        void testConstructorKerbChecksumHmacMd5() throws IOException, PACDecodingException {
            // Prepare data
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  4. fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots_malformed.txt

    # Test file for malformed robots.txt parsing
    # This file contains various malformed directives that should be handled gracefully
    
    # Case 1: Directives before any User-agent (should be ignored)
    Disallow: /orphaned1/
    Allow: /orphaned2/
    
    # Case 2: Valid user-agent with various malformed directives
    User-agent: GoodBot
    Disallow: /admin/
    InvalidDirective: some-value
    unknown-field: test
    Disallow /missing-colon
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Fri Nov 14 12:52:01 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                // Verify that the XML formatting is correct - no malformed closing tags
                assertFalse(result.contains("</plugin></plugins>"), "Should not have malformed closing tags");
                assertFalse(result.contains("</plugins></pluginManagement>"), "Should not have malformed closing tags");
    
                // Check that proper indentation is maintained
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/spnego/NegTokenInit.java

                    throw new IOException("Malformed SPNEGO token " + constructed);
                }
    
                final ASN1Sequence vec = (ASN1Sequence) constructed.getBaseObject();
    
                final ASN1ObjectIdentifier spnego = (ASN1ObjectIdentifier) vec.getObjectAt(0);
                if (!SPNEGO_OID.equals(spnego)) {
                    throw new IOException("Malformed SPNEGO token, OID " + spnego);
                }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

                        throw new PACDecodingException("Malformed Kerberos Ticket");
                    }
                    try {
                        this.ticket = new KerberosTicket(derTicket.getBaseObject().getEncoded(), this.apOptions, keys);
                    } catch (IOException e) {
                        throw new PACDecodingException("Malformed Kerberos Ticket", e);
                    }
                    break;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  8. internal/config/identity/openid/jwks.go

    	D   string `json:"d,omitempty"`
    	N   string `json:"n,omitempty"`
    	E   string `json:"e,omitempty"`
    	K   string `json:"k,omitempty"`
    }
    
    var (
    	errMalformedJWKRSAKey = errors.New("malformed JWK RSA key")
    	errMalformedJWKECKey  = errors.New("malformed JWK EC key")
    )
    
    // DecodePublicKey - decodes JSON Web Key (JWK) as public key
    func (key *JWKS) DecodePublicKey() (crypto.PublicKey, error) {
    	switch key.Kty {
    	case "RSA":
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Apr 02 23:02:35 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt

              }
              else -> return false // Malformed.
            }
          }
          pos++ // Consume '-'.
        }
    
        var n = INITIAL_N
        var i = 0
        var bias = INITIAL_BIAS
    
        while (pos < limit) {
          val oldi = i
          var w = 1
          for (k in BASE until Int.MAX_VALUE step BASE) {
            if (pos == limit) return false // Malformed.
            val c = string[pos++]
            val digit =
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  10. 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 + Assert
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
Back to Top