Share via


CRYPT Error Codes

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The following table shows error codes that a cryptographic function might generate.

Value Message Text Description

80091001

CRYPT_E_MSG_ERROR

An error was encountered doing a cryptographic message operation.

80091002

CRYPT_E_UNKNOWN_ALGO

The cryptographic algorithm is unknown.

80091003

CRYPT_E_OID_FORMAT

The object identifier is badly formatted.

80091004

CRYPT_E_INVALID_MSG_TYPE

The message type is invalid.

80091005

CRYPT_E_UNEXPECTED_ENCODING

Unexpected message encoding.

80091006

CRYPT_E_AUTH_ATTR_MISSING

Missing an expected authenticated attribute.

80091007

CRYPT_E_HASH_VALUE

Incorrect hash value.

80091008

CRYPT_E_INVALID_INDEX

Invalid index value.

80091009

CRYPT_E_ALREADY_DECRYPTED

Message content already decrypted.

8009100A

CRYPT_E_NOT_DECRYPTED

Message content not yet decrypted.

8009100B

CRYPT_E_RECIPIENT_NOT_FOUND

Enveloped-data message missing the specified recipient.

8009100C

CRYPT_E_CONTROL_TYPE

Invalid control type.

8009100D

CRYPT_E_ISSUER_SERIALNUMBER

Invalid issuer or serial number.

8009100E

CRYPT_E_SIGNER_NOT_FOUND

Original signer not found.

8009100F

CRYPT_E_ATTRIBUTES_MISSING

Message missing requested attributes.

80091010

CRYPT_E_STREAM_MSG_NOT_READY

Streamed message is note yet able to return the requested data.

80091011

CRYPT_E_STREAM_INSUFFICIENT_ DATA

Streamed message needs more data.

80092001

CRYPT_E_BAD_LEN

Insufficient output data length specified.

80092002

CRYPT_E_BAD_ENCODE

Error while encoding or decoding.

80092003

CRYPT_E_FILE_ERROR

Error while reading or writing to the file

80092004

CRYPT_E_NOT_FOUND

Object or property not found.

80092005

CRYPT_E_EXISTS

Object or property already exists.

80092006

CRYPT_E_NO_PROVIDER

No provider specified for store or object.

80092007

CRYPT_E_SELF_SIGNED

Specified certificate is self-signed.

80092008

CRYPT_E_DELETED_PREV

Previous certificate or CRL context deleted.

80092009

CRYPT_E_NO_MATCH

No match when trying to find the object.

8009200A

CRYPT_E_UNEXPECTED_MSG_TYPE

The type of the cryptographic message being decoded is different than what was expected.

8009200B

CRYPT_E_NO_KEY_PROPERTY

The certificate doesn't have a private key property

8009200C

CRYPT_E_NO_DECRYPT_CERT

No certificate was found having a private key property to use for decrypting.

8009200D

CRYPT_E_BAD_MSG

Not a cryptographic message, or incorrectly formatted.

8009200E

CRYPT_E_NO_SIGNER

The signed message doesn't have a signer for the specified signer index

8009200F

CRYPT_E_PENDING_CLOSE

Final closure is pending until additional frees or closes.

80092010

CRYPT_E_REVOKED

The certificate or signature has been revoked

80092011

CRYPT_E_NO_REVOCATION_DLL

No Dll or exported function found to verify revocation.

80092012

CRYPT_E_NO_REVOCATION_CHECK

Called function unable to perform revocation check.

80092013

CRYPT_E_REVOCATION_OFFLINE

Because the revocation server was offline, the called function wasn't able to complete the revocation check.

80092014

CRYPT_E_NOT_IN_REVOCATION_ DATABASE

The certificate or signature not found in the revocation server database.

80092020

CRYPT_E_INVALID_NUMERIC_ STRING

The string contains a non-numeric character.

80092021

CRYPT_E_INVALID_PRINTABLE_ STRING

The string contains a non-printable character.

80092022L

CRYPT_E_INVALID_IA5_STRING

The string contains a character not in the 7 bit ASCII character set.

80092023

CRYPT_E_INVALID_X500_STRING

The string contains an invalid X500 name attribute key, OID, value or delimiter.

80092024

CRYPT_E_NOT_CHAR_STRING

The dwvaluetype for CERT_NAME_VALUE not one of the character strings.

80092025

CRYPT_E_FILERESIZED

Put operation cannot continue. The file needs to be resized.

80092026

CRYPT_E_SECURITY_SETTINGS

The cryptography operation failed due to a local security option setting.

80092027

CRYPT_E_NO_VERIFY_USAGE_DLL

No DLL or exported function found to verify subject usage.

80092028

CRYPT_E_NO_VERIFY_USAGE_CHECK

The called function was not able to do a usage check on the subject.

80092029

CRYPT_E_VERIFY_USAGE_OFFLINE

Because the server was offline, the called function was not able to complete the usage check.

8009202A

CRYPT_E_NOT_IN_CTL

The subject not found in a Certificate Trust List.

8009202B

CRYPT_E_NO_TRUSTED_SIGNER

No trusted signer found.

80093000

CRYPT_E_OSS_ERROR

OSS Certificate encode/decode error code base. See asn1code.h.