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
signingHashstringhashAlgorithmstringsignatureAlgorithmstringkeyIdstringkeyVersionstringpurposestringmetadataIReadOnlyDictionary<string, string>
Properties
HashAlgorithm
Gets the hash algorithm descriptor associated with SigningHash.
public string HashAlgorithm { get; }
Property Value
KeyId
Gets the managed key identifier or key URI reference.
public string KeyId { get; }
Property Value
KeyVersion
Gets the managed key version, when supplied.
public string? KeyVersion { get; }
Property Value
Metadata
Gets provider-neutral request metadata.
public IReadOnlyDictionary<string, string> Metadata { get; }
Property Value
Purpose
Gets the host-defined signing purpose, when supplied.
public string? Purpose { get; }
Property Value
SignatureAlgorithm
Gets the requested provider-neutral signature algorithm descriptor.
public string SignatureAlgorithm { get; }
Property Value
SigningHash
Gets the precomputed hash to sign.
public string SigningHash { get; }