Constructor and Description |
---|
Base64URL(java.lang.String base64URL)
Creates a new Base64URL-encoded object.
|
Modifier and Type | Method and Description |
---|---|
static Base64URL |
encode(java.math.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(java.lang.String text)
Base64URL-encodes the specified string.
|
boolean |
equals(java.lang.Object object)
Overrides
Object.equals() . |
decode, decodeToBigInteger, decodeToString, hashCode, toJSONString, toString
public Base64URL(java.lang.String base64URL)
base64URL
- The Base64URL-encoded object value. The value is
not validated for having characters from the
Base64URL alphabet. Must not be null
.public boolean equals(java.lang.Object object)
Object.equals()
.public static Base64URL encode(byte[] bytes)
bytes
- The byte array to encode. Must not be null
.public static Base64URL encode(java.math.BigInteger bigInt)
bigInt
- The big integer to encode. Must not be null
.Copyright © 2014 Connect2id Ltd.. All Rights Reserved.