Class CertificateRefsCreator<Info extends ExtraInformation,Encod,Sig>
java.lang.Object
br.ufsc.labsec.signature.signer.UnsignedAttributeCreator<Info,Encod,Sig>
br.ufsc.labsec.signature.signer.creator.CertificateCreator<Info,Encod,Sig>
br.ufsc.labsec.signature.signer.creator.CertificateRefsCreator<Info,Encod,Sig>
- Direct Known Subclasses:
CompleteCertificateRefsCreator
,CompleteCertificateRefsCreator
,CompleteCertificateRefsV2Creator
,IdAaEtsCertificateRefsCreator
public abstract class CertificateRefsCreator<Info extends ExtraInformation,Encod,Sig> extends CertificateCreator<Info,Encod,Sig>
-
Nested Class Summary
Nested classes/interfaces inherited from class br.ufsc.labsec.signature.signer.creator.CertificateCreator
CertificateCreator.CertificateRule, CertificateCreator.ExclusionRule, CertificateCreator.IntermediateCertificateRule, CertificateCreator.SigningCertificateRule, CertificateCreator.TrustAnchorRule
-
Field Summary
Fields inherited from class br.ufsc.labsec.signature.signer.creator.CertificateCreator
WRONG_ATTRIBUTE_ORDER
-
Constructor Summary
Constructors Constructor Description CertificateRefsCreator(CertificateCreator.CertificateRule rule, Component component, CertificateValidation certificateValidation, SignaturePolicyInterface signaturePolicyInterface, CertificateCollection certificateCollection)
-
Method Summary
Modifier and Type Method Description List<Certificate>
otherCertificatesToExclude(CertificateCollection certificateCollection, FileToBeSigned<? extends Info> fileToBeSigned, Sig signature)
Set<Certificate>
otherCertificatesToInclude(CertificateCollection certificateCollection, List<? extends Certificate> pathWithAnchor, FileToBeSigned<? extends Info> fileToBeSigned, Sig signature)
Methods inherited from class br.ufsc.labsec.signature.signer.creator.CertificateCreator
constructAttribute, getAttribute
Methods inherited from class br.ufsc.labsec.signature.signer.UnsignedAttributeCreator
createRevocationData, isSigned
-
Constructor Details
-
CertificateRefsCreator
public CertificateRefsCreator(CertificateCreator.CertificateRule rule, Component component, CertificateValidation certificateValidation, SignaturePolicyInterface signaturePolicyInterface, CertificateCollection certificateCollection)
-
-
Method Details
-
otherCertificatesToExclude
public List<Certificate> otherCertificatesToExclude(CertificateCollection certificateCollection, FileToBeSigned<? extends Info> fileToBeSigned, Sig signature)- Specified by:
otherCertificatesToExclude
in classCertificateCreator<Info extends ExtraInformation,Encod,Sig>
-
otherCertificatesToInclude
public Set<Certificate> otherCertificatesToInclude(CertificateCollection certificateCollection, List<? extends Certificate> pathWithAnchor, FileToBeSigned<? extends Info> fileToBeSigned, Sig signature)- Specified by:
otherCertificatesToInclude
in classCertificateCreator<Info extends ExtraInformation,Encod,Sig>
-