|
BenQ Mobile |
||||||||||
| 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.securityservice.CMSMessageSignatureServiceException
This class is used to identify error conditions
detected while signing messages.
Thrown by the CMSMessageSignatureService and
UserCredentialManager
classes.
| Field Summary | |
static byte |
CRYPTO_FAILURE
Error code returned if a cyptographic error occured. |
static byte |
CRYPTO_FORMAT_ERROR
Error code returned if an error occurs when formatting a result. |
static byte |
CRYPTO_NO_CERTIFICATE
Error code returned if a certificate is not available on the device for the selected public key. |
static byte |
CRYPTO_NO_DETACHED_SIG
Error code returned if detached signatures are not supported. |
static byte |
CRYPTO_NO_OPAQUE_SIG
Error code returned if opaque signatures are not supported. |
static byte |
SE_BUSY
Error code returned if security element is busy. |
static byte |
SE_CRYPTO_FAILURE
Error code returned if a cryptographic operation failed in a security element. |
static byte |
SE_FAILURE
Error code returned if an operation involving the security element fails. |
| Constructor Summary | |
CMSMessageSignatureServiceException(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 CRYPTO_FAILURE
public static final byte CRYPTO_FORMAT_ERROR
public static final byte CRYPTO_NO_DETACHED_SIG
public static final byte CRYPTO_NO_OPAQUE_SIG
public static final byte SE_BUSY
public static final byte SE_FAILURE
public static final byte SE_CRYPTO_FAILURE
public static final byte CRYPTO_NO_CERTIFICATE
| Constructor Detail |
public CMSMessageSignatureServiceException(byte code)
code - the code for the error condition| Method Detail |
public byte getReason()
|
BenQ Mobile |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Copyright © 2006 BenQ Mobile GmbH & Co. OHG or respective copyright owner. All Rights Reserved. BenQ Corp. is a trademark licensee of Siemens AG. | For further information about Mobility Toolkit (MTK) visit our Developer Portal. |