Class SigningCertificateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
br.ufsc.labsec.signature.exceptions.PbadException
br.ufsc.labsec.signature.exceptions.SignatureAttributeException
br.ufsc.labsec.signature.conformanceVerifier.cades.exceptions.SigningCertificateException
- All Implemented Interfaces:
Serializable
public class SigningCertificateException extends SignatureAttributeException
Esta classe representa uma exceção que ocorre por
má formação do atributo SigningCertificate
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static String
CERTIFICATE_ENCODING_EXCEPTION
static String
DEFAULT_HASH_ALGORITHM_EXPLICITLY_SPECIFIED
static String
INVALID_CERTIFICATE_HASH
static String
NO_SUCH_ALGORITHM_EXCEPTION
static String
SIGNING_CERTIFICATE_NEEDED
static String
WEAK_ALGORITHM
static String
WRONG_DISTINGUISHED_NAME_ORDER
Fields inherited from class br.ufsc.labsec.signature.exceptions.SignatureAttributeException
ATTRIBUTE_BUILDING_FAILURE, ATTRIBUTE_IS_NOT_IMPLEMENTED_YET, ATTRIBUTE_NOT_FOUND, CERT_PATH_NULL, COULD_NOT_OBTAIN_HASH, DUPLICATED_ATTRIBUTE, HASH_FAILURE, INDEX_OUT_OF_BOUNDS, INVALID_ISSUER_SERIAL, INVALID_PA_DIGEST, INVALID_PA_OID, INVALID_PA_URI, MISSING_ATTR_AUTHORITIES_CERT_VALUES, MISSING_ATTRIBUTE_REVOCATION_VALUES, MISSING_CERTIFICATE, MISSING_CERTIFICATE_VALUES, MISSING_REVOCATION_VALUES, MISSING_SIGNATURE_VALUE, MISSING_SIGNED_INFO, PROBLEMS_TO_DECODE, STRUCTURE_VIOLATION, UNKNOWN_ALGORITHM, UNRECOMENDED_ATTRIBUTE, UNSIGNED_PROPERTIES_NOT_FOUND, WRONG_ALGORITHM
Fields inherited from class br.ufsc.labsec.signature.exceptions.PbadException
INVALID_ALGORITHM, INVALID_DIGEST_ALGORITHM, INVALID_SIGNATURE, NO_SUCH_ALGORITHM
-
Constructor Summary
Constructors Constructor Description SigningCertificateException(String message)
ConstrutorSigningCertificateException(String message, int index)
ConstrutorSigningCertificateException(String message, StackTraceElement[] stackTrace)
Construtor -
Method Summary
Methods inherited from class br.ufsc.labsec.signature.exceptions.SignatureAttributeException
setCritical
Methods inherited from class br.ufsc.labsec.signature.exceptions.PbadException
isCritical
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
INVALID_CERTIFICATE_HASH
- See Also:
- Constant Field Values
-
NO_SUCH_ALGORITHM_EXCEPTION
- See Also:
- Constant Field Values
-
CERTIFICATE_ENCODING_EXCEPTION
- See Also:
- Constant Field Values
-
WRONG_DISTINGUISHED_NAME_ORDER
- See Also:
- Constant Field Values
-
DEFAULT_HASH_ALGORITHM_EXPLICITLY_SPECIFIED
- See Also:
- Constant Field Values
-
WEAK_ALGORITHM
- See Also:
- Constant Field Values
-
SIGNING_CERTIFICATE_NEEDED
- See Also:
- Constant Field Values
-
-
Constructor Details
-
SigningCertificateException
Construtor- Parameters:
message
- A mensagem de erro
-
SigningCertificateException
Construtor- Parameters:
message
- A mensagem de errostackTrace
- O stack trace da exceção que ocorreu
-
SigningCertificateException
Construtor- Parameters:
message
- A mensagem de erroindex
- Índice do atributo
-