Skip to content

CryptoKeyPair

[<Interface>]
type CryptoKeyPair =
    abstract member privateKey: CryptoKey with get, set
    abstract member publicKey: CryptoKey with get, set
    static member Create (privateKey: CryptoKey, publicKey: CryptoKey) : CryptoKeyPair
AssemblyXantham.Fable.Node
Attributes[<Interface>]

The CryptoKeyPair is a simple dictionary object with publicKey and privateKey properties, representing an asymmetric key pair.

@since v15.0.0

Properties

abstract member privateKey: CryptoKey with get, set

A CryptoKey whose type will be 'private'.

@since v15.0.0

abstract member publicKey: CryptoKey with get, set

A CryptoKey whose type will be 'public'.

@since v15.0.0

Methods

static member Create (privateKey: CryptoKey, publicKey: CryptoKey) : CryptoKeyPair