atoakm 3.2.0
ATOMAS atoakm
AKM Error codes

All errors are encapsulated in AKM specific errors. More...

Macros

#define ATO_AKM_ERR_MIN   12000
 The mimimum error number.
 
#define ATO_AKM_ERR_GENERAL   (ATO_AKM_ERR_MIN+1)
 For errors not otherwise specified.
 
#define ATO_AKM_ERR_NETSENDER   (ATO_AKM_ERR_MIN+2)
 A SOAP fault generated by the sender, not including service unavailable.
 
#define ATO_AKM_ERR_NETRECEIVER   (ATO_AKM_ERR_MIN+3)
 A SOAP fault generated by the receiver, not including service unavailable.
 
#define ATO_AKM_ERR_NETUNAVAILABLE   (ATO_AKM_ERR_MIN+4)
 A SOAP fault where the remote service is unavailable.
 
#define ATO_AKM_ERR_NETCOMMS   (ATO_AKM_ERR_MIN+5)
 A general network error has occurred, not including timeouts.
 
#define ATO_AKM_ERR_NETTIMEOUT   (ATO_AKM_ERR_MIN+6)
 A network time has occured trying to connect to a remote service.
 
#define ATO_AKM_ERR_CRYPTO   (ATO_AKM_ERR_MIN+7)
 General cryptographic error.
 
#define ATO_AKM_ERR_NOTRENEWABLE   (ATO_AKM_ERR_MIN+8)
 Credential is not renewable due to being created too recently.
 
#define ATO_AKM_ERR_RENEW   (ATO_AKM_ERR_MIN+9)
 Error renewing credential.
 
#define ATO_AKM_ERR_CREDNOTFOUND   (ATO_AKM_ERR_MIN+10)
 Credential not found in keystore.
 
#define ATO_AKM_ERR_ALIASEXISTS   (ATO_AKM_ERR_MIN+11)
 A credential with the given alias exists and is not replaceable.
 
#define ATO_AKM_ERR_KEYSTORE_CORRUPTED   (ATO_AKM_ERR_MIN+12)
 Keystore is corrupted.
 
#define ATO_AKM_ERR_BADPWD   (ATO_AKM_ERR_MIN+13)
 Bad password.
 
#define ATO_AKM_ERR_PWDDEST   (ATO_AKM_ERR_MIN+14)
 The password for the target keystore is wrong.
 
#define ATO_AKM_ERR_SAVE   (ATO_AKM_ERR_MIN+15)
 Error saving keystore.
 
#define ATO_AKM_ERR_INTEGRITYVALUE   (ATO_AKM_ERR_MIN+16)
 Error validating integrity value.
 
#define ATO_AKM_ERR_RENEWNOTCALLED   (ATO_AKM_ERR_MIN+17)
 Private key of a credential accessed without first calling renewall method.
 
#define ATO_AKM_ERR_PWDPOLICY   (ATO_AKM_ERR_MIN+18)
 The supplied password does not meet the strength requirements of the password policy.
 
#define ATO_AKM_ERR_COPYCREDENTIAL   (ATO_AKM_ERR_MIN+19)
 Error during copycredential operation.
 
#define ATO_AKM_ERR_DUPLICATECR   (ATO_AKM_ERR_MIN+20)
 Possible duplicate credential.
 
#define ATO_AKM_ERR_LOAD   (ATO_AKM_ERR_MIN+21)
 Error loading keystore.
 
#define ATO_AKM_ERR_RENEW_NOTAVAILABLE   (ATO_AKM_ERR_MIN+22)
 Renewal not available for the given Certficate Authority (e.g. More...
 
#define ATO_AKM_ERR_PWD   (ATO_AKM_ERR_MIN+25)
 Password processing failed with possible corrupted P8 - see also ATO_AKM_ERR_BADPWD.
 
#define ATO_AKM_ERR_MAX   (ATO_AKM_ERR_MIN+200)
 The maximum error number.
 

Detailed Description

All errors are encapsulated in AKM specific errors.

For the underlying error, use ato_err_inner() to retrieve nested errors and their details.

Macro Definition Documentation

◆ ATO_AKM_ERR_RENEW_NOTAVAILABLE

#define ATO_AKM_ERR_RENEW_NOTAVAILABLE   (ATO_AKM_ERR_MIN+22)

Renewal not available for the given Certficate Authority (e.g.

in a test environment).