Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isPreferredMech (0.06 sec)

  1. src/test/java/jcifs/smb/SpnegoContextTest.java

        }
    
        @Test
        @DisplayName("isPreferredMech delegates to underlying mechanism context")
        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));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SSPContext.java

        /**
         * Checks whether the specified mechanism is the preferred mechanism.
         * @param selectedMech the selected mechanism OID
         * @return whether the specified mechanism is preferred
         */
        boolean isPreferredMech(ASN1ObjectIdentifier selectedMech);
    
        /**
         * Gets the negotiated context flags.
         * @return context flags
         */
        int getFlags();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top