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
AllowedAlgorithms
Gets the explicit signature algorithm allow-list.
public ISet<string> AllowedAlgorithms { get; }
Property Value
Keys
Gets the configured trusted key versions.
public IList<GovernanceVerificationKey> Keys { get; }
Property Value
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
keyIdstringkeyVersionstringsignatureAlgorithmstringpublicJwkstringisRevokedboolminimumRsaKeySizeint
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)