Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
ECKey.Generate
Generates a new pair of private and public keys.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Sign | 5.4 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| CurveID | The curve ID to use. | 711 |
Result
Returns reference number or error.
Description
Generates a new pair of private and public keys.You can use ECKey.ReadPrivateKey and ECKey.ReadPublicKey functions to get the keys.
Please use ECKey.Release later to free memory.
Examples
Generate keys and store in fields:
Set Variable [$key; Value:MBS("ECKey.Generate"; 711)]
Set Field [ECKey Test::KeyInfo; MBS("ECKey.Description"; $key)]
Set Field [ECKey Test::PrivateKey; MBS("ECKey.PrivateKey"; $key)]
Set Field [ECKey Test::PublicKey; MBS("ECKey.PublicKey"; $key)]
Set Variable [$r; Value:MBS("ECKey.Release"; $key)]
See also
- ECKey.Description
- ECKey.PrivateKey
- ECKey.PublicKey
- ECKey.ReadPrivateKey
- ECKey.ReadPublicKey
- ECKey.Release
Example Databases
- Encryption and Hash/ECKey Test
- Encryption and Hash/Solution Registration/Solution Registration Creator
FileMaker Magazin
Created 9th October 2015, last changed 14th October 2015
ECKey.Duplicate - ECKey.PrivateKey
Feedback: Report problem or ask question.
Links
MBS FileMaker Plugins