A.0 Certificate Server Error Code Constants

The Novell Certificate Server APIs use the error codes listed below:

Decimal Value

Hexidecimal Value

Name

Description

-1202

0xFFFFFB4E

PKI_E_FILE_OPEN

A file could not be opened.

-1201

0xFFFFFB4F

PKI_E_FILE_CREATE

A file could not be created.

-1203

0xFFFFFB4D

PKI_E_FILE_READ

A file could not be read.

-1204

0xFFFFFB4C

PKI_E_FILE_WRITE

A file could not be written.

-1205

0xFFFFFB4B

PKI_E_FILE_SEEK

The size of a file could not be determined.

-1206

0xFFFFFB4A

PKI_E_CRYPT_INIT

Not currently used.

-1207

0xFFFFFB49

PKI_E_NO_KEY_FILE

Not currently used.

-1208

0xFFFFFB48

PKI_E_GENERATE_KEY

Not currently used.

-1209

0xFFFFFB47

PKI_E_KEY_SIZE_NOT_SUPPORTED

The requested key size is not supported by NICI.

-1210

0xFFFFFB46

PKI_E_KEYS_ALREADY_EXIST

A key pair already exists for the Organizational CA.

-1211

0xFFFFFB45

PKI_E_UPDATE_KMO

A certificate with the specified key pair name already exists for the specified server.

-1212

0xFFFFFB44

PKI_E_INSUFFICIENT_MEMORY

Memory could not be allocated on either the client workstation or the server.

-1213

0xFFFFFB43

PKI_E_BUFFER_OVERFLOW

An internal data buffer overflow occurred.

-1214

0xFFFFFB42

PKI_E_BAD_REQUEST_SYNTAX

An invalid request was made to the client or server.

-1215

0xFFFFFB41

PKI_E_DSIO

Not currently used.

-1216

0xFFFFFB40

PKI_E_CREATE_CERTIFICATE_OR_CSR

The certificate or certificate signing request could not be generated.

-1217

0xFFFFFB3F

PKI_E_ALGORITHM_NOT_SUPPORTED

The requested key generation or signature algorithm is not allowed by NICI.

-1218

0xFFFFFB3E

PKI_E_UNKNOWN_ATTRIBUTE

The requested subject name, issuer name, or alternative name contains a name type that is not understood by Novell Certificate Server.

-1219

0xFFFFFB3D

PKI_E_INVALID_NAME

A specified name is not valid for the requested operation.

-1220

0xFFFFFB3C

PKI_E_INVALID_CREATE_CA _REQUEST

Not currently used.

-1221

0xFFFFFB3B

PKI_E_INVALID_OBJECT

The specified object is not the expected type or does not contain the expected information.

-1222

0xFFFFFB3A

PKI_E_NOT_SUPPORTED

Novell Certificate Server does not support the requested operation.

-1223

0xFFFFFB39

PKI_E_ADD_TRUSTED_ROOT

Not currently used.

-1224

0xFFFFFB38

PKI_E_ADD_KEYPAIR

Not currently used.

-1225

0xFFFFFB37

PKI_E_ADD_CERTIFICATE

The User Certificate created was not stored in the User object.

-1226

0xFFFFFB36

PKI_E_EXPECTING_CERTIFICATE

An attempt was made to store a certificate or a certificate chain with an invalid encoding into a Server Certificate object.

-1227

0xFFFFFB35

PKI_E_BROKEN_CHAIN

The certificate chain being stored in a Server Certificate object is invalid or corrupted.

-1228

0xFFFFFB34

PKI_E_INIT_ERROR

The client could not initialize the required eDirectory context.

-1229

0xFFFFFB33

PKI_E_WRONG_VERSION

An unrecognized version of an NCP™ has been sent to the server. Data stored in the User object is not in a recognized format.

-1230

0xFFFFFB32

PKI_E_WRONG_PKI_E_ONLY_ONE_TREE_CA

An attempt was made to create an Organizational CA when one already exists. Only one Organizational CA is permitted in an eDirectory tree.

-1231

0xFFFFFB31

PKI_E_BAD_ROOT_INDEX

The certificate chain stored in a Server Certificate objectServer_Certificate_Object has been corrupted. The certificate chain stored in the Organizational CA object has been corrupted.

-1232

0xFFFFFB30

PKI_E_SUBJECT_NAME_COMPARISON_FAILURE

The subject name stored in the Server Certificate object is not the same as the subject name within the certificate that is being stored. The subject name of a certificate in the Organizational CA’s certificate chain does not match the expected value. The subject name of a certificate in the NICI Machine Unique CA’s certificate chain does not match the expected value.

-1233

0xFFFFFB2F

PKI_E_PUBLIC_KEY_COMPARISON_FAILURE

The public key stored in the Server Certificate object is not the same as the public key within the certificate being stored.

-1234

0xFFFFFB2E

PKI_E_NO_RIGHTS

The user does not have the appropriate eDirectory rights to perform the operation.

-1235

0xFFFFFB2D

PKI_TERISA_ESTABLISH_CONTEXT_ERROR

The server could not establish a Terisa context.

-1236

0xFFFFFB2C

PKI_TERISA_ADD_ROOT_ERROR

The server could not add the specified certificate as a trusted root to the Server Certificate object.

-1237

0xFFFFFB2B

PKI_TERISA_ADD_KEYS_ERROR

The server could not store the public and private keys in the Server Certificate object.

-1238

0xFFFFFB2A

TERISA_ADD_CERTIFICATE _ERROR

The server could not store the specified certificate or certificate chain in the Server Certificate object.

-1239

0xFFFFFB29

PKI_E_SYSTEM_RESOURCES

The server could not allocate the required eDirectory context or the required NICI context.

-1240

0xFFFFFB28

PKI_E_PARSE_CERTIFICATE

Novell Certificate Server was unable to parse a certificate that has been stored or is being stored.

-1241

0xFFFFFB27

PKI_E_NO_TREE_CA

An Organizational CA does not exist for the eDirectory tree.

-1242

0xFFFFFB26

PKI_E_INVALID_NICKNAME

A User Certificate with the specified nickname does not exist.

-1243

0xFFFFFB25

PKI_E_USER_ALREADY_IN_LIST

Not currently used.

-1244

0xFFFFFB24

PKI_E_USER_NOT_FOUND_IN_LIST

Not currently used.

-1246

0xFFFFFB22

PKI_E_USER_CERT_NOT_FOUND

Not currently used.

-1247

0xFFFFFB21

PKI_E_INVALID_ALGORITHM

The cryptographic algorithm is not supported.

-1248

0xFFFFFB20

PKI_E_INVALID_OPERATION

The requested operation cannot be performed by the Novell Certificate Server.

-1249

0xFFFFFB1F

PKI_E_INVALID_DIGEST

Not currently used.

-1251

0xFFFFFB1D

PKI_E_DATA_NOT_READY

The requested data is not available.

-1252

0xFFFFFB1C

PKI_E_INVALID_KDK_ID

Not currently used.

-1253

0xFFFFFB1B

PKI_E_INTERNAL_ERROR

An unexpected internal error has occurred.

-1254

0xFFFFFB1A

PKI_E_INVALID_CERTIFICATE_TIME

The validity period requested for the certificate is not valid. The Organizational CA is not yet operational.

-1255

0xFFFFFB19

PKI_E_EXPIRED_CERTIFICATE

A certificate is no longer valid because it has expired.

-1256

0xFFFFFB18

PKI E INVALID SIGNATURE

Not currently used.

-1257

0xFFFFFB17

PKI_E_KDK_TABLE_FULL

Not currently used.

-1258

0xFFFFFB16

PKI_E_CERT_INVALID

The certificate is invalid.

-1259

0xFFFFFB15

PKI_E_CA_ALREADY_INSTALLED

Not currently used.

-1260

0xFFFFFB14

PKI_E_CA_NOT_OPERATIONAL

The specified server is not a CA. The server specified is not running the Novell Certificate Server.

-1261

0xFFFFFB13

PKI_E_KEY_FAILURE

An error occurred while transporting a private key to the client.

-1262

0xFFFFFB12

PKI_E_INVALID_KEY_ID

The specified certificate nickname could not be found.

-1263

0xFFFFFB11

PKI_E_ACCESS_DENIED

The user does not have the appropriate eDirectory rights to perform the operation.

-1264

0xFFFFFB10

PKI_E_NICI_OUT_OF_SYNC

An NICI session error occurred while attempting to transfer a private key.

-1265

0xFFFFFB0F

PKI_E_NO_SECURITY_CONTAINER

The Security container cannot be found.

-1266

0xFFFFFB0E

PKI_E_NO_IP_ADDRESSES

No IP address can be found for the specified server.

-1267

0xFFFFFB0D

PKI_E_NICKNAME_IN_USE

The nickname specified is already being used.

-1268

0xFFFFFB0C

PKI_E_NOT_CONNECTED_TO_SERVICE

You are not currently connected to a server which can perform the requested operation.

-1269

0xFFFFFB0B

PKI_E_DUPLICATE

Not currently used.

-1270

0xFFFFFB0A

PKI_E_CRL_INVALID

The CRL is invalid.

-1271

0xFFFFFB09

PKI_E_CERT_NOT_FOUND

The specified certificate could not be found.

-1272

0xFFFFFB08

PKI_E_INVALID_CONTEXT

The specified context is not currently valid.

-1273

0xFFFFFB07

PKI_E_SERVICE_NOT_AVAILABLE

***The specified service is not available.