Certificate stats.
More...
◆ CertificateStats()
fm.liveswitch.CertificateStats.CertificateStats |
( |
| ) |
|
◆ deserializeProperties()
void fm.liveswitch.CertificateStats.deserializeProperties |
( |
String |
key, |
|
|
String |
valueJson |
|
) |
| |
|
protected |
Deserializes the properties.
- Parameters
-
key | The key. |
valueJson | The value in JSON format. |
Reimplemented from fm.liveswitch.BaseStats.
◆ fromJson()
Derializes certificate stats from JSON.
- Parameters
-
certificateJson | The certificate's stats JSON. |
◆ fromJsonArray()
Derializes an array of certificate stats from JSON.
- Parameters
-
certificatesJson | The certificates' stats JSON. |
◆ getCertificateBase64()
String fm.liveswitch.CertificateStats.getCertificateBase64 |
( |
| ) |
|
Gets the certificate in Base64 format.
◆ getFingerprint()
String fm.liveswitch.CertificateStats.getFingerprint |
( |
| ) |
|
◆ getFingerprintAlgorithm()
String fm.liveswitch.CertificateStats.getFingerprintAlgorithm |
( |
| ) |
|
Gets the fingerprint algorithm.
◆ isEquivalent()
Checks if a certificate is equivalent to this one.
- Parameters
-
◆ serializeProperties()
void fm.liveswitch.CertificateStats.serializeProperties |
( |
java.util.HashMap< String, String > |
jsonObject | ) |
|
|
protected |
◆ toJson() [1/2]
String fm.liveswitch.CertificateStats.toJson |
( |
| ) |
|
◆ toJson() [2/2]
Serializes certificate stats to JSON.
- Parameters
-
certificate | The certificate's stats. |
◆ toJsonArray()
Serializes an array of certificate stats to JSON.
- Parameters
-
certificates | The certificates' stats. |