libcmutils 0.6.5
Multi-platform C99 utility library
Loading...
Searching...
No Matches
CMUTIL_RSAKey Struct Reference

RSA key object (can be either a private or public key). More...

Data Fields

CMUTIL_String *(* GetEncoded )(CMUTIL_RSAKey *key)
 Gets the encoded representation of the RSA key.
 
void(* Destroy )(CMUTIL_RSAKey *key)
 Destroys the RSA key object.
 

Detailed Description

RSA key object (can be either a private or public key).

Field Documentation

◆ GetEncoded

CMUTIL_String *(* CMUTIL_RSAKey::GetEncoded) (CMUTIL_RSAKey *key)

Gets the encoded representation of the RSA key.

Parameters
keyThe RSA key object.
Returns
The encoded key as a CMUTIL_String object, or NULL on failure. Returned object must be destroyed by calling Destroy member.

◆ Destroy

void(* CMUTIL_RSAKey::Destroy) (CMUTIL_RSAKey *key)

Destroys the RSA key object.

Parameters
keyThe RSA key object to destroy.

The documentation for this struct was generated from the following file: