HttpPublicKeyPinningDsl

Deprecated

as of 5.8 with no replacement

A Kotlin DSL to configure the HttpSecurity HTTP Public Key Pinning header using idiomatic Kotlin code.

Author

Eleftheria Stein

Since

5.3

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

if true, the pinning policy applies to this pinned host as well as any subdomains of the host's domain name.

Link copied to clipboard

the value (in seconds) for the max-age directive of the Public-Key-Pins header.

Link copied to clipboard

the value for the pin- directive of the Public-Key-Pins header.

Link copied to clipboard

if true, the browser should not terminate the connection with the server.

Link copied to clipboard

the URI to which the browser should report pin validation failures.

Functions

Link copied to clipboard
fun disable()

Disable the HTTP Public Key Pinning header.