PinningMethod enum

Available SSL/TLS pinning methods.

Inheritance
Available extensions

Values

certificate → const PinningMethod

Certificate-based pinning using the complete Leaf certificate

publicKey → const PinningMethod

Public key-based pinning using the Leaf certificate's public key

intermediateCertificate → const PinningMethod

Certificate-based pinning using an Intermediate CA certificate. Recommended for services behind CDN/WAF (e.g., Imperva, Cloudflare) where the Leaf certificate may vary between edge nodes.

intermediatePublicKey → const PinningMethod

Public key-based pinning using an Intermediate CA's public key. Most stable option: survives certificate renewals if the CA reuses its key.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String

Available on PinningMethod, provided by the PinningMethodExtension extension

no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<PinningMethod>
A constant List of the values in this enum, in order of their declaration.