Back to product page- Introduction
- Overview
- License agreement
- Getting Started
- Objects
- Enumerations
- wodSSHD
- Methods
- Properties
- Events
- Connecting
- CryptoInformation
- Disconnected
- LoginGSSAPI
- LoginPassword
- LoginPubkey
- PortBindRequest
- PortForwardConnect
- PortForwardDisconnect
- PortForwardRequest
- Received
- ServiceRequest
- ServiceStart
- SftpDeleteFile
- SftpDownloadFile
- SftpFileTransferData
- SftpListDir
- SftpListDirData
- SftpMakeDir
- SftpProgress
- SftpRemoveDir
- SftpRename
- SftpTransferComplete
- SftpUploadFile
- StateChanged
- IwodSSHDNotify
- Methods
- Connecting
- CryptoInformation
- Disconnected
- LoginGSSAPI
- LoginPassword
- LoginPubkey
- PortBindRequest
- PortForwardConnect
- PortForwardDisconnect
- PortForwardRequest
- Received
- ServiceRequest
- ServiceStart
- SftpDeleteFile
- SftpDownloadFile
- SftpFileTransferData
- SftpListDir
- SftpListDirData
- SftpMakeDir
- SftpProgress
- SftpRemoveDir
- SftpRename
- SftpTransferComplete
- SftpUploadFile
- StateChanged
- Methods
- SSHKeyPair
- SSHUser
- SSHUsers
- How to get support
- Technical information
- Fast notifications
- Error list
PublicKey property
Returns public key.
Type
A String value.Syntax
- 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 SSHKeyPair. |
| KeyType | Required. A SSHKeyTypes enumeration, as described in settings. Type of the key (RSA, DSA or ECDSA). |
Remarks
The settings for KeyType are:
| Constant | Value | Description |
|---|---|---|
| RSAkey | 0 | Uses RSA cipher to create keys. |
| DSAkey | 1 | Uses DSA cipher to create keys. |
| ECDSAkey | 2 | Uses ECDSA cipher to create keys. |
This property will return raw data for public part of previously generated (or loaded) key.