Error Codes: lasso Reference Manual

## Error Codes Error Codes — Error codes returned by lasso functions |

## Types and Values

#define | LASSO_ERROR_UNDEFINED
#define | LASSO_ERROR_UNIMPLEMENTED
#define | LASSO_ERROR_OUT_OF_MEMORY
#define | LASSO_ERROR_CAST_FAILED
#define | LASSO_XML_ERROR_NODE_NOT_FOUND
#define | LASSO_XML_ERROR_NODE_CONTENT_NOT_FOUND
#define | LASSO_XML_ERROR_ATTR_NOT_FOUND
#define | LASSO_XML_ERROR_ATTR_VALUE_NOT_FOUND
#define | LASSO_XML_ERROR_INVALID_FILE
#define | LASSO_XML_ERROR_OBJECT_CONSTRUCTION_FAILED
#define | LASSO_XML_ERROR_MISSING_NAMESPACE
#define | LASSO_DS_ERROR_SIGNATURE_NOT_FOUND
#define | LASSO_DS_ERROR_INVALID_SIGNATURE
#define | LASSO_DS_ERROR_SIGNATURE_TMPL_CREATION_FAILED
#define | LASSO_DS_ERROR_CONTEXT_CREATION_FAILED
#define | LASSO_DS_ERROR_PUBLIC_KEY_LOAD_FAILED
#define | LASSO_DS_ERROR_PRIVATE_KEY_LOAD_FAILED
#define | LASSO_DS_ERROR_CERTIFICATE_LOAD_FAILED
#define | LASSO_DS_ERROR_SIGNATURE_FAILED
#define | LASSO_DS_ERROR_KEYS_MNGR_CREATION_FAILED
#define | LASSO_DS_ERROR_KEYS_MNGR_INIT_FAILED
#define | LASSO_DS_ERROR_SIGNATURE_VERIFICATION_FAILED
#define | LASSO_DS_ERROR_CA_CERT_CHAIN_LOAD_FAILED
#define | LASSO_DS_ERROR_INVALID_SIGALG
#define | LASSO_DS_ERROR_DIGEST_COMPUTE_FAILED
#define | LASSO_DS_ERROR_SIGNATURE_TEMPLATE_NOT_FOUND
#define | LASSO_DS_ERROR_TOO_MUCH_REFERENCES
#define | LASSO_DS_ERROR_INVALID_REFERENCE_FOR_SAML
#define | LASSO_DS_ERROR_DECRYPTION_FAILED
#define | LASSO_DS_ERROR_ENCRYPTION_FAILED
#define | LASSO_SERVER_ERROR_PROVIDER_NOT_FOUND
#define | LASSO_SERVER_ERROR_ADD_PROVIDER_FAILED
#define | LASSO_SERVER_ERROR_ADD_PROVIDER_PROTOCOL_MISMATCH
#define | LASSO_SERVER_ERROR_SET_ENCRYPTION_PRIVATE_KEY_FAILED
#define | LASSO_LOGOUT_ERROR_UNSUPPORTED_PROFILE
#define | LASSO_LOGOUT_ERROR_REQUEST_DENIED
#define | LASSO_LOGOUT_ERROR_FEDERATION_NOT_FOUND
#define | LASSO_LOGOUT_ERROR_UNKNOWN_PRINCIPAL
#define | LASSO_PROFILE_ERROR_INVALID_QUERY
#define | LASSO_PROFILE_ERROR_INVALID_POST_MSG
#define | LASSO_PROFILE_ERROR_INVALID_SOAP_MSG
#define | LASSO_PROFILE_ERROR_MISSING_REQUEST
#define | LASSO_PROFILE_ERROR_INVALID_HTTP_METHOD
#define | LASSO_PROFILE_ERROR_INVALID_PROTOCOLPROFILE
#define | LASSO_PROFILE_ERROR_INVALID_MSG
#define | LASSO_PROFILE_ERROR_MISSING_REMOTE_PROVIDERID
#define | LASSO_PROFILE_ERROR_UNSUPPORTED_PROFILE
#define | LASSO_PROFILE_ERROR_UNKNOWN_PROFILE_URL
#define | LASSO_PROFILE_ERROR_IDENTITY_NOT_FOUND
#define | LASSO_PROFILE_ERROR_FEDERATION_NOT_FOUND
#define | LASSO_PROFILE_ERROR_NAME_IDENTIFIER_NOT_FOUND
#define | LASSO_PROFILE_ERROR_BUILDING_QUERY_FAILED
#define | LASSO_PROFILE_ERROR_BUILDING_REQUEST_FAILED
#define | LASSO_PROFILE_ERROR_BUILDING_MESSAGE_FAILED
#define | LASSO_PROFILE_ERROR_BUILDING_RESPONSE_FAILED
#define | LASSO_PROFILE_ERROR_SESSION_NOT_FOUND
#define | LASSO_PROFILE_ERROR_BAD_IDENTITY_DUMP
#define | LASSO_PROFILE_ERROR_BAD_SESSION_DUMP
#define | LASSO_PROFILE_ERROR_MISSING_RESPONSE
#define | LASSO_PROFILE_ERROR_MISSING_STATUS_CODE
#define | LASSO_PROFILE_ERROR_MISSING_ARTIFACT
#define | LASSO_PROFILE_ERROR_MISSING_RESOURCE_OFFERING
#define | LASSO_PROFILE_ERROR_MISSING_SERVICE_DESCRIPTION
#define | LASSO_PROFILE_ERROR_MISSING_SERVICE_TYPE
#define | LASSO_PROFILE_ERROR_MISSING_ASSERTION
#define | LASSO_PROFILE_ERROR_MISSING_SUBJECT
#define | LASSO_PROFILE_ERROR_MISSING_NAME_IDENTIFIER
#define | LASSO_PROFILE_ERROR_INVALID_ARTIFACT
#define | LASSO_PROFILE_ERROR_MISSING_ENCRYPTION_PRIVATE_KEY
#define | LASSO_PROFILE_ERROR_STATUS_NOT_SUCCESS
#define | LASSO_PROFILE_ERROR_MISSING_ISSUER
#define | LASSO_PROFILE_ERROR_MISSING_SERVICE_INSTANCE
#define | LASSO_PROFILE_ERROR_MISSING_ENDPOINT_REFERENCE
#define | LASSO_PROFILE_ERROR_MISSING_ENDPOINT_REFERENCE_ADDRESS
#define | LASSO_PROFILE_ERROR_INVALID_ISSUER
#define | LASSO_PROFILE_ERROR_MISSING_SERVER
#define | LASSO_PROFILE_ERROR_UNKNOWN_PROVIDER
#define | LASSO_PROFILE_ERROR_CANNOT_VERIFY_SIGNATURE
#define | LASSO_PROFILE_ERROR_CANNOT_FIND_A_PROVIDER
#define | LASSO_PROFILE_ERROR_RESPONSE_DOES_NOT_MATCH_REQUEST
#define | LASSO_PROFILE_ERROR_INVALID_REQUEST
#define | LASSO_PROFILE_ERROR_INVALID_RESPONSE
#define | LASSO_PROFILE_ERROR_UNSUPPORTED_BINDING
#define | LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ
#define | LASSO_PARAM_ERROR_INVALID_VALUE
#define | LASSO_PARAM_ERROR_CHECK_FAILED
#define | LASSO_PARAM_ERROR_NON_INITIALIZED_OBJECT
#define | LASSO_LOGIN_ERROR_FEDERATION_NOT_FOUND
#define | LASSO_LOGIN_ERROR_CONSENT_NOT_OBTAINED
#define | LASSO_LOGIN_ERROR_INVALID_NAMEIDPOLICY
#define | LASSO_LOGIN_ERROR_REQUEST_DENIED
#define | LASSO_LOGIN_ERROR_INVALID_SIGNATURE
#define | LASSO_LOGIN_ERROR_UNSIGNED_AUTHN_REQUEST
#define | LASSO_LOGIN_ERROR_STATUS_NOT_SUCCESS
#define | LASSO_LOGIN_ERROR_UNKNOWN_PRINCIPAL
#define | LASSO_LOGIN_ERROR_NO_DEFAULT_ENDPOINT
#define | LASSO_LOGIN_ERROR_ASSERTION_REPLAY
#define | LASSO_LOGIN_ERROR_ASSERTION_DOES_NOT_MATCH_REQUEST_ID
#define | LASSO_DEFEDERATION_ERROR_MISSING_NAME_IDENTIFIER
#define | LASSO_SOAP_ERROR_REDIRECT_REQUEST_FAULT
#define | LASSO_SOAP_ERROR_MISSING_ENVELOPE
#define | LASSO_SOAP_ERROR_MISSING_HEADER
#define | LASSO_SOAP_ERROR_MISSING_BODY
#define | LASSO_SOAP_ERROR_MISSING_SOAP_FAULT_DETAIL
#define | LASSO_REGISTRY_ERROR_KEY_EXISTS
#define | LASSO_PROVIDER_ERROR_MISSING_PUBLIC_KEY

## Includes

    #include <lasso/errors.h>

## Description

Most functions in lasso return signed integer error codes. The convention is to give:

- a negative error code for programming or runtime recoverable errors,

- a positive error code for Liberty Alliance recoverable errors.

Beware that this convention is not always well followed.

## Functions

## Types and Values

### LASSO_ERROR_UNDEFINED

    #define LASSO_ERROR_UNDEFINED -1

Undefined error.

### LASSO_ERROR_UNIMPLEMENTED

    #define LASSO_ERROR_UNIMPLEMENTED -2

Unimplemented part of Lasso.

### LASSO_ERROR_OUT_OF_MEMORY

    #define LASSO_ERROR_OUT_OF_MEMORY -3

Out of memory

### LASSO_ERROR_CAST_FAILED

    #define LASSO_ERROR_CAST_FAILED -4

Expected GObject class was not found, cast failed

### LASSO_XML_ERROR_NODE_NOT_FOUND

    #define LASSO_XML_ERROR_NODE_NOT_FOUND -10

Unable to get child of element.

### LASSO_XML_ERROR_NODE_CONTENT_NOT_FOUND

    #define LASSO_XML_ERROR_NODE_CONTENT_NOT_FOUND -11

Unable to get content of element.

### LASSO_XML_ERROR_ATTR_NOT_FOUND

    #define LASSO_XML_ERROR_ATTR_NOT_FOUND -12

Unable to get attribute of element.

### LASSO_XML_ERROR_ATTR_VALUE_NOT_FOUND

    #define LASSO_XML_ERROR_ATTR_VALUE_NOT_FOUND -13

Unable to get attribute value of element.

### LASSO_XML_ERROR_INVALID_FILE

    #define LASSO_XML_ERROR_INVALID_FILE -14

Invalid XML file

### LASSO_XML_ERROR_OBJECT_CONSTRUCTION_FAILED

    #define LASSO_XML_ERROR_OBJECT_CONSTRUCTION_FAILED     -15

Construction of an object from an XML document failed.

### LASSO_XML_ERROR_MISSING_NAMESPACE

    #define LASSO_XML_ERROR_MISSING_NAMESPACE              -16

A namespace is missing.

### LASSO_DS_ERROR_SIGNATURE_NOT_FOUND

    #define LASSO_DS_ERROR_SIGNATURE_NOT_FOUND 101

Signature element not found.

### LASSO_DS_ERROR_INVALID_SIGNATURE

    #define LASSO_DS_ERROR_INVALID_SIGNATURE 102

Invalid signature.

### LASSO_DS_ERROR_SIGNATURE_TMPL_CREATION_FAILED

    #define LASSO_DS_ERROR_SIGNATURE_TMPL_CREATION_FAILED -103

### LASSO_DS_ERROR_CONTEXT_CREATION_FAILED

    #define LASSO_DS_ERROR_CONTEXT_CREATION_FAILED -104

Failed to create signature context.

### LASSO_DS_ERROR_PUBLIC_KEY_LOAD_FAILED

    #define LASSO_DS_ERROR_PUBLIC_KEY_LOAD_FAILED -105

Failed to load public key.

### LASSO_DS_ERROR_PRIVATE_KEY_LOAD_FAILED

    #define LASSO_DS_ERROR_PRIVATE_KEY_LOAD_FAILED -106

Failed to load private key.

### LASSO_DS_ERROR_CERTIFICATE_LOAD_FAILED

    #define LASSO_DS_ERROR_CERTIFICATE_LOAD_FAILED -107

Failed to load certificate.

### LASSO_DS_ERROR_SIGNATURE_FAILED

    #define LASSO_DS_ERROR_SIGNATURE_FAILED -108

Failed to sign the node.

### LASSO_DS_ERROR_KEYS_MNGR_CREATION_FAILED

    #define LASSO_DS_ERROR_KEYS_MNGR_CREATION_FAILED -109

Failed to create keys manager.

### LASSO_DS_ERROR_KEYS_MNGR_INIT_FAILED

    #define LASSO_DS_ERROR_KEYS_MNGR_INIT_FAILED -110

Failed to initialize keys manager.

### LASSO_DS_ERROR_SIGNATURE_VERIFICATION_FAILED

    #define LASSO_DS_ERROR_SIGNATURE_VERIFICATION_FAILED -111

Failed to verify signature.

### LASSO_DS_ERROR_CA_CERT_CHAIN_LOAD_FAILED

    #define LASSO_DS_ERROR_CA_CERT_CHAIN_LOAD_FAILED      -112

### LASSO_DS_ERROR_INVALID_SIGALG

    #define LASSO_DS_ERROR_INVALID_SIGALG -113

Invalid signature algorithm.

### LASSO_DS_ERROR_DIGEST_COMPUTE_FAILED

    #define LASSO_DS_ERROR_DIGEST_COMPUTE_FAILED          -114

Computation of an SHA1 digest failed.

### LASSO_DS_ERROR_SIGNATURE_TEMPLATE_NOT_FOUND

    #define LASSO_DS_ERROR_SIGNATURE_TEMPLATE_NOT_FOUND -115

Signature template has not been found.

### LASSO_DS_ERROR_TOO_MUCH_REFERENCES

    #define LASSO_DS_ERROR_TOO_MUCH_REFERENCES -116

SAML signature must contain only one reference

### LASSO_DS_ERROR_INVALID_REFERENCE_FOR_SAML

    #define LASSO_DS_ERROR_INVALID_REFERENCE_FOR_SAML -117

SAML signature reference must be to a Request, a Reponse or an Assertion ID attribute

### LASSO_DS_ERROR_DECRYPTION_FAILED

    #define LASSO_DS_ERROR_DECRYPTION_FAILED 118

Decryption of an encrypted node failed

### LASSO_DS_ERROR_ENCRYPTION_FAILED

    #define LASSO_DS_ERROR_ENCRYPTION_FAILED -119

Creation of an encrypted node failed

### LASSO_SERVER_ERROR_PROVIDER_NOT_FOUND

    #define LASSO_SERVER_ERROR_PROVIDER_NOT_FOUND -201

The identifier of a provider is unknown to LassoServer. To register a provider in a LassoServer object, you must use the methods `lasso_server_add_provider()` or `lasso_server_add_provider_from_buffer()`.

### LASSO_SERVER_ERROR_ADD_PROVIDER_FAILED

    #define LASSO_SERVER_ERROR_ADD_PROVIDER_FAILED -202

Failed to add new provider.

### LASSO_SERVER_ERROR_ADD_PROVIDER_PROTOCOL_MISMATCH

    #define LASSO_SERVER_ERROR_ADD_PROVIDER_PROTOCOL_MISMATCH -203

Failed to add new provider (protocol mismatch). It means that you tried to add a provider supporting a protocol imcompatible with the protocol declared for your LassoServer, for example metadata for ID-FF 1.2 with metadata for SAML 2.0.

### LASSO_SERVER_ERROR_SET_ENCRYPTION_PRIVATE_KEY_FAILED

    #define LASSO_SERVER_ERROR_SET_ENCRYPTION_PRIVATE_KEY_FAILED 204

Failed to load encryption private key.

### LASSO_LOGOUT_ERROR_UNSUPPORTED_PROFILE

    #define LASSO_LOGOUT_ERROR_UNSUPPORTED_PROFILE -301

Unsupported protocol profile

### LASSO_LOGOUT_ERROR_REQUEST_DENIED

    #define LASSO_LOGOUT_ERROR_REQUEST_DENIED 302

Request denied by identity provider

### LASSO_LOGOUT_ERROR_FEDERATION_NOT_FOUND

    #define LASSO_LOGOUT_ERROR_FEDERATION_NOT_FOUND 303

Federation not found on logout

### LASSO_LOGOUT_ERROR_UNKNOWN_PRINCIPAL

    #define LASSO_LOGOUT_ERROR_UNKNOWN_PRINCIPAL 304

Unknown principal on logout

### LASSO_PROFILE_ERROR_INVALID_QUERY

    #define LASSO_PROFILE_ERROR_INVALID_QUERY -401

Invalid URL query

### LASSO_PROFILE_ERROR_INVALID_POST_MSG

    #define LASSO_PROFILE_ERROR_INVALID_POST_MSG -402

Invalid POST message

### LASSO_PROFILE_ERROR_INVALID_SOAP_MSG

    #define LASSO_PROFILE_ERROR_INVALID_SOAP_MSG -403

Invalid SOAP message

### LASSO_PROFILE_ERROR_MISSING_REQUEST

    #define LASSO_PROFILE_ERROR_MISSING_REQUEST -404

Missing request

### LASSO_PROFILE_ERROR_INVALID_HTTP_METHOD

    #define LASSO_PROFILE_ERROR_INVALID_HTTP_METHOD -405

Invalid HTTP method

### LASSO_PROFILE_ERROR_INVALID_PROTOCOLPROFILE

    #define LASSO_PROFILE_ERROR_INVALID_PROTOCOLPROFILE -406

Invalid protocol profile

### LASSO_PROFILE_ERROR_INVALID_MSG

    #define LASSO_PROFILE_ERROR_INVALID_MSG -407

Invalid message

### LASSO_PROFILE_ERROR_MISSING_REMOTE_PROVIDERID

    #define LASSO_PROFILE_ERROR_MISSING_REMOTE_PROVIDERID -408

ProviderID not found

### LASSO_PROFILE_ERROR_UNSUPPORTED_PROFILE

    #define LASSO_PROFILE_ERROR_UNSUPPORTED_PROFILE -409

Unsupported protocol profile

### LASSO_PROFILE_ERROR_UNKNOWN_PROFILE_URL

    #define LASSO_PROFILE_ERROR_UNKNOWN_PROFILE_URL -410

Unable to find Profile URL in metadata

### LASSO_PROFILE_ERROR_IDENTITY_NOT_FOUND

    #define LASSO_PROFILE_ERROR_IDENTITY_NOT_FOUND -411

Identity not found

### LASSO_PROFILE_ERROR_FEDERATION_NOT_FOUND

    #define LASSO_PROFILE_ERROR_FEDERATION_NOT_FOUND -412

Federation not found

### LASSO_PROFILE_ERROR_NAME_IDENTIFIER_NOT_FOUND

    #define LASSO_PROFILE_ERROR_NAME_IDENTIFIER_NOT_FOUND -413

Name identifier not found

### LASSO_PROFILE_ERROR_BUILDING_QUERY_FAILED

    #define LASSO_PROFILE_ERROR_BUILDING_QUERY_FAILED -414

Error building request QUERY url

### LASSO_PROFILE_ERROR_BUILDING_REQUEST_FAILED

    #define LASSO_PROFILE_ERROR_BUILDING_REQUEST_FAILED -415

Error building request object

### LASSO_PROFILE_ERROR_BUILDING_MESSAGE_FAILED

    #define LASSO_PROFILE_ERROR_BUILDING_MESSAGE_FAILED -416

Error building request message

### LASSO_PROFILE_ERROR_BUILDING_RESPONSE_FAILED

    #define LASSO_PROFILE_ERROR_BUILDING_RESPONSE_FAILED -417

Error building response object

### LASSO_PROFILE_ERROR_SESSION_NOT_FOUND

    #define LASSO_PROFILE_ERROR_SESSION_NOT_FOUND -418

Session not found

### LASSO_PROFILE_ERROR_BAD_IDENTITY_DUMP

    #define LASSO_PROFILE_ERROR_BAD_IDENTITY_DUMP -419

Failed to create identity from dump

### LASSO_PROFILE_ERROR_BAD_SESSION_DUMP

    #define LASSO_PROFILE_ERROR_BAD_SESSION_DUMP -420

Failed to create session from dump

### LASSO_PROFILE_ERROR_MISSING_RESPONSE

    #define LASSO_PROFILE_ERROR_MISSING_RESPONSE -421

Missing response

### LASSO_PROFILE_ERROR_MISSING_STATUS_CODE

    #define LASSO_PROFILE_ERROR_MISSING_STATUS_CODE -422

Missing status code

### LASSO_PROFILE_ERROR_MISSING_ARTIFACT

    #define LASSO_PROFILE_ERROR_MISSING_ARTIFACT -423

Missing SAML artifact

### LASSO_PROFILE_ERROR_MISSING_RESOURCE_OFFERING

    #define LASSO_PROFILE_ERROR_MISSING_RESOURCE_OFFERING 424

Missing ressource offering

### LASSO_PROFILE_ERROR_MISSING_SERVICE_DESCRIPTION

    #define LASSO_PROFILE_ERROR_MISSING_SERVICE_DESCRIPTION 425

Missing service description

### LASSO_PROFILE_ERROR_MISSING_SERVICE_TYPE

    #define LASSO_PROFILE_ERROR_MISSING_SERVICE_TYPE 426

Missing service type

### LASSO_PROFILE_ERROR_MISSING_ASSERTION

    #define LASSO_PROFILE_ERROR_MISSING_ASSERTION -427

When looking for an assertion we did not found it.

### LASSO_PROFILE_ERROR_MISSING_SUBJECT

    #define LASSO_PROFILE_ERROR_MISSING_SUBJECT -428

Missing subject

### LASSO_PROFILE_ERROR_MISSING_NAME_IDENTIFIER

    #define LASSO_PROFILE_ERROR_MISSING_NAME_IDENTIFIER -429

Missing name identifier

### LASSO_PROFILE_ERROR_INVALID_ARTIFACT

    #define LASSO_PROFILE_ERROR_INVALID_ARTIFACT -430

Invalid artifact

### LASSO_PROFILE_ERROR_MISSING_ENCRYPTION_PRIVATE_KEY

    #define LASSO_PROFILE_ERROR_MISSING_ENCRYPTION_PRIVATE_KEY -431

Found an encrypted element but encryption private key is not set

### LASSO_PROFILE_ERROR_STATUS_NOT_SUCCESS

    #define LASSO_PROFILE_ERROR_STATUS_NOT_SUCCESS -432

Status code is not success

### LASSO_PROFILE_ERROR_MISSING_ISSUER

    #define LASSO_PROFILE_ERROR_MISSING_ISSUER -433

Missing issuer

### LASSO_PROFILE_ERROR_MISSING_SERVICE_INSTANCE

    #define LASSO_PROFILE_ERROR_MISSING_SERVICE_INSTANCE -434

Missing service instance

### LASSO_PROFILE_ERROR_MISSING_ENDPOINT_REFERENCE

    #define LASSO_PROFILE_ERROR_MISSING_ENDPOINT_REFERENCE -435

Missing endpoint reference

### LASSO_PROFILE_ERROR_MISSING_ENDPOINT_REFERENCE_ADDRESS

    #define LASSO_PROFILE_ERROR_MISSING_ENDPOINT_REFERENCE_ADDRESS -436

Missing endpoint reference address

### LASSO_PROFILE_ERROR_INVALID_ISSUER

    #define LASSO_PROFILE_ERROR_INVALID_ISSUER -437

Assertion issuer is not the same as the requested issuer

### LASSO_PROFILE_ERROR_MISSING_SERVER

    #define LASSO_PROFILE_ERROR_MISSING_SERVER -438

No server object set in the profile

### LASSO_PROFILE_ERROR_UNKNOWN_PROVIDER

    #define LASSO_PROFILE_ERROR_UNKNOWN_PROVIDER 439

The issuer of the message is unknown to us

#### Parameters

Deprecated | Since 2.2.3 |

### LASSO_PROFILE_ERROR_CANNOT_VERIFY_SIGNATURE

    #define LASSO_PROFILE_ERROR_CANNOT_VERIFY_SIGNATURE 440

The profile cannot verify a signature on the message

### LASSO_PROFILE_ERROR_CANNOT_FIND_A_PROVIDER

    #define LASSO_PROFILE_ERROR_CANNOT_FIND_A_PROVIDER -441

Profile was called without a specific provider and we cannot find one.

### LASSO_PROFILE_ERROR_RESPONSE_DOES_NOT_MATCH_REQUEST

    #define LASSO_PROFILE_ERROR_RESPONSE_DOES_NOT_MATCH_REQUEST -442

Received response does not refer to the request sent

### LASSO_PROFILE_ERROR_INVALID_REQUEST

    #define LASSO_PROFILE_ERROR_INVALID_REQUEST 443

Received request is not of the expected type.

### LASSO_PROFILE_ERROR_INVALID_RESPONSE

    #define LASSO_PROFILE_ERROR_INVALID_RESPONSE 444

### LASSO_PROFILE_ERROR_UNSUPPORTED_BINDING

    #define LASSO_PROFILE_ERROR_UNSUPPORTED_BINDING 445

### LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ

    #define LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ -501

An object type provided as parameter is invalid or object is NULL.

### LASSO_PARAM_ERROR_INVALID_VALUE

    #define LASSO_PARAM_ERROR_INVALID_VALUE -502

A parameter value is invalid.

### LASSO_PARAM_ERROR_CHECK_FAILED

    #define LASSO_PARAM_ERROR_CHECK_FAILED -503

The error return location should be either NULL or contains a NULL error.

### LASSO_PARAM_ERROR_NON_INITIALIZED_OBJECT

    #define LASSO_PARAM_ERROR_NON_INITIALIZED_OBJECT      -504

The call failed because an argument is a partially-initialized object.

### LASSO_LOGIN_ERROR_FEDERATION_NOT_FOUND

    #define LASSO_LOGIN_ERROR_FEDERATION_NOT_FOUND 601

Federation not found on login

### LASSO_LOGIN_ERROR_CONSENT_NOT_OBTAINED

    #define LASSO_LOGIN_ERROR_CONSENT_NOT_OBTAINED         602

Consent of the principal was not obtained.

### LASSO_LOGIN_ERROR_INVALID_NAMEIDPOLICY

    #define LASSO_LOGIN_ERROR_INVALID_NAMEIDPOLICY -603

Invalid NameIDPolicy in lib:AuthnRequest

### LASSO_LOGIN_ERROR_REQUEST_DENIED

    #define LASSO_LOGIN_ERROR_REQUEST_DENIED 604

Request denied.

### LASSO_LOGIN_ERROR_INVALID_SIGNATURE

    #define LASSO_LOGIN_ERROR_INVALID_SIGNATURE            605

The signature of a message or of an assertion is invalid. That is badly computed or with an unknown key.

### LASSO_LOGIN_ERROR_UNSIGNED_AUTHN_REQUEST

    #define LASSO_LOGIN_ERROR_UNSIGNED_AUTHN_REQUEST       606

An unsigned authn request was received but the metadata specify that they must be signed.

### LASSO_LOGIN_ERROR_STATUS_NOT_SUCCESS

    #define LASSO_LOGIN_ERROR_STATUS_NOT_SUCCESS 607

Status code is not success

### LASSO_LOGIN_ERROR_UNKNOWN_PRINCIPAL

    #define LASSO_LOGIN_ERROR_UNKNOWN_PRINCIPAL 608

Unknown principal

### LASSO_LOGIN_ERROR_NO_DEFAULT_ENDPOINT

    #define LASSO_LOGIN_ERROR_NO_DEFAULT_ENDPOINT 609

No default endpoint

### LASSO_LOGIN_ERROR_ASSERTION_REPLAY

    #define LASSO_LOGIN_ERROR_ASSERTION_REPLAY 610

Assertion replay

### LASSO_LOGIN_ERROR_ASSERTION_DOES_NOT_MATCH_REQUEST_ID

    #define LASSO_LOGIN_ERROR_ASSERTION_DOES_NOT_MATCH_REQUEST_ID 611

If inResponseTo attribute is present, a matching request must be present too in the LassoLogin object

### LASSO_DEFEDERATION_ERROR_MISSING_NAME_IDENTIFIER

    #define LASSO_DEFEDERATION_ERROR_MISSING_NAME_IDENTIFIER -700

Name identifier not found in request

### LASSO_SOAP_ERROR_REDIRECT_REQUEST_FAULT

    #define LASSO_SOAP_ERROR_REDIRECT_REQUEST_FAULT 800

A SOAP Fault containing a Redirect Request was received

### LASSO_SOAP_ERROR_MISSING_ENVELOPE

    #define LASSO_SOAP_ERROR_MISSING_ENVELOPE -801

Missing SOAP envelope

### LASSO_SOAP_ERROR_MISSING_HEADER

    #define LASSO_SOAP_ERROR_MISSING_HEADER -802

Missing SOAP header

### LASSO_SOAP_ERROR_MISSING_BODY

    #define LASSO_SOAP_ERROR_MISSING_BODY -803

Missing SOAP body

### LASSO_SOAP_ERROR_MISSING_SOAP_FAULT_DETAIL

    #define LASSO_SOAP_ERROR_MISSING_SOAP_FAULT_DETAIL -804

Missing SOAP fault detail

### LASSO_REGISTRY_ERROR_KEY_EXISTS

    #define LASSO_REGISTRY_ERROR_KEY_EXISTS -1400

Key alreadys exists in the registry

### LASSO_PROVIDER_ERROR_MISSING_PUBLIC_KEY

    #define LASSO_PROVIDER_ERROR_MISSING_PUBLIC_KEY -1500

The provider has no known public key