public final class CMSMessageSignatureServiceException
extends java.lang.Exception
CMSMessageSignatureService
and
UserCredentialManager
classes.Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
CMSMessageSignatureServiceException(byte code)
Construct an exception with specific reason code.
|
Modifier and Type | Method and Description |
---|---|
byte |
getReason()
Gets the reason code.
|
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
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.