CertificateSecurityState class
Details about the security state of the page certificate.
Constructors
-
CertificateSecurityState({required String protocol, required String keyExchange, String? keyExchangeGroup, required String cipher, String? mac, required List<
String> certificate, required String subjectName, required String issuer, required TimeSinceEpoch validFrom, required TimeSinceEpoch validTo, String? certificateNetworkError, required bool certificateHasWeakSignature, required bool certificateHasSha1Signature, required bool modernSSL, required bool obsoleteSslProtocol, required bool obsoleteSslKeyExchange, required bool obsoleteSslCipher, required bool obsoleteSslSignature}) -
CertificateSecurityState.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
certificate
→ List<
String> -
Page certificate.
final
- certificateHasSha1Signature → bool
-
True if the certificate has a SHA1 signature in the chain.
final
- certificateHasWeakSignature → bool
-
True if the certificate uses a weak signature aglorithm.
final
- certificateNetworkError → String?
-
The highest priority network error code, if the certificate has an error.
final
- cipher → String
-
Cipher name.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- issuer → String
-
Name of the issuing CA.
final
- keyExchange → String
-
Key Exchange used by the connection, or the empty string if not applicable.
final
- keyExchangeGroup → String?
-
(EC)DH group used by the connection, if applicable.
final
- mac → String?
-
TLS MAC. Note that AEAD ciphers do not have separate MACs.
final
- modernSSL → bool
-
True if modern SSL
final
- obsoleteSslCipher → bool
-
True if the connection is using an obsolete SSL cipher.
final
- obsoleteSslKeyExchange → bool
-
True if the connection is using an obsolete SSL key exchange.
final
- obsoleteSslProtocol → bool
-
True if the connection is using an obsolete SSL protocol.
final
- obsoleteSslSignature → bool
-
True if the connection is using an obsolete SSL signature.
final
- protocol → String
-
Protocol name (e.g. "TLS 1.2" or "QUIC").
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subjectName → String
-
Certificate subject name.
final
- validFrom → TimeSinceEpoch
-
Certificate valid from date.
final
- validTo → TimeSinceEpoch
-
Certificate valid to (expiration) date
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited