Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 209 for Unsupported (4.33 sec)

  1. src/main/java/jcifs/CIFSUnsupportedCryptoException.java

        /**
         *
         */
        private static final long serialVersionUID = -6350312430383107348L;
    
        /**
         * Constructs a CIFS unsupported crypto exception with no detail message.
         */
        public CIFSUnsupportedCryptoException() {
        }
    
        /**
         * Constructs a CIFS unsupported crypto exception with the specified detail message and cause.
         *
         * @param message the detail message
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            Kerb5Authenticator auth = new Kerb5Authenticator((Subject) null);
    
            // Build a token with an arbitrary non-kerberos mechanism OID
            ASN1ObjectIdentifier unsupported = new ASN1ObjectIdentifier("1.2.3.4.5");
            byte[] init = spnegoInitWithMechs(unsupported);
    
            // Host is a FQDN to pass the short-name check
            SmbUnsupportedOperationException ex =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

        @Test
        @DisplayName("Test supported hash algorithms")
        public void testSupportedHashAlgorithms() {
            assertTrue(preauthService.isHashAlgorithmSupported(PreauthIntegrityService.HASH_ALGO_SHA512));
            assertFalse(preauthService.isHashAlgorithmSupported(0xFF)); // Unsupported
    
            int[] supported = preauthService.getSupportedHashAlgorithms();
            assertNotNull(supported);
            assertEquals(1, supported.length);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

            largeTestData = generateTestData(8192);
        }
    
        @Test
        @DisplayName("Test supported algorithms")
        public void testSupportedAlgorithms() {
            int[] supported = compressionService.getSupportedAlgorithms();
            assertNotNull(supported);
            assertTrue(supported.length > 0);
    
            assertTrue(compressionService.isAlgorithmSupported(CompressionService.COMPRESSION_NONE));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/Strings.java

                return new byte[0];
            }
            try {
                return str.getBytes(config.getOemEncoding());
            } catch (final UnsupportedEncodingException e) {
                throw new RuntimeCIFSException("Unsupported OEM encoding " + config.getOemEncoding(), e);
            }
        }
    
        /**
         * Decodes a string from UTF-16LE (Unicode Little Endian) bytes.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

        }
    
        /**
         * Test decrypt with an unsupported encryption type.
         */
        @Test
        void testDecryptUnsupportedType() {
            Key key = new KerberosKey(null, new byte[16], 99, 0);
            byte[] data = new byte[16];
            Exception exception = assertThrows(GeneralSecurityException.class, () -> KerberosEncData.decrypt(data, key, 99));
            assertEquals("Unsupported encryption type 99", exception.getMessage());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                } else {
                    throw new SmbException("Unsupported credential type " + (cred != null ? cred.getClass() : "NULL"));
                }
            } else if (server.security == SmbConstants.SECURITY_SHARE) {
                if (!(cred instanceof final NtlmPasswordAuthenticator a)) {
                    throw new SmbException("Unsupported credential type");
                }
                this.lmHash = new byte[0];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/PreauthIntegrityService.java

        }
    
        /**
         * Checks if a hash algorithm is supported.
         *
         * @param hashAlgorithm the algorithm to check
         * @return true if supported
         */
        public boolean isHashAlgorithmSupported(int hashAlgorithm) {
            return hashAlgorithm == HASH_ALGO_SHA512; // Currently only SHA-512 is supported
        }
    
        /**
         * Gets the list of supported hash algorithms.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

            return decompressed.length;
        }
    
        @Override
        public boolean isAlgorithmSupported(int algorithm) {
            for (int supported : SUPPORTED_ALGORITHMS) {
                if (supported == algorithm) {
                    return true;
                }
            }
            return false;
        }
    
        @Override
        public int[] getSupportedAlgorithms() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/StringsTest.java

                    Strings.getOEMBytes(TEST_STRING, mockConfig);
                });
    
                assertTrue(exception.getMessage().contains("Unsupported OEM encoding"), "Exception should mention unsupported encoding");
                assertTrue(exception.getCause() instanceof UnsupportedEncodingException, "Cause should be UnsupportedEncodingException");
            }
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top