Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getSupportedMechs (0.67 sec)

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

            }
    
            @Override
            public int getFlags() {
                return this.flags;
            }
    
            @Override
            public ASN1ObjectIdentifier[] getSupportedMechs() {
                return this.supportedMechs.clone();
            }
    
            @Override
            public boolean supportsIntegrity() {
                return this.integrity;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SpnegoContext.java

            this.requireMic = config.isEnforceSpnegoIntegrity();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#getSupportedMechs()
         */
        @Override
        public ASN1ObjectIdentifier[] getSupportedMechs() {
            return new ASN1ObjectIdentifier[] { SPNEGO_MECH_OID };
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#getFlags()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SSPContext.java

         */
        int getFlags();
    
        /**
         * Gets the array of supported security mechanism OIDs.
         * @return array of supported mechanism OIDs
         */
        ASN1ObjectIdentifier[] getSupportedMechs();
    
        /**
         * Checks whether this mechanism supports message integrity.
         * @return whether this mechanisms supports integrity
         */
        boolean supportsIntegrity();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SpnegoContextTest.java

            return new SpnegoContext(this.config, this.mechContext, this.mechs);
        }
    
        @Test
        @DisplayName("getSupportedMechs returns SPNEGO OID")
        void testGetSupportedMechs() {
            SpnegoContext ctx = newContext();
            ASN1ObjectIdentifier[] supported = ctx.getSupportedMechs();
            assertNotNull(supported);
            assertEquals(1, supported.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmContext.java

            this.workstation = tc.getConfig().getNetbiosHostname();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#getSupportedMechs()
         */
        @Override
        public ASN1ObjectIdentifier[] getSupportedMechs() {
            return new ASN1ObjectIdentifier[] { NTLMSSP_OID };
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/Kerb5Context.java

            return isSupported(mechanism);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#getSupportedMechs()
         */
        @Override
        public ASN1ObjectIdentifier[] getSupportedMechs() {
            return SUPPORTED_MECHS;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#getFlags()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  7. src/test/java/jcifs/smb/Kerb5ContextTest.java

            assertFalse(ctx.isSupported(new ASN1ObjectIdentifier("1.3.6.1.4.1.99999")));
        }
    
        @Test
        @DisplayName("getSupportedMechs returns expected array")
        void getSupportedMechs_happyPath() {
            ASN1ObjectIdentifier[] mechs = ctx.getSupportedMechs();
            assertNotNull(mechs);
            assertArrayEquals(Kerb5Context.SUPPORTED_MECHS, mechs);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top