NetBurner 3.3.9
PDF Version
Function Return Codes

Enumerations

enum  CertGenReturnCode : int {
  CERT_GEN_RETURN_SUCCESS = 1 , CERT_GEN_RETURN_NOT_REQUIRED = 2 , CERT_GEN_RETURN_INVALID_RANDOM = -1 , CERT_GEN_RETURN_MALLOC_ERROR = -2 ,
  CERT_GEN_RETURN_ECC_INIT_ERROR = -3 , CERT_GEN_RETURN_ECC_CREATE_ERROR = -4 , CERT_GEN_RETURN_RSA_INIT_ERROR = -5 , CERT_GEN_RETURN_RSA_CREATE_ERROR = -6 ,
  CERT_GEN_RETURN_CERT_INIT_ERROR = -7 , CERT_GEN_RETURN_CERT_CREATE_ERROR = -8 , CERT_GEN_RETURN_CERT_SIGNING_ERROR = -9 , CERT_GEN_RETURN_CERT_SAVING_ERROR = -10 ,
  CERT_GEN_RETURN_KEY_CONVERT_ERROR = -11 , CERT_GEN_RETURN_KEY_SAVING_ERROR = -12 , CERT_GEN_RETURN_SET_ISSUER_ERROR = -13
}
 Certificate Generation Function Return Codes. More...
 

Detailed Description

Enumeration Type Documentation

◆ CertGenReturnCode

enum CertGenReturnCode : int

Certificate Generation Function Return Codes.

Enumerator
CERT_GEN_RETURN_SUCCESS 

Returned when the certificate was successfully generated.

CERT_GEN_RETURN_NOT_REQUIRED 

Returned when the a new certificate was not required to be generated.

CERT_GEN_RETURN_INVALID_RANDOM 

Returned when the device was unable to generate a valid random number.

CERT_GEN_RETURN_MALLOC_ERROR 

Returned when the device is unable to malloc enough space to generate the certificate.

CERT_GEN_RETURN_ECC_INIT_ERROR 

Returned when the device was unable to initialize the required ECC object.

CERT_GEN_RETURN_ECC_CREATE_ERROR 

Returned when the device was unable to create the ECC key.

CERT_GEN_RETURN_RSA_INIT_ERROR 

Returned when the device was unable to initialize the required RSA object.

CERT_GEN_RETURN_RSA_CREATE_ERROR 

Returned when the device was unable to create the RSA key.

CERT_GEN_RETURN_CERT_INIT_ERROR 

Returned when the device was unable to initialize the required certificate object.

CERT_GEN_RETURN_CERT_CREATE_ERROR 

Returned when the device was unable to create the certificate.

CERT_GEN_RETURN_CERT_SIGNING_ERROR 

Returned when the device was unable to sign the created certificate.

CERT_GEN_RETURN_CERT_SAVING_ERROR 

Returned when the device was unable to properly save the certificate.

CERT_GEN_RETURN_KEY_CONVERT_ERROR 

Returned when the device was unable to convert the certificate from PEM to DER format.

CERT_GEN_RETURN_KEY_SAVING_ERROR 

Returned when the device was unable to save the key.

CERT_GEN_RETURN_SET_ISSUER_ERROR 

Returned when the device was unable to set the issuer if a CA was used.