iya-sts
    Preparing search index...

    Function parseAuthenticatorData

    • Parses authenticator data: the RP ID hash, the flags, the signature counter, and the attested credential data and extensions when present.

      Parameters

      • buf: any

        the raw authenticator data

      Returns {
          aaguid: any;
          credentialId: any;
          credentialPublicKey: any;
          flags: {
              at: boolean;
              be: boolean;
              bs: boolean;
              ed: boolean;
              up: boolean;
              uv: boolean;
          };
          rpIdHash: any;
          signCount: any;
      }

      the parsed fields, with the credential public key still as CBOR

      when the data is too short or its lengths run past the end