Certificate stats. More...
Public Member Functions | |
| CertificateStats () | |
| String | getCertificateBase64 () |
| Gets the certificate in Base64 format. More... | |
| String | getFingerprint () |
| Gets the fingerprint. More... | |
| String | getFingerprintAlgorithm () |
| Gets the fingerprint algorithm. More... | |
| boolean | isEquivalent (fm.liveswitch.CertificateStats instance) |
| Checks if a certificate is equivalent to this one. More... | |
| String | toJson () |
| Serializes this to JSON. More... | |
Public Member Functions inherited from fm.liveswitch.BaseStats | |
| String | getId () |
| Gets the identifier of the object generating these stats. More... | |
| java.util.Date | getTimestamp () |
| Gets the timestamp when these stats were generated. More... | |
Public Member Functions inherited from fm.liveswitch.IEquivalent< fm.liveswitch.CertificateStats > | |
| abstract boolean | isEquivalent (T instance) |
| Checks if an instance is equivalent to this one. More... | |
Static Public Member Functions | |
| static fm.liveswitch.CertificateStats | fromJson (String certificateJson) |
| Derializes certificate stats from JSON. More... | |
| static fm.liveswitch.CertificateStats[] | fromJsonArray (String certificatesJson) |
| Derializes an array of certificate stats from JSON. More... | |
| static String | toJson (fm.liveswitch.CertificateStats certificate) |
| Serializes certificate stats to JSON. More... | |
| static String | toJsonArray (fm.liveswitch.CertificateStats[] certificates) |
| Serializes an array of certificate stats to JSON. More... | |
Protected Member Functions | |
| void | deserializeProperties (String key, String valueJson) |
| Deserializes the properties. More... | |
| void | serializeProperties (java.util.HashMap< String, String > jsonObject) |
| Serializes the properties. More... | |
Protected Member Functions inherited from fm.liveswitch.BaseStats | |
| BaseStats () | |
Certificate stats.
| fm.liveswitch.CertificateStats.CertificateStats | ( | ) |
|
protected |
Deserializes the properties.
| key | The key. |
| valueJson | The value in JSON format. |
Reimplemented from fm.liveswitch.BaseStats.
|
static |
Derializes certificate stats from JSON.
| certificateJson | The certificate's stats JSON. |
|
static |
Derializes an array of certificate stats from JSON.
| certificatesJson | The certificates' stats JSON. |
| String fm.liveswitch.CertificateStats.getCertificateBase64 | ( | ) |
Gets the certificate in Base64 format.
| String fm.liveswitch.CertificateStats.getFingerprint | ( | ) |
Gets the fingerprint.
| String fm.liveswitch.CertificateStats.getFingerprintAlgorithm | ( | ) |
Gets the fingerprint algorithm.
| boolean fm.liveswitch.CertificateStats.isEquivalent | ( | fm.liveswitch.CertificateStats | instance | ) |
Checks if a certificate is equivalent to this one.
| instance | The certificate. |
|
protected |
Serializes the properties.
| jsonObject | The JSON object. |
Reimplemented from fm.liveswitch.BaseStats.
| String fm.liveswitch.CertificateStats.toJson | ( | ) |
Serializes this to JSON.
|
static |
Serializes certificate stats to JSON.
| certificate | The certificate's stats. |
|
static |
Serializes an array of certificate stats to JSON.
| certificates | The certificates' stats. |