Interface IAccountKey
Represents a JSON Web Signature (JWS) key pair.
Namespace: Certes.Jws
Assembly: Certes.dll
Syntax
public interface IAccountKey
Properties
| Edit this page View SourceAlgorithm
Gets the signing algorithm.
Declaration
KeyAlgorithm Algorithm { get; }
Property Value
| Type | Description |
|---|---|
| KeyAlgorithm | The signing algorithm. |
JsonWebKey
Gets the JSON web key.
Declaration
JsonWebKey JsonWebKey { get; }
Property Value
| Type | Description |
|---|---|
| JsonWebKey | The JSON web key. |
SignatureKey
Gets the signature key.
Declaration
IKey SignatureKey { get; }
Property Value
| Type | Description |
|---|---|
| IKey | The signature key. |
Methods
| Edit this page View SourceComputeHash(byte[])
Computes the hash for given data.
Declaration
byte[] ComputeHash(byte[] data)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | data | The data. |
Returns
| Type | Description |
|---|---|
| byte[] | The hash. |
Export()
Exports the key pair.
Declaration
KeyInfo Export()
Returns
| Type | Description |
|---|---|
| KeyInfo | The key pair. |
SignData(byte[])
Signs the data.
Declaration
byte[] SignData(byte[] data)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | data | The data. |
Returns
| Type | Description |
|---|---|
| byte[] | The signature. |