Interface IRekorClient
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
envelopeJsonbyte[]leafCertX509Certificate2cancellationTokenCancellationToken
Returns
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
artifactDigestbyte[]signaturebyte[]leafCertX509Certificate2cancellationTokenCancellationToken