Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 99 for malformed (0.05 sec)

  1. src/main/java/jcifs/pac/PACDecodingException.java

     */
    package jcifs.pac;
    
    import jcifs.CIFSException;
    
    /**
     * Exception thrown when PAC (Privilege Attribute Certificate) data cannot be decoded.
     * Indicates malformed or invalid PAC structures in Kerberos tickets.
     */
    public class PACDecodingException extends CIFSException {
    
        private static final long serialVersionUID = 1L;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt

      for (i in namesAndValues.indices) {
        require(namesAndValues[i] != null) { "Headers cannot be null" }
        namesAndValues[i] = inputNamesAndValues[i].trim()
      }
    
      // Check for malformed headers.
      for (i in namesAndValues.indices step 2) {
        val name = namesAndValues[i]
        val value = namesAndValues[i + 1]
        headersCheckName(name)
        headersCheckValue(value, name)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

       * An HTTP/2 response cannot contain uppercase header characters and must be treated as
       * malformed.
       */
      @Throws(IOException::class)
      fun checkLowercase(name: ByteString): ByteString {
        for (i in 0 until name.size) {
          if (name[i] in 'A'.code.toByte()..'Z'.code.toByte()) {
            throw IOException("PROTOCOL_ERROR response malformed: mixed case name: ${name.utf8()}")
          }
        }
        return name
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. cmd/streaming-signature-v4.go

    // lineTooLong is generated as chunk header is bigger than 4KiB.
    var errLineTooLong = errors.New("header line too long")
    
    // malformed encoding is generated when chunk header is wrongly formed.
    var errMalformedEncoding = errors.New("malformed chunked encoding")
    
    // chunk is considered too big if its bigger than > 16MiB.
    var errChunkTooBig = errors.New("chunk too big: choose chunk size <= 16MiB")
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/kerberos/KerberosRelevantAuthData.java

                    authSequence = ASN1Util.as(ASN1Sequence.class, stream);
                }
            } catch (IOException e) {
                throw new PACDecodingException("Malformed kerberos ticket", e);
            }
    
            this.authorizations = new ArrayList<>();
            Enumeration<?> authElements = authSequence.getObjects();
            while (authElements.hasMoreElements()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

         * @param unshared whether to use an exclusive connection
         * @throws DcerpcException if DCERPC initialization fails
         * @throws MalformedURLException if the URL is malformed
         */
        public DcerpcPipeHandle(final String url, final CIFSContext tc, final boolean unshared) throws DcerpcException, MalformedURLException {
            super(tc, DcerpcHandle.parseBinding(url));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                    sequence = ASN1Util.as(ASN1Sequence.class, stream);
                }
            } catch (IOException e) {
                throw new PACDecodingException("Malformed kerberos ticket", e);
            }
    
            Enumeration<?> fields = sequence.getObjects();
            while (fields.hasMoreElements()) {
                ASN1TaggedObject tagged = ASN1Util.as(ASN1TaggedObject.class, fields);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt

        responseCode != HTTP_NOT_MODIFIED
      ) {
        return true
      }
    
      // If the Content-Length or Transfer-Encoding headers disagree with the response code, the
      // response is malformed. For best compatibility, we honor the headers.
      if (headersContentLength() != -1L ||
        "chunked".equals(header("Transfer-Encoding"), ignoreCase = true)
      ) {
        return true
      }
    
      return false
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacLogonInfo.java

        private int userFlags;
    
        /**
         * Constructs a PAC logon information object from raw PAC data.
         * @param data the raw PAC logon info buffer data
         * @throws PACDecodingException if the data is malformed or invalid
         */
        public PacLogonInfo(final byte[] data) throws PACDecodingException {
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 31.7K bytes
    - Viewed (0)
Back to top