Table of Contents

Class ManagedKeySignResult

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

Represents the result returned by a host-owned managed-key signing client.

public sealed class ManagedKeySignResult
Inheritance
ManagedKeySignResult
Inherited Members

Properties

KeyId

Gets the managed key identifier or key URI reference used to sign.

public string KeyId { get; }

Property Value

string

KeyVersion

Gets the managed key version used to sign, when supplied by the provider.

public string? KeyVersion { get; }

Property Value

string

Metadata

Gets safe provider-neutral metadata returned by the managed-key client.

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

Property Value

IReadOnlyDictionary<string, string>

ProviderOperationId

Gets a safe provider operation identifier, when supplied.

public string? ProviderOperationId { get; }

Property Value

string

Signature

Gets the provider-neutral encoded signature value or provider signature reference.

public string Signature { get; }

Property Value

string

SignatureAlgorithm

Gets the provider-neutral signature algorithm descriptor.

public string SignatureAlgorithm { get; }

Property Value

string

SignedUtc

Gets the UTC timestamp when the provider completed signing.

public DateTimeOffset SignedUtc { get; }

Property Value

DateTimeOffset

Methods

Create(string, string, string, string?, DateTimeOffset, string?, IReadOnlyDictionary<string, string>?)

Creates a successful managed-key sign result.

public static ManagedKeySignResult Create(string signature, string signatureAlgorithm, string keyId, string? keyVersion, DateTimeOffset signedUtc, string? providerOperationId = null, IReadOnlyDictionary<string, string>? metadata = null)

Parameters

signature string
signatureAlgorithm string
keyId string
keyVersion string
signedUtc DateTimeOffset
providerOperationId string
metadata IReadOnlyDictionary<string, string>

Returns

ManagedKeySignResult