Class TlsFileDatabase

All Implemented Interfaces:
PointerInterface

public class TlsFileDatabase extends Interface
#GTlsFileDatabase is implemented by #GTlsDatabase objects which load
their certificate information from a file. It is an interface which
TLS library specific subtypes implement.

https://docs.gtk.org/gio/iface.TlsFileDatabase.html

  • Constructor Details

  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • _new

      public static TlsFileDatabase _new(@Nonnull Str anchors) throws AllocationError
      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:
      AllocationError
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()