Certes
Show / Hide Table of Contents

Class AccountKeyExtensions

Helper methods for AccountKey.

Inheritance
object
AccountKeyExtensions
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 AccountKeyExtensions

Methods

| Edit this page View Source

GenerateThumbprint(IAccountKey)

Generates the thumbprint for the given account key.

Declaration
public static byte[] GenerateThumbprint(this IAccountKey key)
Parameters
Type Name Description
IAccountKey key

The account key.

Returns
Type Description
byte[]

The thumbprint.

| Edit this page View Source

KeyAuthorization(IAccountKey, string)

Generates key authorization string.

Declaration
public static string KeyAuthorization(this IAccountKey key, string token)
Parameters
Type Name Description
IAccountKey key

The key.

string token

The challenge token.

Returns
Type Description
string
| Edit this page View Source

Thumbprint(IAccountKey)

Generates the base64 encoded thumbprint for the given account key.

Declaration
public static string Thumbprint(this IAccountKey key)
Parameters
Type Name Description
IAccountKey key

The account key.

Returns
Type Description
string

The thumbprint.

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