Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for decodeId (0.04 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

        }
    
        /**
         * Decodes a base64 encoded ID back to the original object name.
         *
         * @param id the encoded ID to decode
         * @return the decoded object name
         */
        protected static String decodeId(final String id) {
            if (id == null) {
                return StringUtil.EMPTY;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

          return decode(certificatePem, pkcs8Base64)
        }
    
        private fun decode(
          certificatePem: String,
          pkcs8Base64Text: String,
        ): HeldCertificate {
          val certificate = certificatePem.decodeCertificatePem()
    
          val pkcs8Bytes =
            pkcs8Base64Text.decodeBase64()
              ?: throw IllegalArgumentException("failed to decode private key")
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

        }
      }
    
      /**
       * This decodes a value into its contents using a preceding member of the same SEQUENCE. For
       * example, extensions type IDs specify what types to use for the corresponding values.
       *
       * If the hint is unknown [chooser] should return null which will cause the value to be decoded as
       * an opaque byte string.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

                if (encoded != null) {
                    String decoded = permissionHelper.decode(encoded);
                    assertNotNull("Decoded value should not be null for: " + value, decoded);
                    assertEquals("Decoded value should match original: " + value + " -> " + encoded + " -> " + decoded, value, decoded);
                }
            }
        }
    
        public void test_encode_withLongValues() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        }
      }
    
      private static void testEncoding(BaseEncoding encoding, String decoded, String encoded) {
        testEncodes(encoding, decoded, encoded);
        testDecodes(encoding, encoded, decoded);
      }
    
      private static void testEncodes(BaseEncoding encoding, String decoded, String encoded) {
        assertThat(encoding.encode(decoded.getBytes(UTF_8))).isEqualTo(encoded);
      }
    
      private static void testEncodesWithOffset(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                }
            }
            return u;
        }
    
        /**
         * Decodes a URL as a name using appropriate character encoding.
         * Handles encoding detection from parent URLs and configuration settings.
         *
         * @param url the URL to decode
         * @param escapePlus whether to escape plus signs before decoding
         * @return the decoded URL name, or original URL if decoding fails
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/PermissionHelper.java

            return permission;
        }
    
        /**
         * Decodes a search role format string back to a permission string.
         * Reverses the encoding process to restore original permission format.
         *
         * @param value the encoded permission string to decode
         * @return the decoded permission string, or null if the input is blank or invalid
         */
        public String decode(final String value) {
            if (StringUtil.isBlank(value)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

      val normalized = normalizeNfc(bufferB.readUtf8())
      bufferA.writeUtf8(normalized)
    
      // 3. For each label, convert/validate Punycode.
      val decoded = Punycode.decode(bufferA.readUtf8()) ?: return null
    
      // 4.1 Validate.
    
      // Must be NFC.
      if (decoded != normalizeNfc(decoded)) return null
    
      // TODO: Must not begin with a combining mark.
      // TODO: Each character must be 'valid' or 'deviation'. Not mapped.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

        }
    
        /**
         * Decodes a Base64 string to bytes.
         *
         * @param base64String the Base64 string to decode
         * @return the decoded bytes, or null if input is null
         */
        protected byte[] decodeBase64(String base64String) {
            if (base64String == null) {
                return null;
            }
            try {
                return BASE64_DECODER.decode(base64String);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        }
      }
    
      private static void testEncoding(BaseEncoding encoding, String decoded, String encoded) {
        testEncodes(encoding, decoded, encoded);
        testDecodes(encoding, encoded, decoded);
      }
    
      private static void testEncodes(BaseEncoding encoding, String decoded, String encoded) {
        assertThat(encoding.encode(decoded.getBytes(UTF_8))).isEqualTo(encoded);
      }
    
      private static void testEncodesWithOffset(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
Back to top