Package dev.sigstore.rekor.client
Class RekorTypes
- java.lang.Object
-
- dev.sigstore.rekor.client.RekorTypes
-
public class RekorTypes extends java.lang.ObjectParser for the body.spec element ofRekorEntry.
-
-
Constructor Summary
Constructors Constructor Description RekorTypes()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HashedRekordgetHashedRekord(RekorEntry entry)Parse a hashedrekord from rekor at api version 0.0.1.
-
-
-
Method Detail
-
getHashedRekord
public static HashedRekord getHashedRekord(RekorEntry entry) throws RekorTypeException
Parse a hashedrekord from rekor at api version 0.0.1.- Parameters:
entry- the rekor entry obtained from rekor- Returns:
- the parsed pojo
- Throws:
RekorTypeException- if the kind != hashedrekord or apiVersion != 0.0.1
-
-