Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for isPreferredMech (0.11 seconds)

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

  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));
    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)
  2. src/main/java/jcifs/smb/SpnegoContext.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#isPreferredMech(org.bouncycastle.asn1.ASN1ObjectIdentifier)
         */
        @Override
        public boolean isPreferredMech(final ASN1ObjectIdentifier mech) {
            return this.mechContext.isPreferredMech(mech);
        }
    
        @Override
        public byte[] calculateMIC(final byte[] data) throws CIFSException {
    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)
  3. 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();
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         *
         * @param mechanism the mechanism to check
         * @return whether the given mechanism is the preferred one for this credential
         */
        public boolean isPreferredMech(ASN1ObjectIdentifier mechanism) {
            return NtlmContext.NTLMSSP_OID.equals(mechanism);
        }
    
        /**
         * Computes the 24 byte ANSI password hash given the 8 byte server challenge.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30.3K bytes
    - Click Count (0)
Back to Top