Marmot-TS
    Preparing search index...

    Function hasAccountIdentityProofMaterial

    • True iff holder's own extension list carries any account-identity-proof material at all: the legacy 0xf2f1 extension, a 0x8009 dictionary entry, or a dictionary that fails to decode (fail closed — an undecodable dictionary might be hiding proof material). Does not itself validate the material; use validateLeafAccountIdentityProof or validateKeyPackageAccountIdentityProof for that.

      Accepts a LeafNode or a KeyPackage. It only inspects holder.extensions, so for a KeyPackage it reports KeyPackage-level (misplaced or legacy) material, not material on the embedded leaf — check keyPackage.leafNode separately.

      Parameters

      • holder: { extensions: readonly { extensionType: number }[] }

      Returns boolean