YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.sendspin.secure.Base64Url Class Reference

Base64url without padding, the encoding of identities, PSK ids, group ids and handshake bytes of the protocol. More...

Collaboration diagram for de.yaacc.sendspin.secure.Base64Url:
Collaboration graph

Static Public Member Functions

static String encode (byte[] data)
 
static byte[] decode (String text)
 
static byte[] decode32 (String text)
 A 32-byte key or id as the protocol writes it: 43 characters.
 

Detailed Description

Base64url without padding, the encoding of identities, PSK ids, group ids and handshake bytes of the protocol.

Member Function Documentation

◆ decode()

static byte[] de.yaacc.sendspin.secure.Base64Url.decode ( String text)
static
Returns
the bytes, or null if the text is not canonical base64url without padding (other characters, padding, a length that no byte count gives, or trailing bits that are not zero)

Referenced by de.yaacc.sendspin.secure.Base64Url.decode32(), de.yaacc.sendspin.session.ClientHandshake.perform(), and de.yaacc.sendspin.session.ServerHandshake.perform().

Here is the caller graph for this function:

The documentation for this class was generated from the following file: