Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 816 for type2 (0.13 sec)

  1. src/main/java/jcifs/ntlmssp/Type3Message.java

            byte[] type3 = new byte[size];
            int pos = 0;
    
            System.arraycopy(NTLMSSP_SIGNATURE, 0, type3, 0, 8);
            pos += 8;
    
            writeULong(type3, pos, NTLMSSP_TYPE3);
            pos += 4;
    
            int lmOff = writeSecurityBuffer(type3, 12, lmResponseBytes);
            pos += 8;
            int ntOff = writeSecurityBuffer(type3, 20, ntResponseBytes);
            pos += 8;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 30.6K bytes
    - Viewed (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        assertThat(buffer.readByteString()).isEqualTo("A20743054A6F6E6573".decodeHex())
      }
    
      @Test fun `decode implicit tagged implicit prefixed type`() {
        // Type1 ::= VisibleString
        // Type2 ::= [APPLICATION 3] IMPLICIT Type1
        // Type3 ::= [2] Type2
        // Type4 ::= [APPLICATION 7] IMPLICIT Type3
        val buffer =
          Buffer()
            .write("670743054A6F6E6573".decodeHex())
    
        val derReader = DerReader(buffer)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

         * @param type2 The Type-2 message.
         * @param password The password.
         * @return A <code>byte[]</code> containing the LanManager response.
         */
        public static byte[] getLMResponse(Type2Message type2, String password) {
            if (type2 == null || password == null) return null;
            return NtlmPasswordAuthentication.getPreNTLMResponse(password,
                    type2.getChallenge());
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/Type2Message.java

                size += 8;
            }
    
            byte[] type2 = new byte[size];
            int pos = 0;
    
            System.arraycopy(NTLMSSP_SIGNATURE, 0, type2, pos, NTLMSSP_SIGNATURE.length);
            pos += NTLMSSP_SIGNATURE.length;
    
            writeULong(type2, pos, NTLMSSP_TYPE2);
            pos += 4;
    
            // TargetNameFields
            int targetNameOff = writeSecurityBuffer(type2, pos, targetBytes);
            pos += 8;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

            this(type1, null, null);
        }
    
        /**
         * Creates a Type-2 message in response to the given Type-1 message.
         *
         * @param type1 The Type-1 message which this represents a response to.
         * @param challenge The challenge from the domain controller/server.
         * @param target The authentication target.
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 12.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                }
                Type1Message type1 = (Type1Message) attemptNegotiation(response);
                if (type1 == null) return; // no NTLM
                int attempt = 0;
                while (attempt < MAX_REDIRECTS) {
                    connection.setRequestProperty(authProperty, authMethod + ' ' +
                            Base64.encode(type1.toByteArray()));
                    connection.connect(); // send type 1
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                        return;
                    }
                    NtlmMessage type3 = attemptNegotiation(response);
                    if ( type3 == null )
                        return;
                    this.connection.setRequestProperty(this.authProperty, this.authMethod + ' ' + Base64.toBase64String(type3.toByteArray()));
                    this.connection.connect(); // send type 3
                    if ( this.cachedOutput != null && this.doOutput ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 25.5K bytes
    - Viewed (0)
  8. internal/grid/types.go

    	"sort"
    	"strings"
    	"sync"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    // Recycler will override the internal reuse in typed handlers.
    // When this is supported, the handler will not do internal pooling of objects,
    // call Recycle() when the object is no longer needed.
    // The recycler should handle nil pointers.
    type Recycler interface {
    	Recycle()
    }
    
    // MSS is a map[string]string that can be serialized.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/Types.java

            CURRENT = JAVA6;
          }
        }
    
        abstract Type newArrayType(Type componentType);
    
        abstract Type usedInGenericType(Type type);
    
        final ImmutableList<Type> usedInGenericType(Type[] types) {
          ImmutableList.Builder<Type> builder = ImmutableList.builder();
          for (Type type : types) {
            builder.add(usedInGenericType(type));
          }
          return builder.build();
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. docs/en/docs/python-types.md

    These types that have internal types are called "**generic**" types. And it's possible to declare them, even with their internal types.
    
    To declare those types and the internal types, you can use the standard Python module `typing`. It exists specifically to support these type hints.
    
    #### Newer versions of Python
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top