Table of Contents

Class CapabilityTokenVerificationKeyOptions

Namespace
ReferenceApplication.Web.Governance
Assembly
ReferenceApplication.Web.dll

Describes one trusted public key version that verifies capability token proofs.

public sealed class CapabilityTokenVerificationKeyOptions
Inheritance
CapabilityTokenVerificationKeyOptions
Inherited Members

Remarks

Every entry shares KeyId. AsiBackbone's public-key verifier selects the entry whose version matches the proof's key version, so a token signed under any listed version verifies until that entry is removed or marked Revoked.

Only public material belongs here. AsiBackbone refuses a PEM that contains a private key, and refuses RSA keys smaller than 2048 bits.

Properties

KeyVersion

Gets or sets the key version this public key verifies.

public string KeyVersion { get; set; }

Property Value

string

PublicKeyPem

Gets or sets the SPKI PEM-encoded RSA public key (-----BEGIN PUBLIC KEY-----).

public string? PublicKeyPem { get; set; }

Property Value

string

Revoked

Gets or sets a value indicating whether this version is revoked.

public bool Revoked { get; set; }

Property Value

bool

Remarks

A revoked version stays listed so that tokens signed under it are denied immediately with AsiBackbone's signature.key-revoked failure, instead of waiting for them to expire.