Class XadesCoSigner
java.lang.Object
br.ufsc.labsec.signature.conformanceVerifier.xades.AbstractXadesSigner
br.ufsc.labsec.signature.conformanceVerifier.xades.XadesSigner
br.ufsc.labsec.signature.conformanceVerifier.xades.XadesCoSigner
- All Implemented Interfaces:
CoSigner
,Signer<XadesInformation>
public class XadesCoSigner extends XadesSigner implements CoSigner
Esta classe adiciona uma co-assinatura XAdES a um documento.
Estende
XadesSigner
e implementa CoSigner
.-
Field Summary
Fields inherited from class br.ufsc.labsec.signature.conformanceVerifier.xades.AbstractXadesSigner
signature, signatureContainer, xadesSignatureComponent
-
Constructor Summary
Constructors Constructor Description XadesCoSigner(XadesSignatureComponent xadesSignatureComponent)
Construtor -
Method Summary
Modifier and Type Method Description boolean
coSign()
Realiza a co-assinaturaMethods inherited from class br.ufsc.labsec.signature.conformanceVerifier.xades.XadesSigner
getSignature, getSignatureStream, sign, supports
Methods inherited from class br.ufsc.labsec.signature.conformanceVerifier.xades.AbstractXadesSigner
getCertPath, getComponent, getMandatedSignedAttributeList, getMandatedUnsignedAttributeList, getPoliciesAvailable, getSignature, getSignedAttributesAvailable, getUnsignedAttributes, getUnsignedAttributesAvailable, selectAttribute, unselectAttribute
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface br.ufsc.labsec.signature.CoSigner
getMandatedSignedAttributeList, getMandatedUnsignedAttributeList, getPoliciesAvailable, getSignedAttributesAvailable, getUnsignedAttributesAvailable, selectAttribute, unselectAttribute
Methods inherited from interface br.ufsc.labsec.signature.Signer
getPoliciesAvailable, getSignedAttributesAvailable, getUnsignedAttributesAvailable
-
Constructor Details
-
XadesCoSigner
Construtor- Parameters:
xadesSignatureComponent
- Componente de assinatura XAdES
-
-
Method Details
-
coSign
Realiza a co-assinatura- Specified by:
coSign
in interfaceCoSigner
- Throws:
SignerException
-