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 Classes Modifier and Type Class Description static class
AttributeRevocationRefsCreator.CERTIFICATES_TO_CONSIDER
-
Constructor Summary
Constructors Constructor Description 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 Summary
Modifier and Type Method Description protected 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 br.ufsc.labsec.signature.signer.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 SignatureAttributeExceptionDescription copied from class:UnsignedAttributeCreator
Retorna o atributo- Specified by:
getAttribute
in 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
-