Package dev.sigstore.tuf
Interface RootProvider
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface RootProviderAn interface for providing the tuf root to a client.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static RootProviderfromFile(java.nio.file.Path path)static RootProviderfromResource(java.lang.String resourceName)java.lang.Stringget()
-
-
-
Method Detail
-
get
java.lang.String get() throws java.io.IOException- Throws:
java.io.IOException
-
fromResource
static RootProvider fromResource(java.lang.String resourceName)
-
fromFile
static RootProvider fromFile(java.nio.file.Path path)
-
-