Package br.ufsc.labsec.signature.signer
Class SignedAttributeCreator<Info extends ExtraInformation,Encod>
java.lang.Object
br.ufsc.labsec.signature.signer.SignedAttributeCreator<Info,Encod>
- Direct Known Subclasses:
AllDataObjectsTimeStampCreator
,DataObjectFormatCreator
,IdAaContentHintCreator
,IdAaEtsSignerAttrCreator
,IdAaEtsSignerLocationCreator
,IdAaEtsSigPolicyIdCreator
,IdAaMsgSigDigestCreator
,IdAaReceiptRequestCreator
,IdAaSigningCertificateCreator
,IdAaSigningCertificateV2Creator
,IdContentTypeCreator
,IdMessageDigestCreator
,IdSigningTimeCreator
,SignaturePolicyIdentifierCreator
,SignaturePolicyIdentifierCreator
,SignatureProductionPlaceCreator
,SignatureProductionPlaceCreator
,SignerRoleCreator
,SigningCertificateCreator
,SigningCertificateCreator
,SigningCertificateV2Creator
,SigningTimeCreator
,SigningTimeCreator
public abstract class SignedAttributeCreator<Info extends ExtraInformation,Encod> extends Object
Esta classe engloba métodos em comum entre Creators de atributos
-
Constructor Summary
Constructors Constructor Description SignedAttributeCreator()
-
Method Summary
Modifier and Type Method Description abstract <Information extends Info>
SignatureAttribute<Encod>getAttribute(FileToBeSigned<Information> fileToBeSigned)
Retorna o atributostatic boolean
isSigned()
-
Constructor Details
-
SignedAttributeCreator
public SignedAttributeCreator()
-
-
Method Details
-
getAttribute
public abstract <Information extends Info> SignatureAttribute<Encod> getAttribute(FileToBeSigned<Information> fileToBeSigned) throws SignatureAttributeExceptionRetorna 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()
-