Class RenewedDigestsV2
java.lang.Object
br.ufsc.labsec.signature.conformanceVerifier.xades.attributes.unsigned.RenewedDigestsV2
- All Implemented Interfaces:
SignatureAttribute<Element>
public class RenewedDigestsV2 extends Object implements SignatureAttribute<Element>
The RenewedDigestsV2 qualifying property shall be defined as in XML Schema file "XAdES01903v141-
202107.xsd", whose location is detailed in clause C.2 and is copied below for information.
-
Field Summary
Fields Modifier and Type Field Description static StringIDENTIFIER -
Constructor Summary
Constructors Constructor Description RenewedDigestsV2(AbstractVerifier signatureVerifier, Integer index)Construtor utilizado para verificação.RenewedDigestsV2(Element genericEncoding)Constrói um objetoCompleteCertificateRefsV2 -
Method Summary
Modifier and Type Method Description ElementgetEncoded()Retorna o atributo codificadoStringgetIdentifier()Retorna o identificador do atributobooleanisSigned()Informa se o atributo é assinado.booleanisUnique()Verifica se o atributo deve ter apenas uma instância na assinaturavoidvalidate()Valida o atributo de acordo com suas regras específicas (ver normas da RFC e do ETSI do respectivo tipo de assinatura para cada atributo).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface br.ufsc.labsec.signature.conformanceVerifier.common.SignatureAttribute
getValue
-
Field Details
-
IDENTIFIER
- See Also:
- Constant Field Values
-
-
Constructor Details
-
RenewedDigestsV2
public RenewedDigestsV2(AbstractVerifier signatureVerifier, Integer index) throws SignatureAttributeExceptionConstrutor utilizado para verificação. É passado o verificador donde pode-se obter a assinatura e o indice desse atributo para decodifica-lo- Parameters:
signatureVerifier- Usado para criar e verificar o atributoindex- Índice usado para selecionar o atributo- Throws:
SignatureAttributeException
-
RenewedDigestsV2
Constrói um objetoCompleteCertificateRefsV2- Parameters:
genericEncoding- O atributo codificado- Throws:
SignatureAttributeException
-
-
Method Details
-
getIdentifier
Description copied from interface:SignatureAttributeRetorna o identificador do atributo- Specified by:
getIdentifierin interfaceSignatureAttribute<Element>- Returns:
- O identificador do atributo
-
validate
Description copied from interface:SignatureAttributeValida o atributo de acordo com suas regras específicas (ver normas da RFC e do ETSI do respectivo tipo de assinatura para cada atributo).- Specified by:
validatein interfaceSignatureAttribute<Element>- Throws:
SignatureAttributeExceptionPbadExceptionIOException
-
getEncoded
Description copied from interface:SignatureAttributeRetorna o atributo codificado- Specified by:
getEncodedin interfaceSignatureAttribute<Element>- Returns:
- O atributo no formato em que foi parametrizado a classe
- Throws:
SignatureAttributeException
-
isSigned
public boolean isSigned()Description copied from interface:SignatureAttributeInforma se o atributo é assinado.- Specified by:
isSignedin interfaceSignatureAttribute<Element>- Returns:
- Indica se o atributo é assinado
-
isUnique
public boolean isUnique()Description copied from interface:SignatureAttributeVerifica se o atributo deve ter apenas uma instância na assinatura- Specified by:
isUniquein interfaceSignatureAttribute<Element>- Returns:
- Indica se o atributo deve ter apenas uma instância na assinatura
-