Search Results for

    / fm / liveswitch / CertificateStats

    Class: CertificateStats

    fm.liveswitch.CertificateStats

    Certificate stats.

    Hierarchy

    • BaseStats

      ↳ CertificateStats

    Implements

    • IEquivalent<CertificateStats>

    Table of contents

    Constructors

    • constructor

    Methods

    • deserializeProperties
    • getCertificateBase64
    • getFingerprint
    • getFingerprintAlgorithm
    • getId
    • getTimestamp
    • getTypeString
    • isEquivalent
    • serializeProperties
    • toJson
    • fromJson
    • fromJsonArray
    • toJson
    • toJsonArray

    Constructors

    constructor

    + new CertificateStats(): CertificateStats

    Returns: CertificateStats

    Inherited from: BaseStats

    Defined in: Generated/TypeScript/fm.liveswitch/CertificateStats.ts:18

    Methods

    deserializeProperties

    ▸ ProtecteddeserializeProperties(key: string, valueJson: string): void

    Deserializes the properties.

    Parameters:

    Name Type Description
    key string The key.
    valueJson string The value in JSON format.

    Returns: void

    Overrides: BaseStats

    Defined in: Generated/TypeScript/fm.liveswitch/CertificateStats.ts:100


    getCertificateBase64

    ▸ getCertificateBase64(): string

    Gets the certificate in Base64 format.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/CertificateStats.ts:126


    getFingerprint

    ▸ getFingerprint(): string

    Gets the fingerprint.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/CertificateStats.ts:138


    getFingerprintAlgorithm

    ▸ getFingerprintAlgorithm(): string

    Gets the fingerprint algorithm.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/CertificateStats.ts:150


    getId

    ▸ getId(): string

    Gets the identifier of the object generating these stats.

    Returns: string

    Inherited from: BaseStats

    Defined in: Generated/TypeScript/fm.liveswitch/BaseStats.ts:57


    getTimestamp

    ▸ getTimestamp(): DateTime

    Gets the timestamp when these stats were generated.

    Returns: DateTime

    Inherited from: BaseStats

    Defined in: Generated/TypeScript/fm.liveswitch/BaseStats.ts:70


    getTypeString

    ▸ getTypeString(): string

    Returns: string

    Overrides: BaseStats

    Defined in: Generated/TypeScript/fm.liveswitch/CertificateStats.ts:10


    isEquivalent

    ▸ isEquivalent(instance: CertificateStats): boolean

    Checks if a certificate is equivalent to this one.

    Parameters:

    Name Type Description
    instance CertificateStats The certificate.

    Returns: boolean

    Defined in: Generated/TypeScript/fm.liveswitch/CertificateStats.ts:163


    serializeProperties

    ▸ ProtectedserializeProperties(jsonObject: Hash<string, string>): void

    Serializes the properties.

    Parameters:

    Name Type Description
    jsonObject Hash<string, string> The JSON object.

    Returns: void

    Overrides: BaseStats

    Defined in: Generated/TypeScript/fm.liveswitch/CertificateStats.ts:179


    toJson

    ▸ toJson(): string

    Serializes this to JSON.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/CertificateStats.ts:224


    fromJson

    ▸ StaticfromJson(certificateJson: string): CertificateStats

    Derializes certificate stats from JSON.

    Parameters:

    Name Type Description
    certificateJson string The certificate's stats JSON.

    Returns: CertificateStats

    Defined in: Generated/TypeScript/fm.liveswitch/CertificateStats.ts:37


    fromJsonArray

    ▸ StaticfromJsonArray(certificatesJson: string): CertificateStats[]

    Derializes an array of certificate stats from JSON.

    Parameters:

    Name Type Description
    certificatesJson string The certificates' stats JSON.

    Returns: CertificateStats[]

    Defined in: Generated/TypeScript/fm.liveswitch/CertificateStats.ts:54


    toJson

    ▸ StatictoJson(certificate: CertificateStats): string

    Serializes certificate stats to JSON.

    Parameters:

    Name Type Description
    certificate CertificateStats The certificate's stats.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/CertificateStats.ts:71


    toJsonArray

    ▸ StatictoJsonArray(certificates: CertificateStats[]): string

    Serializes an array of certificate stats to JSON.

    Parameters:

    Name Type Description
    certificates CertificateStats[] The certificates' stats.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/CertificateStats.ts:86

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.14.6