WindowsPersistentCa class

Result of {@link ensurePersistentWindowsCa}.

Constructors

WindowsPersistentCa({required String certPem, required String keyPem, required String certPath, required String keyPath, required String thumbprint, required bool generated, required bool trusted})
const

Properties

certPath → String
cert.pem on disk (derived from ca.json; exists so {@link windowsTrustCa} and diagnostic tooling have a path).
final
certPem → String
PEM certificate — pass to createMitmCA({caCertPem, caKeyPem}) so the caller doesn't re-read from disk.
final
generated → bool
true when this call generated a fresh CA (first run, force, or the on-disk pair was invalid/expiring); false when the existing on-disk pair was reused.
final
hashCode → int
The hash code for this object.
no setterinherited
keyPath → String
key.pem on disk (derived from ca.json).
final
keyPem → String
PEM private key — see {@link certPem}.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
thumbprint → String
Uppercase-hex SHA-1 (matches srt-win user status caCertThumb).
final
trusted → bool
true when this call wrote the CA into the sandbox user's CurrentUser\Root (via {@link windowsTrustCa}) — always on generated, and on reuse when the sandbox user's installed thumbprint didn't already match. Callers holding a {@link WindowsSandboxUserStatus} fetched before this call should treat its caCertThumb as stale when trusted is true.
final

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