Class AccountKeyExtensions
Helper methods for AccountKey.
Inheritance
AccountKeyExtensions
Namespace: Certes.Jws
Assembly: Certes.dll
Syntax
public static class AccountKeyExtensions
Methods
| Edit this page View SourceGenerateThumbprint(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. |
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 |
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. |