Skip to main content
KeyObject.prototype.asymmetricKeyDetails - crypto - Node documentation
property KeyObject.prototype.asymmetricKeyDetails

Usage in Deno

import { KeyObject } from "node:crypto";

This property exists only on asymmetric keys. Depending on the type of the key, this object contains information about the key. None of the information obtained through this property can be used to uniquely identify a key or to compromise the security of the key.

For RSA-PSS keys, if the key material contains a RSASSA-PSS-params sequence, the hashAlgorithm, mgf1HashAlgorithm, and saltLength properties will be set.

Other key details might be exposed via this API using additional attributes.

Type

Back to top