public interface PIVReturnCodes
| Modifier and Type | Field and Description |
|---|---|
static int |
PIV_AUTHENTICATION_FAILURE
Authentication failed.
|
static int |
PIV_AUTHENTICATOR_MALFORMED
The authenticator's data objects to be used by the
pivLogIntoCardApplication() function do not conform to the expected data format (Table 10 of [SP 800-73]). |
static int |
PIV_CARD_APPLICATION_NOT_FOUND
Application AID does not refer to an AID that the card supports.
|
static int |
PIV_CARD_READER_ERROR
An unexpected APDU response or an unexpected response from the PC/SC layer was received.
|
static int |
PIV_CONNECTION_DESCRIPTION_MALFORMED
The ConnectionDescription parameter in the function call does not conform to the required data format or the PC/SC returned one of the following error codes:
SCARD_E_UNKNOWN_READER
SCARD_E_DUPLICATE_READER
|
static int |
PIV_CONNECTION_FAILURE
There is no smart card in the reader or the smart card returned an unexpected answer or no answer at all or the PC/SC service is not started.
|
static int |
PIV_CONNECTION_LOCKED
A SCARD_E_SHARING_VIOLATION error was returned by PC/SC.
|
static int |
PIV_DATA_OBJECT_NOT_FOUND
Object requested does not exist on the card.
|
static int |
PIV_INPUT_BYTES_MALFORMED
Incorrect input data format (Table 17 of [SP 800-73]).
|
static int |
PIV_INSUFFICIENT_BUFFER
Specified output buffer too small.
|
static int |
PIV_INSUFFICIENT_CARD_RESOURCE
The card does not have enough resources to perform this operation with the given parameter values.
|
static int |
PIV_INVALID_CARD_HANDLE
The communication handle is invalid.
|
static int |
PIV_INVALID_KEY_OR_KEYALG_COMBINATION
Inconsistency in
pivGenerateKeyPair() input parameters. |
static int |
PIV_INVALID_KEYREF_OR_ALGORITHM
Unsupported key reference value or unsupported cryptographic mechanism for a general authenticate operation,
according to the standard (Table 12 of [SP 800-73] (http://piv.nist.gov/pivqa/faq.php?qid=122) or the card.
|
static int |
PIV_INVALID_OID
Object identifier is not one defined in ASN.1 OID (Table 6 of [SP 800-73]).
|
static int |
PIV_OK
Operation was successful.
|
static int |
PIV_SECURITY_CONDITIONS_NOT_SATISFIED
A call to the
pivLogIntoCardApplication() application (typically present the PIN to the card) must be made before accessing the card operation and was not. |
static int |
PIV_UNABLE_TO_LOAD_WRAPPER |
static int |
PIV_UNSUPPORTED_CRYPTOGRAPHIC_MECHANISM
The cryptographic mechanism value is not one of the algorithm identifiers found in Table 7 of [SP 800-73] or supported by the card.
|
static final int PIV_OK
static final int PIV_CONNECTION_DESCRIPTION_MALFORMED
static final int PIV_CONNECTION_FAILURE
static final int PIV_CONNECTION_LOCKED
static final int PIV_INVALID_CARD_HANDLE
static final int PIV_CARD_APPLICATION_NOT_FOUND
static final int PIV_AUTHENTICATOR_MALFORMED
pivLogIntoCardApplication() function do not conform to the expected data format (Table 10 of [SP 800-73]).static final int PIV_AUTHENTICATION_FAILURE
static final int PIV_INVALID_OID
static final int PIV_DATA_OBJECT_NOT_FOUND
static final int PIV_SECURITY_CONDITIONS_NOT_SATISFIED
pivLogIntoCardApplication() application (typically present the PIN to the card) must be made before accessing the card operation and was not.static final int PIV_INVALID_KEYREF_OR_ALGORITHM
static final int PIV_INVALID_KEY_OR_KEYALG_COMBINATION
pivGenerateKeyPair() input parameters.static final int PIV_INPUT_BYTES_MALFORMED
static final int PIV_INSUFFICIENT_CARD_RESOURCE
static final int PIV_UNSUPPORTED_CRYPTOGRAPHIC_MECHANISM
static final int PIV_CARD_READER_ERROR
static final int PIV_INSUFFICIENT_BUFFER
static final int PIV_UNABLE_TO_LOAD_WRAPPER
Copyright © 1998-2010 ActivIdentity (All rights reserved)