Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 253 for decodeId (2.35 sec)

  1. src/main/java/jcifs/util/SecureCredentialStorage.java

        public char[] decryptFromString(String encryptedString) throws GeneralSecurityException {
            if (encryptedString == null) {
                return null;
            }
            byte[] encrypted = Base64.getDecoder().decode(encryptedString);
            return decryptCredentials(encrypted);
        }
    
        /**
         * Get the salt used for key derivation
         *
         * @return salt bytes
         */
        public byte[] getSalt() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java

         *            NT password hash, hex encoded
         */
        public NtlmNtHashAuthenticator(final String domain, final String username, final String passwordHashHex) {
            this(domain, username, Hex.decode(passwordHashHex));
        }
    
        private NtlmNtHashAuthenticator(final byte[] passwordHash) {
            this.ntHash = passwordHash;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

                if (path != null && !path.isEmpty()) {
                    final String pathWithoutLeadingSlash = path.startsWith("/") ? path.substring(1) : path;
                    // Decode URL-encoded characters (e.g., %20 -> space)
                    objectName = URLDecoder.decode(pathWithoutLeadingSlash, StandardCharsets.UTF_8);
                } else {
                    objectName = StringUtil.EMPTY;
                }
            }
    
            /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

                if (path != null && !path.isEmpty()) {
                    final String pathWithoutLeadingSlash = path.startsWith("/") ? path.substring(1) : path;
                    // Decode URL-encoded characters (e.g., %20 -> space)
                    objectName = URLDecoder.decode(pathWithoutLeadingSlash, StandardCharsets.UTF_8);
                } else {
                    objectName = StringUtil.EMPTY;
                }
            }
    
            /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/PacDataInputStream.java

            }
    
            return new PacUnicodeString(length, maxLength, pointer);
        }
    
        /**
         * Reads a string with length prefix from the stream.
         * @return the decoded string
         * @throws IOException if an I/O error occurs
         * @throws PACDecodingException if the string structure is malformed
         */
        public String readString() throws IOException, PACDecodingException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/dfs/Referral.java

         *
         * @return the expandedNames
         */
        public final String[] getExpandedNames() {
            return this.expandedNames;
        }
    
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) {
            final int start = bufferIndex;
    
            this.version = SMBUtil.readInt2(buffer, bufferIndex);
            if (this.version != 3 && this.version != 1) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        void testEncode() {
            byte[] buffer = new byte[1024];
            int length = response.encode(buffer, 0);
            assertTrue(length >= 0);
        }
    
        @Test
        @DisplayName("Test decode operation")
        void testDecode() {
            byte[] buffer = new byte[1024];
            // Fill with basic SMB header structure
            System.arraycopy(new byte[] { (byte) 0xFF, 'S', 'M', 'B' }, 0, buffer, 0, 4);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/RequestTest.java

            @Override
            public Integer getOverrideTimeout() {
                return null;
            }
    
            // Methods from CommonServerMessageBlock interface
            @Override
            public int decode(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {
                return 0;
            }
    
            @Override
            public int encode(byte[] dst, int dstIndex) {
                return 0;
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                if (path != null && !path.isEmpty()) {
                    final String pathWithoutLeadingSlash = path.startsWith("/") ? path.substring(1) : path;
                    // Decode URL-encoded characters (e.g., %20 -> space)
                    objectName = URLDecoder.decode(pathWithoutLeadingSlash, StandardCharsets.UTF_8);
                } else {
                    objectName = StringUtil.EMPTY;
                }
            }
    
            /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:52:56 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NtlmSsp.java

                final byte[] challenge) throws IOException, ServletException {
            String msg = req.getHeader("Authorization");
            if (msg != null && msg.startsWith("NTLM ")) {
                final byte[] src = Base64.decode(msg.substring(5));
                if (src[8] == 1) {
                    final Type1Message type1 = new Type1Message(src);
                    final Type2Message type2 = new Type2Message(type1, challenge, null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top