Data.DBXOpenSSL.TRSACypher.GetPublicKey
Delphi
function GetPublicKey: TArray<Byte>;
C++
System::DynamicArray<System::Byte> __fastcall GetPublicKey(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.DBXOpenSSL.pas Data.DBXOpenSSL.hpp |
Data.DBXOpenSSL | TRSACypher |
Description
Returns the public key from the RSA key pair that is currently in use.
Depending on the key-usage policy that you specify when you create your RSA cypher, the key pair in use is either global or local.
Exceptions
GetPublicKey may raise any of the following exceptions:
Class | Message | Description |
---|---|---|
SSL module was not loaded or it was not loaded successfully. Use LoadSSL method to load the module |
You must successfully load the SSL module using LoadSSL before you call GetPublicKey. | |
<SSL error message> |
An exception may be raised if an error occurs within the underlying HTTPS framework. The error message comes from the framework itself. |