@Immutable public class Base64URL extends Base64
Related specifications:
| Constructor and Description |
|---|
Base64URL(String base64URL)
Creates a new Base64URL-encoded object.
|
| Modifier and Type | Method and Description |
|---|---|
static Base64URL |
encode(BigInteger bigInt)
Base64URL-encodes the specified big integer, without the sign bit.
|
static Base64URL |
encode(byte[] bytes)
Base64URL-encodes the specified byte array.
|
static Base64URL |
encode(String text)
Base64URL-encodes the specified string.
|
boolean |
equals(Object object)
Overrides
Object.equals(). |
decode, decodeToBigInteger, decodeToString, hashCode, toJSONString, toStringpublic static Base64URL encode(byte[] bytes)
bytes - The byte array to encode. Must not be null.public static Base64URL encode(BigInteger bigInt)
bigInt - The big integer to encode. Must not be null.Copyright © 2018 Connect2id Ltd.. All rights reserved.