Package biopb.tensor
Interface TlsPinStore
- All Known Implementing Classes:
FileTlsPinStore
public interface TlsPinStore
Where trust-on-first-use remembers the certificate it pinned, keyed by
host:port.
FileTlsPinStore is the store Connection uses: the file the
Python SDK keeps under the state directory, so a pin made by either SDK holds
for both. inMemory() is for a caller that wants pins to last no longer
than the process.
-
Method Summary
-
Method Details
-
get
The PEM pinned forhostPort, or null if nothing is. -
put
Recordpemas the pin forhostPort. -
inMemory
A store that lives and dies with the process: pins last until the JVM exits.
-