Interface TlsFileDatabase

All Superinterfaces:
Proxy
All Known Implementing Classes:
TlsFileDatabase.TlsFileDatabase$Impl

@Generated("org.javagi.JavaGI") public interface TlsFileDatabase extends Proxy
GTlsFileDatabase is implemented by TlsDatabase objects which load their certificate information from a file. It is an interface which TLS library specific subtypes implement.
Since:
2.30
  • Method Details

    • getType

      static @Nullable Type getType()
      Get the GType of the TlsFileDatabase class.
      Returns:
      the GType
    • new_

      static TlsFileDatabase new_(String anchors) throws GErrorException

      Creates a new GTlsFileDatabase which uses anchor certificate authorities in anchors to verify certificate chains.

      The certificates in anchors must be PEM encoded.

      Parameters:
      anchors - filename of anchor certificate authorities.
      Returns:
      the new GTlsFileDatabase, or null on error
      Throws:
      GErrorException - see GError
      Since:
      2.30