Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for base64url (0.12 sec)

  1. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

      }
    
      public void testBase64Url() {
        testDecodesByBytes(base64Url(), "_zzz", new byte[] {-1, 60, -13});
        testDecodesByBytes(base64Url(), "-zzz", new byte[] {-5, 60, -13});
      }
    
      public void testBase64UrlInvalidDecodings() {
        assertFailsToDecode(base64Url(), "+zzz", "Unrecognized character: +");
        assertFailsToDecode(base64Url(), "/zzz", "Unrecognized character: /");
      }
    
      public void testBase32() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/BaseEncodingTest.java

      }
    
      public void testBase64Url() {
        testDecodesByBytes(base64Url(), "_zzz", new byte[] {-1, 60, -13});
        testDecodesByBytes(base64Url(), "-zzz", new byte[] {-5, 60, -13});
      }
    
      public void testBase64UrlInvalidDecodings() {
        assertFailsToDecode(base64Url(), "+zzz", "Unrecognized character: +");
        assertFailsToDecode(base64Url(), "/zzz", "Unrecognized character: /");
      }
    
      public void testBase32() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/BaseEncoding.java

       */
      public static BaseEncoding base64() {
        return BASE64;
      }
    
      private static final BaseEncoding BASE64_URL =
          new Base64Encoding(
              "base64Url()", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_", '=');
    
      /**
       * The "base64url" encoding specified by <a
       * href="http://tools.ietf.org/html/rfc4648#section-5">RFC 4648 section 5</a>, Base 64 Encoding
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  4. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

                url.newBuilder()
                  .addQueryParameter("hostname", hostname).build(),
              )
              .post(query.toRequestBody(DNS_MESSAGE))
          } else {
            val encoded = query.base64Url().replace("=", "")
            val requestUrl = url.newBuilder().addQueryParameter("dns", encoded).build()
    
            url(requestUrl)
          }
        }.build()
    
      class Builder {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

        private static final BaseEncoding BASE64_DECODER = BaseEncoding.base64().withSeparator("\n", 64);
    
        private static final BaseEncoding BASE64URL_DECODER = BaseEncoding.base64Url().withSeparator("\n", 64);
    
        protected static final String OIC_AUTH_SERVER_URL = "oic.auth.server.url";
    
        protected static final String OIC_CLIENT_ID = "oic.client.id";
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.entity;
    
    import java.io.IOException;
    import java.util.Map;
    
    import org.codelibs.core.misc.Base64Util;
    import org.codelibs.fess.crawler.exception.OpenSearchAccessException;
    import org.opensearch.core.xcontent.ToXContent;
    import org.opensearch.core.xcontent.XContentBuilder;
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. docs_src/async_tests/test_main.py

    import pytest
    from httpx import ASGITransport, AsyncClient
    
    from .main import app
    
    
    @pytest.mark.anyio
    async def test_root():
        async with AsyncClient(
            transport=ASGITransport(app=app), base_url="http://test"
        ) as ac:
            response = await ac.get("/")
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 30 16:00:41 UTC 2024
    - 360 bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

        protected String normalizeCanonicalUrl(final String baseUrl, final String canonicalUrl) {
            try {
                final URL u = new URL(baseUrl);
                return new URL(u, canonicalUrl.startsWith(":") ? u.getProtocol() + canonicalUrl : canonicalUrl).toString();
            } catch (final MalformedURLException e) {
                logger.warn("Invalid canonical url: {} : {}", baseUrl, canonicalUrl, e);
            }
            return null;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  9. cmd/erasure-multipart.go

    		readDirFn(pathJoin(drivePath, minioMetaMultipartBucket, shaDir), func(uploadIDDir string, typ os.FileMode) error {
    			uploadIDPath := pathJoin(shaDir, uploadIDDir)
    			var modTime time.Time
    			// Upload IDs are of the form base64_url(<UUID>x<UnixNano>), we can extract the time from the UUID.
    			if b64, err := base64.RawURLEncoding.DecodeString(uploadIDDir); err == nil {
    				if split := strings.Split(string(b64), "x"); len(split) == 2 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
Back to top