Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,018 for type2 (0.03 sec)

  1. 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)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/ntlmssp/Type2Message.java

         * 
         * @param tc
         *            context to use
         * @param type1
         *            The Type-1 message which this represents a response to.
         */
        public Type2Message ( CIFSContext tc, Type1Message type1 ) {
            this(tc, type1, null, null);
        }
    
    
        /**
         * Creates a Type-2 message in response to the given Type-1 message.
         * 
         * @param tc
         *            context to use
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/Type3Message.java

            pos += writeSecurityBufferContent(type3, pos, domOff, domainBytes);
            pos += writeSecurityBufferContent(type3, pos, userOff, userBytes);
            pos += writeSecurityBufferContent(type3, pos, wsOff, workstationBytes);
            pos += writeSecurityBufferContent(type3, pos, skOff, sessionKeyBytes);
    
            return type3;
    
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  4. 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());
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NtlmSsp.java

                    Type1Message type1 = new Type1Message(src);
                    Type2Message type2 = new Type2Message(tc, type1, challenge, null);
                    msg = new String(Base64.encode(type2.toByteArray()), "US-ASCII");
                    resp.setHeader("WWW-Authenticate", "NTLM " + msg);
                }
                else if ( src[ 8 ] == 3 ) {
                    Type3Message type3 = new Type3Message(src);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.7K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/LinkRendererTest.groovy

            when:
            def link = renderer.link(type('some.other.Class', true), listener)
    
            then:
            format(link) == '<classname><classname>some.other.Class</classname>[]</classname>'
        }
    
        def rendersLinkToParameterizedType() {
            def metaData = type('org.gradle.SomeClass')
            metaData.addTypeArg(type('Type1'))
            metaData.addTypeArg(type('Type2'))
    
            when:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  7. internal/mountinfo/mountinfo_linux_test.go

    // and success cases.
    func TestCrossDeviceMountPaths(t *testing.T) {
    	successCase := `/dev/0 /path/to/0/1 type0 flags 0 0
    		/dev/1    /path/to/1   type1	flags 1 1
    		/dev/2 /path/to/1/2 type2 flags,1,2=3 2 2
                    /dev/3 /path/to/1.1 type3 flags,1,2=3 3 3
    		`
    	var err error
    	dir := t.TempDir()
    	mountsPath := filepath.Join(dir, "mounts")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. 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.
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.6K bytes
    - Viewed (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy

            expect:
            type.signature == 'org.gradle.SomeType<Type1, Type2>'
        }
    
        def formatsSignatureForWildcardType() {
            type.setWildcard()
    
            expect:
            type.signature == '?'
        }
    
        def formatsSignatureForWildcardWithUpperBound() {
            type.setUpperBounds(new TypeMetaData('OtherType'))
    
            expect:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  10. 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
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
Back to top