Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a public key for operations with VirgilCrypto.

VirgilPublicKey objects are not meant to be created directly using the new keyword. Use the VirgilCrypto.generateKeys and VirgilCrypto.importPublicKey methods to create VirgilPublicKey instances.

Hierarchy

  • VirgilPublicKey

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

identifier

identifier: Buffer

Public key identifier. Note that the public key and its corresponding private key will have the same identifier.

key

key: Buffer

The public key material. Unlike the private keys, the public key material is available as a property of the PublicKey object.