blob: ca929b8c90ce4367c1c0ea486c689aa26ce5b671 [file] [log] [blame]
/*
* This file is auto-generated. DO NOT MODIFY.
*/
package android.security.authorization;
/**
* Used as exception codes by IKeystoreAuthorization.
* @hide
*/
public @interface ResponseCode {
/** A matching auth token is not found. */
public static final int NO_AUTH_TOKEN_FOUND = 1;
/** The matching auth token is expired. */
public static final int AUTH_TOKEN_EXPIRED = 2;
/**
* Same as in keystore2/ResponseCode.aidl.
* Any unexpected Error such as IO or communication errors.
*/
public static final int SYSTEM_ERROR = 4;
/**
* Same as in keystore2/ResponseCode.aidl.
* Indicates that the caller does not have the permissions for the attempted request.
*/
public static final int PERMISSION_DENIED = 6;
/**
* Same as in keystore2/ResponseCode.aidl.
* Indicates that the requested key does not exist.
*/
public static final int KEY_NOT_FOUND = 7;
/**
* Same as in keystore2/ResponseCode.aidl.
* Indicates that a value being processed is corrupted.
*/
public static final int VALUE_CORRUPTED = 8;
/**
* Same as in keystore2/ResponseCode.aidl.
* Indicates that an invalid argument was passed to an API call.
*/
public static final int INVALID_ARGUMENT = 20;
}