File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
sigstore-java/src/main/java/dev/sigstore Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 17
17
18
18
import java .util .List ;
19
19
import java .util .Map ;
20
- import org .immutables .value .Value ;
20
+ import org .immutables .value .Value .Default ;
21
+ import org .immutables .value .Value .Immutable ;
21
22
22
- @ Value . Immutable
23
+ @ Immutable
23
24
public interface KeylessVerificationRequest {
24
25
KeylessSignature getKeylessSignature ();
25
26
26
- VerificationOptions getVerificationOptions ();
27
+ @ Default
28
+ default VerificationOptions getVerificationOptions () {
29
+ return VerificationOptions .builder ().isOnline (true ).build ();
30
+ }
27
31
28
- @ Value . Immutable
32
+ @ Immutable
29
33
interface VerificationOptions {
30
34
boolean isOnline ();
31
35
@@ -36,7 +40,7 @@ static ImmutableVerificationOptions.Builder builder() {
36
40
}
37
41
}
38
42
39
- @ Value . Immutable
43
+ @ Immutable
40
44
interface CertificateIdentity {
41
45
String getIssuer ();
42
46
You can’t perform that action at this time.
0 commit comments