Class AttributeCertificateRefsCreator<Info extends ExtraInformation,Encod,Sig>
java.lang.Object
br.ufsc.labsec.signature.signer.UnsignedAttributeCreator<Info,Encod,Sig>
br.ufsc.labsec.signature.signer.creator.AttributeCertificateRefsCreator<Info,Encod,Sig>
- Direct Known Subclasses:
 AttributeCertificateRefsCreator,AttributeCertificateRefsCreator,AttributeCertificateRefsV2Creator,IdAaEtsAttrCertificateRefsCreator
public abstract class AttributeCertificateRefsCreator<Info extends ExtraInformation,Encod,Sig> extends UnsignedAttributeCreator<Info,Encod,Sig>
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttributeCertificateRefsCreator.CERTIFICATES_TO_INCLUDE - 
Constructor Summary
Constructors Constructor Description AttributeCertificateRefsCreator(Component component, CertificateValidation certificateValidation, SignaturePolicyInterface signaturePolicyInterface, AttributeCertificateCollection collection) - 
Method Summary
Modifier and Type Method Description protected abstract SignatureAttribute<Encod>constructAttribute(List<Certificate> certificates, String hashAlgorithmOID)<Information extends Info>
SignatureAttribute<Encod>getAttribute(FileToBeSigned<Information> fileToBeSigned, Sig signature)Retorna o atributoprotected abstract List<Certificate>otherCertificatesToExclude(AttributeCertificateCollection certificateCollection, List<? extends Certificate> certificatesInPath, FileToBeSigned<? extends Info> fileToBeSigned, Sig signature, List<Certificate> certificates)protected abstract List<Certificate>otherCertificatesToInclude(AttributeCertificateCollection certificateCollection, List<? extends Certificate> pathWithAnchor, FileToBeSigned<? extends Info> fileToBeSigned, Sig signature, List<Certificate> certificates)Methods inherited from class br.ufsc.labsec.signature.signer.UnsignedAttributeCreator
createRevocationData, isSigned 
- 
Constructor Details
- 
AttributeCertificateRefsCreator
public AttributeCertificateRefsCreator(Component component, CertificateValidation certificateValidation, SignaturePolicyInterface signaturePolicyInterface, AttributeCertificateCollection collection) 
 - 
 - 
Method Details
- 
getAttribute
public <Information extends Info> SignatureAttribute<Encod> getAttribute(FileToBeSigned<Information> fileToBeSigned, Sig signature) throws SignatureAttributeExceptionDescription copied from class:UnsignedAttributeCreatorRetorna o atributo- Specified by:
 getAttributein classUnsignedAttributeCreator<Info extends ExtraInformation,Encod,Sig>- Returns:
 - Um objeto do atributo
 - Throws:
 SignatureAttributeException- Exceção caso ocorra algum erro durante a construção do objeto
 - 
constructAttribute
protected abstract SignatureAttribute<Encod> constructAttribute(List<Certificate> certificates, String hashAlgorithmOID) throws SignatureAttributeException- Throws:
 SignatureAttributeException
 - 
otherCertificatesToExclude
protected abstract List<Certificate> otherCertificatesToExclude(AttributeCertificateCollection certificateCollection, List<? extends Certificate> certificatesInPath, FileToBeSigned<? extends Info> fileToBeSigned, Sig signature, List<Certificate> certificates) throws SignatureAttributeException- Throws:
 SignatureAttributeException
 - 
otherCertificatesToInclude
protected abstract List<Certificate> otherCertificatesToInclude(AttributeCertificateCollection certificateCollection, List<? extends Certificate> pathWithAnchor, FileToBeSigned<? extends Info> fileToBeSigned, Sig signature, List<Certificate> certificates) throws SignatureAttributeException- Throws:
 SignatureAttributeException
 
 -