Class AbstractCadesSigner
java.lang.Object
br.ufsc.labsec.signature.CompleteSigner<CadesInformation, org.bouncycastle.asn1.cms.Attribute, CadesSignature>
br.ufsc.labsec.signature.conformanceVerifier.cades.AbstractCadesSigner
- All Implemented Interfaces:
CoSigner<CadesInformation>, CounterSigner<CadesInformation>, Signer<CadesInformation>, ContainerBuilder<CadesInformation, org.bouncycastle.asn1.cms.Attribute, CadesSignature>
- Direct Known Subclasses:
CadesSigner
public abstract class AbstractCadesSigner
extends CompleteSigner<CadesInformation, org.bouncycastle.asn1.cms.Attribute, CadesSignature>
Esta classe trata as partes em comum entre assinaturas CAdES e
carimbos do tempo.
-
Nested Class Summary
Nested classes/interfaces inherited from class CompleteSigner
CompleteSigner.Mode -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected FileToBeSigned<? extends ExtraInformation> protected GenericCadesSignatureAssinatura CAdESFields inherited from class CompleteSigner
attributeFactory, signatureContainer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetora o componente de assinatura CAdESRetorna a lista de políticas de assinatura disponiveisgetSignedAttributesAvailable(boolean advanced) Retorna a lista de atributos assinados disponíveis para a assinaturagetUnsignedAttributesAvailable(boolean advanced) Retorna a lista de atributos não-assinados disponíveis para a assinaturaMethods inherited from class CompleteSigner
counterSign, getSignature, getSignature, getSignatureStream, save, sign, supportsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContainerBuilder
buildContainer, buildContainer, getCounterSignatureIdentifier, getLastSignatureMethods inherited from interface CounterSigner
canCounterSignMethods inherited from interface Signer
simpleSign, supportsCertPath
-
Field Details
-
signature
Assinatura CAdES -
fileToBeSigned
-
-
Constructor Details
-
AbstractCadesSigner
-
-
Method Details
-
getComponent
Retora o componente de assinatura CAdES- Returns:
- O componente de assinatura CAdES
-
getPoliciesAvailable
-
getSignedAttributesAvailable
-
getUnsignedAttributesAvailable
-