Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Waher.Content.Base64Url Class Reference

Static class that does BASE64URL encoding (using URL and filename safe alphabet), as defined in RFC4648: https://tools.ietf.org/html/rfc4648#section-5 More...

Static Public Member Functions

static byte[] Decode (string Base64Url)
 Converts a Base64URL-encoded string to its binary representation. More...
 
static string Encode (byte[] Data)
 Converts a binary block of data to a Base64URL-encoded string. More...
 

Detailed Description

Static class that does BASE64URL encoding (using URL and filename safe alphabet), as defined in RFC4648: https://tools.ietf.org/html/rfc4648#section-5

Definition at line 10 of file Base64Url.cs.

Member Function Documentation

◆ Decode()

static byte[] Waher.Content.Base64Url.Decode ( string  Base64Url)
static

Converts a Base64URL-encoded string to its binary representation.

Parameters
Base64UrlBase64URL-encoded string.
Returns
Binary representation.

Definition at line 17 of file Base64Url.cs.

◆ Encode()

static string Waher.Content.Base64Url.Encode ( byte[]  Data)
static

Converts a binary block of data to a Base64URL-encoded string.

Parameters
DataData to encode.
Returns
Base64URL-encoded string.

Definition at line 48 of file Base64Url.cs.


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