Class AttributeRevocationRefsCreator<Info extends ExtraInformation, Encod, Sig>
java.lang.Object
br.ufsc.labsec.signature.signer.UnsignedAttributeCreator<Info,Encod,Sig>
br.ufsc.labsec.signature.signer.creator.AttributeRevocationRefsCreator<Info,Encod,Sig>
- Direct Known Subclasses:
AttributeRevocationRefsCreator, IdAaEtsAttrRevocationRefsCreator
public abstract class AttributeRevocationRefsCreator<Info extends ExtraInformation, Encod, Sig>
extends UnsignedAttributeCreator<Info,Encod,Sig>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum -
Constructor Summary
ConstructorsConstructorDescriptionAttributeRevocationRefsCreator(Component component, CertificateValidation certificateValidation, SignaturePolicyInterface signaturePolicyInterface, AttributeCertificateCollection collection, AttributeRevocationRefsCreator.CERTIFICATES_TO_CONSIDER toConsider, List<org.apache.commons.lang3.tuple.Pair<String, byte[]>> toExclude) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract SignatureAttribute<Encod> createAttribute(List<CRL> revocationValuesCRL, List<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> revocationValuesOCSP, String hashAlgorithmOID) <Information extends Info>
SignatureAttribute<Encod> getAttribute(FileToBeSigned<Information> fileToBeSigned, Sig signature) Retorna o atributoMethods inherited from class UnsignedAttributeCreator
createRevocationData, isSigned
-
Constructor Details
-
AttributeRevocationRefsCreator
public AttributeRevocationRefsCreator(Component component, CertificateValidation certificateValidation, SignaturePolicyInterface signaturePolicyInterface, AttributeCertificateCollection collection, AttributeRevocationRefsCreator.CERTIFICATES_TO_CONSIDER toConsider, List<org.apache.commons.lang3.tuple.Pair<String, byte[]>> toExclude)
-
-
Method Details
-
getAttribute
public <Information extends Info> SignatureAttribute<Encod> getAttribute(FileToBeSigned<Information> fileToBeSigned, Sig signature) throws SignatureAttributeException Description 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
-
createAttribute
protected abstract SignatureAttribute<Encod> createAttribute(List<CRL> revocationValuesCRL, List<org.bouncycastle.asn1.ocsp.BasicOCSPResponse> revocationValuesOCSP, String hashAlgorithmOID) throws SignatureAttributeException - Throws:
SignatureAttributeException
-