Class JwsConvert
Base64 URL encoding without padding.
Inheritance
JwsConvert
Namespace: Certes.Jws
Assembly: Certes.dll
Syntax
public static class JwsConvert
Remarks
See RFC 7515 Appendix C.
Methods
| Edit this page View SourceFromBase64String(string)
Decodes the base64 string without padding.
Declaration
public static byte[] FromBase64String(string data)
Parameters
| Type | Name | Description |
|---|---|---|
| string | data | The data. |
Returns
| Type | Description |
|---|---|
| byte[] | The decoded data. |
Exceptions
| Type | Condition |
|---|---|
| Exception | If |
ToBase64String(byte[])
Encodes the data to the base64 string without padding.
Declaration
public static string ToBase64String(byte[] data)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | data | The data to encoded. |
Returns
| Type | Description |
|---|---|
| string | The encoded data. |