Sets our main struct and passes it to the parent class.
Creates a new #SoupHSTSPolicy with the given attributes.
Parses @msg's first "Strict-Transport-Security" response header and returns a #SoupHSTSPolicy.
Full version of #soup_hsts_policy_new(), to use with an existing expiration date. See #soup_hsts_policy_new() for details.
Creates a new session #SoupHSTSPolicy with the given attributes. A session policy is a policy that is valid during the lifetime of the #SoupHSTSEnforcer it is added to. Contrary to regular policies, it has no expiration date and is not stored in persistent enforcers. These policies are useful for user-agent to load their own or user-defined rules.
Copies @policy.
Tests if @policy1 and @policy2 are equal.
Frees @policy.
Gets @policy's domain.
Get the main Gtk struct
the main Gtk struct as a void*
Gets whether @policy include its subdomains.
Gets whether @policy is expired. Permanent policies never expire.
Gets whether @policy is a non-permanent, non-expirable session policy. see soup_hsts_policy_new_session_policy() for details.
The domain or hostname that the policy applies to
the policy expiration time, or %NULL for a permanent session policy
%TRUE if the policy applies on subdomains
The maximum age, in seconds, that the policy is valid
the main Gtk struct
#SoupHSTSPolicy implements HTTP policies, as described by <ulink url="http://tools.ietf.org/html/rfc6797">RFC 6797</ulink>.
To have a #SoupSession handle HSTS policies for your appliction automatically, use a #SoupHSTSEnforcer.