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 }
-
Returns { curve: string; key: any; kind: string; pqAlgorithm: string; spki: any }
{ kind, key, curve, pqAlgorithm }, kind empty for anything
unknown
Reads a SubjectPublicKeyInfo as a caller choosing a scheme needs it. Never throws.