FROST Core TypeScript Library - v0.2.2-alpha.3
    Preparing search index...

    Function deserializeCiphersuite

    • Deserialize and validate a ciphersuite identifier.

      Type Parameters

      Parameters

      • ciphersuite: C

        The expected ciphersuite

      • data: string | Uint8Array<ArrayBufferLike>

        The data to deserialize (string for human-readable, Uint8Array for binary)

      • humanReadable: boolean

        Whether data is in human-readable format

      Returns void

      FrostError if the ciphersuite doesn't match