Certes
Show / Hide Table of Contents

Class JwsConvert

Base64 URL encoding without padding.

Inheritance
object
JwsConvert
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Certes.Jws
Assembly: Certes.dll
Syntax
public static class JwsConvert
Remarks

See RFC 7515 Appendix C.

Methods

| Edit this page View Source

FromBase64String(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 data is illegal base64 URL string.

| Edit this page View Source

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.

  • Edit this page
  • View Source
© 2018 Certes Project
Back to top