Package dev.sigstore.rekor.client
Class RekorVerifier
- java.lang.Object
-
- dev.sigstore.rekor.client.RekorVerifier
-
public class RekorVerifier extends java.lang.ObjectVerifier for rekor entries.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RekorVerifiernewRekorVerifier(SigstoreTrustedRoot trustRoot)static RekorVerifiernewRekorVerifier(java.util.List<TransparencyLog> tlogs)voidverifyEntry(RekorEntry entry)Verify that a Rekor Entry is signed with the rekor public key loaded into this verifier
-
-
-
Method Detail
-
newRekorVerifier
public static RekorVerifier newRekorVerifier(SigstoreTrustedRoot trustRoot)
-
newRekorVerifier
public static RekorVerifier newRekorVerifier(java.util.List<TransparencyLog> tlogs)
-
verifyEntry
public void verifyEntry(RekorEntry entry) throws RekorVerificationException
Verify that a Rekor Entry is signed with the rekor public key loaded into this verifier- Parameters:
entry- the entry to verify- Throws:
RekorVerificationException- if the entry cannot be verified
-
-