Certes
Show / Hide Table of Contents

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 Source

Algorithm

Gets the signing algorithm.

Declaration
KeyAlgorithm Algorithm { get; }
Property Value
Type Description
KeyAlgorithm

The signing algorithm.

| Edit this page View Source

JsonWebKey

Gets the JSON web key.

Declaration
JsonWebKey JsonWebKey { get; }
Property Value
Type Description
JsonWebKey

The JSON web key.

| Edit this page View Source

SignatureKey

Gets the signature key.

Declaration
IKey SignatureKey { get; }
Property Value
Type Description
IKey

The signature key.

Methods

| Edit this page View Source

ComputeHash(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.

| Edit this page View Source

Export()

Exports the key pair.

Declaration
KeyInfo Export()
Returns
Type Description
KeyInfo

The key pair.

| Edit this page View Source

SignData(byte[])

Signs the data.

Declaration
byte[] SignData(byte[] data)
Parameters
Type Name Description
byte[] data

The data.

Returns
Type Description
byte[]

The signature.

Extension Methods

AccountKeyExtensions.GenerateThumbprint(IAccountKey)
AccountKeyExtensions.KeyAuthorization(IAccountKey, string)
AccountKeyExtensions.Thumbprint(IAccountKey)
  • Edit this page
  • View Source
© 2018 Certes Project
Back to top