Class UnsignedAttributeCreator<Info extends ExtraInformation, Encod, Sig>
java.lang.Object
br.ufsc.labsec.signature.signer.UnsignedAttributeCreator<Info,Encod,Sig>
- Direct Known Subclasses:
AbstractRevocationCreator, ATSHashIndexV3Creator, AttrAuthoritiesCertValsCreator, AttributeCertificateRefsCreator, AttributeRevocationRefsCreator, CertificateCreator, CounterSignatureCreator, DocTimeStampCreator, DSSCreator, IdCounterSignatureCreator, RevocationRefsCreator, SignaturePolicyStoreCreator, TimestampCreator, TimeStampValidationDataCreator, TimeStampValidationDataCreator
public abstract class UnsignedAttributeCreator<Info extends ExtraInformation, Encod, Sig>
extends Object
Esta classe engloba métodos em comum entre Creators de atributos
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.commons.lang3.tuple.Pair<List<CRL>, List<org.bouncycastle.asn1.ocsp.BasicOCSPResponse>> createRevocationData(List<Certificate> pathWithAnchor, CertificateValidation cv, FileToBeSigned<? extends JadesInformation> fileToBeSigned, Set<TrustAnchor> trustAnchors) abstract <Information extends Info>
SignatureAttribute<Encod> getAttribute(FileToBeSigned<Information> fileToBeSigned, Sig signature) Retorna o atributostatic booleanisSigned()
-
Constructor Details
-
UnsignedAttributeCreator
public UnsignedAttributeCreator()
-
-
Method Details
-
getAttribute
public abstract <Information extends Info> SignatureAttribute<Encod> getAttribute(FileToBeSigned<Information> fileToBeSigned, Sig signature) throws SignatureAttributeException Retorna o atributo- Returns:
- Um objeto do atributo
- Throws:
SignatureAttributeException- Exceção caso ocorra algum erro durante a construção do objeto
-
isSigned
public static boolean isSigned() -
createRevocationData
protected org.apache.commons.lang3.tuple.Pair<List<CRL>, List<org.bouncycastle.asn1.ocsp.BasicOCSPResponse>> createRevocationData(List<Certificate> pathWithAnchor, CertificateValidation cv, FileToBeSigned<? extends JadesInformation> fileToBeSigned, Set<TrustAnchor> trustAnchors)
-