Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 276 for mech (0.02 seconds)

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

  1. src/main/java/jcifs/smb/SpnegoContext.java

         *
         * @param source
         *            the {@link SSPContext} to be wrapped
         * @param mech
         *            the mechanism is being used for this context.
         */
        SpnegoContext(final Configuration config, final SSPContext source, final ASN1ObjectIdentifier[] mech) {
            this.mechContext = source;
            this.mechs = mech;
            this.disableMic = !config.isEnforceSpnegoIntegrity() && config.isDisableSpnegoIntegrity();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/spnego/NegTokenTargTest.java

            // Arrange – create a fully populated token
            ASN1ObjectIdentifier mech = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2");
            byte[] tokenArray = new byte[] { 1, 2, 3 };
            byte[] mic = new byte[] { 9, 9, 9 };
            NegTokenTarg original = new NegTokenTarg(NegTokenTarg.ACCEPT_COMPLETED, mech, tokenArray, mic);
    
            // Act – serialise and parse back
            byte[] bytes = original.toByteArray();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SpnegoContextTest.java

        void testIsPreferredMechDelegates() {
            SpnegoContext ctx = newContext();
            ASN1ObjectIdentifier mech = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2");
            when(this.mechContext.isPreferredMech(mech)).thenReturn(true);
            assertTrue(ctx.isPreferredMech(mech));
            verify(this.mechContext, times(1)).isPreferredMech(mech);
        }
    
        @Test
        @DisplayName("getFlags delegates to underlying mechanism context")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/spnego/NegTokenTarg.java

                    fields.add(new DERTaggedObject(true, 0, new ASN1Enumerated(res)));
                }
                final ASN1ObjectIdentifier mech = getMechanism();
                if (mech != null) {
                    fields.add(new DERTaggedObject(true, 1, mech));
                }
                final byte[] mechanismToken = getMechanismToken();
                if (mechanismToken != null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/Kerb5Context.java

            ASN1ObjectIdentifier mech = ASN1ObjectIdentifier.getInstance(this.gssContext.getMech().getDER());
            for (KerberosTicket ticket : subject.getPrivateCredentials(KerberosTicket.class)) {
                MIEName client = new MIEName(mech, ticket.getClient().getName());
                MIEName server = new MIEName(mech, ticket.getServer().getName());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13.5K bytes
    - Click Count (1)
  6. src/test/java/jcifs/smb/Kerb5ContextTest.java

        }
    
        @Test
        @DisplayName("getSupportedMechs returns expected array")
        void getSupportedMechs_happyPath() {
            ASN1ObjectIdentifier[] mechs = ctx.getSupportedMechs();
            assertNotNull(mechs);
            assertArrayEquals(Kerb5Context.SUPPORTED_MECHS, mechs);
        }
    
        @Test
        @DisplayName("getFlags with all false yields 0")
        void getFlags_allFalse() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/Kerb5Authenticator.java

                }
                if (tok.getMechanisms() != null) {
                    Set<ASN1ObjectIdentifier> mechs = new HashSet<>(Arrays.asList(tok.getMechanisms()));
                    boolean foundKerberos = false;
                    for (ASN1ObjectIdentifier mech : Kerb5Context.SUPPORTED_MECHS) {
                        foundKerberos |= mechs.contains(mech);
                    }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/schema-extra-example.md

    ### Summary { #summary }
    
    I used to say I didn't like history that much... and look at me now giving "tech history" lessons. 😅
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  9. .github/ISSUE_TEMPLATE/feature-request.md

    it may already exist, even as a closed issue.
    -->
    
    <!--
    Describe the feature.
    
    Please give us as much context as possible about the feature. For example,
    you could include a story about a time when you wanted to use the feature,
    and also tell us what you had to do instead. The last part is helpful
    because it gives us an idea of how much harder your life is without the
    feature.
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 21 15:43:15 GMT 2020
    - 580 bytes
    - Click Count (0)
  10. .github/DISCUSSION_TEMPLATE/questions.yml

            That's a lot of work they are doing, but if more FastAPI users came to help others like them just a little bit more, it would be much less effort for them (and you and me 😅).
    
            By asking questions in a structured way (following this) it will be much easier to help you.
    
            And there's a high chance that you will find the solution along the way and you won't even have to submit it and wait for an answer. 😎
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Aug 03 15:59:41 GMT 2023
    - 5.8K bytes
    - Click Count (0)
Back to Top