Class SignatureConformityException
java.lang.Object
java.lang.Throwable
java.lang.Exception
br.ufsc.labsec.signature.exceptions.PbadException
br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.exceptions.ValidationException
br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.exceptions.SignatureConformityException
- All Implemented Interfaces:
Serializable
public class SignatureConformityException extends ValidationException
Essa exceção indica que a assinatura não foi feita seguindo a totalidade de
regras impostas pela política de assinatura.
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static String
INVALID_ALGORITHM
static String
INVALID_SIZE_KEY
Fields inherited from class br.ufsc.labsec.signature.conformanceVerifier.signaturePolicy.exceptions.ValidationException
OCSP_ERROR, OID_ERROR, STANDART_ERROR
Fields inherited from class br.ufsc.labsec.signature.exceptions.PbadException
INVALID_DIGEST_ALGORITHM, INVALID_SIGNATURE, NO_SUCH_ALGORITHM
-
Constructor Summary
Constructors Constructor Description SignatureConformityException()
Construtor.SignatureConformityException(String message)
ConstrutorSignatureConformityException(String[] invalidAttributes)
Construtor -
Method Summary
Methods inherited from class br.ufsc.labsec.signature.exceptions.PbadException
isCritical, setCritical
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
INVALID_SIZE_KEY
- See Also:
- Constant Field Values
-
INVALID_ALGORITHM
- See Also:
- Constant Field Values
-
-
Constructor Details
-
SignatureConformityException
Construtor- Parameters:
message
- A mensagem de erro
-
SignatureConformityException
public SignatureConformityException()Construtor. Utiliza a mensagem padrão de erro -
SignatureConformityException
public SignatureConformityException(String[] invalidAttributes) throws SignatureConformityExceptionConstrutor- Parameters:
invalidAttributes
- Array de atributos inválidos- Throws:
SignatureConformityException
SignatureConformityException
-