public final class Base64Url extends Object
| Constructor and Description |
|---|
Base64Url(byte[] bytes)
Creates a new Base64Url object with the specified encoded bytes.
|
Base64Url(String string)
Creates a new Base64Url object with the specified encoded string.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decodedBytes()
Decode the bytes and return.
|
static Base64Url |
encode(byte[] bytes)
Encode a byte array into Base64Url encoded bytes.
|
byte[] |
encodedBytes()
Returns the underlying encoded byte array.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
public Base64Url(String string)
string - The encoded string.public Base64Url(byte[] bytes)
bytes - The encoded bytes.public static Base64Url encode(byte[] bytes)
bytes - The byte array to encode.public byte[] encodedBytes()
public byte[] decodedBytes()
Copyright © 2019 Microsoft Corporation. All rights reserved.