[ Compact ]
[ Version ( since = "2.68" ) ]
public class HSTSPolicy
An HTTP Strict Transport Security policy.
domain represents the host that this policy applies to. The domain must be IDNA-canonicalized.
HSTSPolicy and related methods will do this for you.
max_age contains the 'max-age' value from the Strict Transport Security header and indicates the time to live of this policy, in
expires will be non-%NULL if the policy has been set by the host and hence has an expiry time. If
null, it indicates that the policy is a permanent session policy set by the user agent.
true, the Strict Transport Security policy must also be enforced on subdomains of