Table of Contents

Class GovernanceVerificationKey

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

Represents one trusted public verification-key version.

public sealed class GovernanceVerificationKey
Inheritance
GovernanceVerificationKey
Inherited Members

Properties

IsRevoked

Gets a value indicating whether this version is revoked.

public bool IsRevoked { get; }

Property Value

bool

KeyId

Gets the stable key identifier.

public string KeyId { get; }

Property Value

string

KeyVersion

Gets the stable key version.

public string KeyVersion { get; }

Property Value

string

SignatureAlgorithm

Gets the required signature algorithm descriptor.

public string SignatureAlgorithm { get; }

Property Value

string

Methods

FromJwk(string, string, string, string, bool, int)

Creates a trusted key from an RSA or EC public JWK.

public static GovernanceVerificationKey FromJwk(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

Returns

GovernanceVerificationKey

FromPem(string, string, string, string, bool, int)

Creates a trusted key from an SPKI public-key PEM.

public static GovernanceVerificationKey FromPem(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

Returns

GovernanceVerificationKey