Back to product page
PublicKey property
Returns public key.
Type
A String valueSyntax
- Basic
object.PublicKey(KeyType)
The PublicKey(object,KeyType) syntax has these parts:
The PublicKey(object,KeyType) syntax has these parts:
object | An expression evaluating to an object of type Keys. |
KeyType | Required. A SSHKeyTypes enumeration, as described in settings. Type of the key. |
Remarks
The settings for KeyType are:Constant | Value | Description |
---|---|---|
RSAkey | 0 | Uses RSA key. |
DSAkey | 1 | Uses DSA key. |
ECDSAkey | 2 | Uses ECDSA key. |
This property will return raw data for public part of previously generated (or loaded) key.