Table of Contents

Interface IRekorClient

Namespace
Sigstore.Rekor
Assembly
Sigstore.dll

Client for the Rekor transparency log.

public interface IRekorClient

Methods

AddDsseEntryAsync(byte[], X509Certificate2, CancellationToken)

Uploads a DSSE entry to Rekor and returns the TransparencyLogEntry containing an inclusion promise (SET).

Task<TransparencyLogEntry> AddDsseEntryAsync(byte[] envelopeJson, X509Certificate2 leafCert, CancellationToken cancellationToken)

Parameters

envelopeJson byte[]
leafCert X509Certificate2
cancellationToken CancellationToken

Returns

Task<TransparencyLogEntry>

AddHashedRekordEntryAsync(byte[], byte[], X509Certificate2, CancellationToken)

Uploads a hashedrekord entry to Rekor and returns the TransparencyLogEntry containing an inclusion promise (SET).

Task<TransparencyLogEntry> AddHashedRekordEntryAsync(byte[] artifactDigest, byte[] signature, X509Certificate2 leafCert, CancellationToken cancellationToken)

Parameters

artifactDigest byte[]
signature byte[]
leafCert X509Certificate2
cancellationToken CancellationToken

Returns

Task<TransparencyLogEntry>