Back to product page

PublicKey method


Returns public key.

Type

A byte array.

Syntax

  • Basic
object.PublicKey(KeyType)
The PublicKey(object,KeyType) syntax has these parts:
objectAn expression evaluating to an object of type Keys.
KeyTypeRequired. A SSHKeyTypes enumeration, as described in settings. Type of the key.

Remarks

This property will return raw data for public part of previously generated (or loaded) key.

Platforms

Cross platform