SOCCaInfo

C Specification

#include <nitroWiFi/soc.h>
typedef struct {
char *dn;               // distinguished name
int modulus_len;        // length of modulus
u8 *modulus;            // modulus
int exponent_len;       // length of public exponent
u8 *exponent;           // public exponent
} SOCCaInfo;

Description

Structure to maintain the certificate from the issuing agency. Used for SSL communication.

Member Description
dn Specifies a pointer to the certificate's distinguished name.
modulus_len Specifies the length of the certificate's modulus.
modulus Specifies a pointer to the certificate's modulus.
exponent_len Specifies the length of the certificate's exponent.
exponent Specifies a pointer to the certificate's exponent.

For more on SSL terminology, please refer to any number of SSL references commercially available.

Furthermore, in contrast to the SSL Tool Kit, the certificate data provided to the SSL library contains only the minimum information required for verification. If the data format of the authentication certificate is understood, it can easily be converted manually from a general authentication certificate format. However, if there is a need to convert to this data structure from DER-format X.509 authentication certificate data, it is possible to perform the conversion using the certconv tool.

See Also

SOCSslConnection, SOC_EnableSsl, certconv

Revision History

01/30/2006 Added a description about the certconv tool

12/21/2005 Initial version.