Table of Contents

Class KeySignatureVerificationOptions

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

Configures public-key signature verification.

public sealed class KeySignatureVerificationOptions
Inheritance
KeySignatureVerificationOptions
Inherited Members

Properties

AllowLegacySignatureInput

Gets or sets whether pre-6.0 hash-only signature input is accepted.

public bool AllowLegacySignatureInput { get; set; }

Property Value

bool

AllowedAlgorithms

Gets the explicit signature algorithm allow-list.

public ISet<string> AllowedAlgorithms { get; }

Property Value

ISet<string>

Keys

Gets the configured trusted key versions.

public IList<GovernanceVerificationKey> Keys { get; }

Property Value

IList<GovernanceVerificationKey>

Methods

AddJwkKey(string, string, string, string, bool, int)

Adds an RSA or EC public JWK.

public void AddJwkKey(string keyId, string keyVersion, string signatureAlgorithm, string publicJwk, bool isRevoked = false, int minimumRsaKeySize = 2048)

Parameters

keyId string
keyVersion string
signatureAlgorithm string
publicJwk string
isRevoked bool
minimumRsaKeySize int

AddPemKey(string, string, string, string, bool, int)

Adds an SPKI PEM public key.

public void AddPemKey(string keyId, string keyVersion, string signatureAlgorithm, string publicKeyPem, bool isRevoked = false, int minimumRsaKeySize = 2048)

Parameters

keyId string
keyVersion string
signatureAlgorithm string
publicKeyPem string
isRevoked bool
minimumRsaKeySize int