Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for base64url (0.14 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. istioctl/pkg/admin/istiodconfig.go

    		}
    		scopeInfos = append(scopeInfos, si)
    	}
    	return scopeInfos, nil
    }
    
    type ControlzClient struct {
    	baseURL    *url.URL
    	httpClient *http.Client
    }
    
    func (c *ControlzClient) GetScopes() ([]*ScopeInfo, error) {
    	var scopeInfos []*ScopeInfo
    	resp, err := c.httpClient.Get(c.baseURL.String())
    	if err != nil {
    		return nil, err
    	}
    	defer resp.Body.Close()
    	if resp.StatusCode != http.StatusOK {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/TraversalUtil.java

            final String[] path = referenceClass.getName().split("\\.");
            String baseUrl = url.toExternalForm();
            for (final String element : path) {
                final int pos = baseUrl.lastIndexOf('/');
                baseUrl = baseUrl.substring(0, pos);
            }
            return getTraverser(URLUtil.create(baseUrl + '/'), null, null);
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 19.5K 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