iya-sts
    Preparing search index...

    Variable publicKeyFromSpki

    publicKeyFromSpki: (
        spkiDer: any,
    ) => {
        curve: string;
        key: any;
        kind: string;
        pqAlgorithm: string;
        spki: any;
    } = publicKeyFromSpki

    Type Declaration

      • (
            spkiDer: any,
        ): { curve: string; key: any; kind: string; pqAlgorithm: string; spki: any }
      • Reads a SubjectPublicKeyInfo as a caller choosing a scheme needs it. Never throws.

        Parameters

        • spkiDer: any

          the DER

        Returns { curve: string; key: any; kind: string; pqAlgorithm: string; spki: any }

        { kind, key, curve, pqAlgorithm }, kind empty for anything unknown