|
SATSA - JSR177 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--javax.microedition.pki.UserCredentialManagerException
This class is used to identify error conditions in
the management of the user certificate store.
Thrown by the CMSMessageSignatureService
and
UserCredentialManager
classes.
Field Summary | |
static byte |
CREDENTIAL_NOT_FOUND
Code returned if an appropriate certificate can not be found. |
static byte |
CREDENTIAL_NOT_SAVED
Code returned if a credential can not be added. |
static byte |
SE_NO_KEYGEN
Code returned if a security element does not support key generation. |
static byte |
SE_NO_KEYS
Code returned if a security element does not have keys available for certificate requests. |
static byte |
SE_NO_UNASSOCIATED_KEYS
Code returned if a security element does not have any keys available that are not already associated with a certificate, and if the platform does not allow reuse of keys that are associated with an existing certificate. |
static byte |
SE_NOT_FOUND
Code returned if an appropriate security element can not be found. |
Constructor Summary | |
UserCredentialManagerException(byte code)
Construct an exception with specific reason code. |
Method Summary | |
byte |
getReason()
Gets the reason code. |
Methods inherited from class java.lang.Throwable |
getMessage, printStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final byte CREDENTIAL_NOT_SAVED
public static final byte SE_NO_KEYGEN
public static final byte SE_NO_KEYS
public static final byte SE_NO_UNASSOCIATED_KEYS
public static final byte SE_NOT_FOUND
public static final byte CREDENTIAL_NOT_FOUND
Constructor Detail |
public UserCredentialManagerException(byte code)
code
- the code for the error conditionMethod Detail |
public byte getReason()
|
SATSA - JSR177 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |