Class IdAaReceiptRequestCreator
java.lang.Object
br.ufsc.labsec.signature.signer.SignedAttributeCreator<CadesInformation, org.bouncycastle.asn1.cms.Attribute>
br.ufsc.labsec.signature.conformanceVerifier.cades.creator.signed.IdAaReceiptRequestCreator
public class IdAaReceiptRequestCreator
extends SignedAttributeCreator<CadesInformation, org.bouncycastle.asn1.cms.Attribute>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<Information extends CadesInformation>
SignatureAttribute<org.bouncycastle.asn1.cms.Attribute> getAttribute(FileToBeSigned<Information> fileToBeSigned) Retorna o atributostatic SignatureAttribute<org.bouncycastle.asn1.cms.Attribute> getAttribute(X509Certificate signerCert) Methods inherited from class SignedAttributeCreator
isSigned
-
Field Details
-
DEFAULT_RECEIPTS_FROM
-
DEFAULT_RECEIPTS_TO
Nome padrão do destinatário do recibo, neste caso, pela convenção estabelecida, a qualquer um, a quem possa interessar- See Also:
-
-
Constructor Details
-
IdAaReceiptRequestCreator
Construtor- Parameters:
component- Componente de assinatura CAdES
-
-
Method Details
-
getAttribute
public static SignatureAttribute<org.bouncycastle.asn1.cms.Attribute> getAttribute(X509Certificate signerCert) throws SignatureAttributeException - Throws:
SignatureAttributeException
-
getAttribute
public <Information extends CadesInformation> SignatureAttribute<org.bouncycastle.asn1.cms.Attribute> getAttribute(FileToBeSigned<Information> fileToBeSigned) throws SignatureAttributeException Retorna o atributo- Specified by:
getAttributein classSignedAttributeCreator<CadesInformation, org.bouncycastle.asn1.cms.Attribute>- Returns:
- Um objeto do atributo
- Throws:
SignatureAttributeException- Exceção caso ocorra algum erro durante a construção do objeto
-