Class HpkpConfiguration
Inheritance
System.Object
HpkpConfiguration
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: WaCore.Web.Middleware.SecureHeaders.Models
Assembly: WaCore.Web.dll
Syntax
public class HpkpConfiguration : IConfigurationBase
Constructors
| Improve this Doc View SourceHpkpConfiguration()
Declaration
public HpkpConfiguration()
Properties
| Improve this Doc View SourceIncludeSubDomains
(OPTIONAL) Whether this rule applies to all of the site's subdomains as well
Declaration
public bool IncludeSubDomains { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MaxAge
The time, in seconds, that the browser should remember that this site is only to be accessed using one of the pinned keys
Declaration
public int MaxAge { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PinSha256
The quoted string is the Base64 encoded Subject Public Key Information (SPKI) fingerprint
Declaration
public List<string> PinSha256 { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
ReportUri
(OPTIONAL) The URL which pin validation failures are reported to
Declaration
public string ReportUri { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceBuildHeaderValue()
Declaration
public string BuildHeaderValue()
Returns
Type | Description |
---|---|
System.String |