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
KeyVersion
Gets the managed key version used to sign, when supplied by the provider.
public string? KeyVersion { get; }
Property Value
Metadata
Gets safe provider-neutral metadata returned by the managed-key client.
public IReadOnlyDictionary<string, string> Metadata { get; }
Property Value
ProviderOperationId
Gets a safe provider operation identifier, when supplied.
public string? ProviderOperationId { get; }
Property Value
Signature
Gets the provider-neutral encoded signature value or provider signature reference.
public string Signature { get; }
Property Value
SignatureAlgorithm
Gets the provider-neutral signature algorithm descriptor.
public string SignatureAlgorithm { get; }
Property Value
SignedUtc
Gets the UTC timestamp when the provider completed signing.
public DateTimeOffset SignedUtc { get; }
Property Value
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
signaturestringsignatureAlgorithmstringkeyIdstringkeyVersionstringsignedUtcDateTimeOffsetproviderOperationIdstringmetadataIReadOnlyDictionary<string, string>