Description
-
Returns public key - as byte array.
Property type
-
An array of Byte values. For VC users, please
declare it as SAFEARRAY FAR* (VT_UI1).
Syntax
-
object.PublicKeyData(KeyType)
The PublicKeyData Property 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 or DSA). |
Settings
-
The settings for KeyType are:
 |
RSAkey |
0 |
Uses RSA cipher to create
keys. |
 |
DSAkey |
1 |
Uses DSA cipher to create
keys. |
Remarks
-
This property will return raw data for public part of
previously generated (or loaded) key. Unlike PublicKey
property which returns String, this property returns byte
array.
|