KeyObject

@JSImport("node:crypto", "KeyObject") @native @JSType class KeyObject extends KeyObject
class KeyObject
trait _KeyLike
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

Inherited from
KeyObject
Inherited from
KeyObject
@JSName("export")
Inherited from
KeyObject
@JSName("export")
Inherited from
KeyObject
@JSName("export")
def export_pem(options: KeyExportOptions[pem]): String | Buffer
Inherited from
KeyObject
def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Inherited fields

Inherited from
KeyObject

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.

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.

Inherited from
KeyObject
var asymmetricKeySize: UndefOr[Double]

For asymmetric keys, this property represents the size of the embedded key in bytes. This property is undefined for symmetric keys.

For asymmetric keys, this property represents the size of the embedded key in bytes. This property is undefined for symmetric keys.

Inherited from
KeyObject
var asymmetricKeyType: UndefOr[KeyType]
Inherited from
KeyObject
var symmetricKeySize: UndefOr[Double]
Inherited from
KeyObject