Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_decodeBase64_urlSafe (0.08 seconds)

  1. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            // "Hello" encoded in standard Base64
            final byte[] result = authenticator.decodeBase64("SGVsbG8=");
            assertEquals("Hello", new String(result));
        }
    
        @Test
        public void test_decodeBase64_urlSafe() {
            // Base64 URL encoding (uses - and _ instead of + and /)
            final byte[] result = authenticator.decodeBase64("SGVsbG9Xb3JsZA");
            assertEquals("HelloWorld", new String(result));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 11K bytes
    - Click Count (0)
Back to Top