Class PadesContainerGenerator
java.lang.Object
br.ufsc.labsec.signature.signer.CompleteContainerGenerator<PadesInformation,Object,PadesSignature>
br.ufsc.labsec.signature.conformanceVerifier.pades.PadesContainerGenerator
- All Implemented Interfaces:
ContainerGenerator<PadesInformation,PadesSignature>
public class PadesContainerGenerator extends CompleteContainerGenerator<PadesInformation,Object,PadesSignature>
-
Constructor Summary
Constructors Constructor Description PadesContainerGenerator(PadesSignatureComponent component)
-
Method Summary
Modifier and Type Method Description protected SignatureContainer<PadesSignature>
generateSignature(FileToBeSigned<? extends PadesInformation> fileToBeSigned, List<SignatureAttribute<Object>> signedAttributes)
byte[]
getEncoded(org.apache.pdfbox.pdmodel.PDDocument document)
ByteArrayOutputStream
getStream(org.apache.pdfbox.pdmodel.PDDocument document)
Methods inherited from class br.ufsc.labsec.signature.signer.CompleteContainerGenerator
generate
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.signer.ContainerGenerator
in, notIn
-
Constructor Details
-
PadesContainerGenerator
-
-
Method Details
-
generateSignature
protected SignatureContainer<PadesSignature> generateSignature(FileToBeSigned<? extends PadesInformation> fileToBeSigned, List<SignatureAttribute<Object>> signedAttributes) throws SignerException- Specified by:
generateSignature
in classCompleteContainerGenerator<PadesInformation,Object,PadesSignature>
- Throws:
SignerException
-
getStream
public ByteArrayOutputStream getStream(org.apache.pdfbox.pdmodel.PDDocument document) throws IOException- Throws:
IOException
-
getEncoded
- Throws:
IOException
-