Table of Contents

Class ManagedKeySignRequest

Namespace
AsiBackbone.Signing.ManagedKey
Assembly
AsiBackbone.Signing.ManagedKey.dll

Represents a managed-key client request to sign a precomputed governance artifact hash.

public sealed class ManagedKeySignRequest
Inheritance
ManagedKeySignRequest
Inherited Members

Constructors

ManagedKeySignRequest(string, string, string, string, string?, string?, IReadOnlyDictionary<string, string>?)

Initializes a new instance of the ManagedKeySignRequest class.

public ManagedKeySignRequest(string signingHash, string hashAlgorithm, string signatureAlgorithm, string keyId, string? keyVersion = null, string? purpose = null, IReadOnlyDictionary<string, string>? metadata = null)

Parameters

signingHash string
hashAlgorithm string
signatureAlgorithm string
keyId string
keyVersion string
purpose string
metadata IReadOnlyDictionary<string, string>

Properties

HashAlgorithm

Gets the hash algorithm descriptor associated with SigningHash.

public string HashAlgorithm { get; }

Property Value

string

KeyId

Gets the managed key identifier or key URI reference.

public string KeyId { get; }

Property Value

string

KeyVersion

Gets the managed key version, when supplied.

public string? KeyVersion { get; }

Property Value

string

Metadata

Gets provider-neutral request metadata.

public IReadOnlyDictionary<string, string> Metadata { get; }

Property Value

IReadOnlyDictionary<string, string>

Purpose

Gets the host-defined signing purpose, when supplied.

public string? Purpose { get; }

Property Value

string

SignatureAlgorithm

Gets the requested provider-neutral signature algorithm descriptor.

public string SignatureAlgorithm { get; }

Property Value

string

SigningHash

Gets the precomputed hash to sign.

public string SigningHash { get; }

Property Value

string