SENx Class

A simple class that manages the security environment used for SENx.

public class SENx

CONSTRUCTORS

There are no constructors for the SENx class.

PROPERTIES

Name

Description

DefaultCurve

Returns a string with the default Elliptic Curve used by SENx. Though many elliptic curve names are supported, secp384r1 is use by default if not specified.

IsInitialized

Returns true if the SENx library has been initialized.

METHODS

Name

Description

:small-blue-diamond:

Initialize()

Initializes the SENx library and all prepares the internal cryptographic services for encryption and decryption functions.

:small-blue-diamond:

Cleanup()

Cleans up the resources initialized during the Initialize() function.

:small-blue-diamond:

GetVersion()

Returns a string showing the library version, build date and other platform specific information.

:small-blue-diamond:

CreateKeyFiles(string curveName, string privateKey, string publicKey)

Generates a public/private key-pair using the specified curve and writes the private and public keys to output files in the PEM format.


What’s Next