ParsedKeyPair: {
    alg: string;
    kid: string;
    name: string;
    private: KeyObject;
    public: KeyObject;
    use: string;
}

Parsed KeyPair object returned by the parseKeyObject function,z

Type declaration

  • alg: string

    The algorithm used

  • kid: string

    The key ID

  • name: string

    What the key is used for

  • private: KeyObject

    The private key parsed in node crypto type

  • public: KeyObject

    The public key parsed in node crypto type

  • use: string

    The use for the key, typically enc or sig