Package org.keycloak.common.util
Class Base64Url
java.lang.Object
org.keycloak.common.util.Base64Url
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
static String
encode
(byte[] bytes) static String
encodeBase64ToBase64Url
(String base64) static String
encodeBase64UrlToBase64
(String base64Url)
-
Constructor Details
-
Base64Url
public Base64Url()
-
-
Method Details
-
encode
-
decode
-
encodeBase64ToBase64Url
- Parameters:
base64
- String in base64 encoding- Returns:
- String in base64Url encoding
-
encodeBase64UrlToBase64
- Parameters:
base64Url
- String in base64Url encoding- Returns:
- String in base64 encoding
-