SSLPinningConfig class

SSL Certificate Pins for base URLs in each environment

NOTE: These are the actual hashes from your React Native configuration.

Each domain should have at least 2 pins:

  1. Primary pin (current certificate)
  2. Backup pin (for certificate rotation)

Constructors

SSLPinningConfig()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

extractDomain(String url) String
Extract domain from URL
getAllPinnedDomains() Map<String, List<String>>
Get all configured domains for certificate pinning
getPinsForDomain(String domain) List<String>
Get pins for a specific domain
getSSLPinsForEnvironment(String environment) SSLPinConfig
Get SSL pins for a specific environment