Interface Signer<Info extends ExtraInformation>

All Known Implementing Classes:
AbstractCadesSigner, AbstractXadesSigner, CadesSigner, CompleteSigner, JadesSigner, PadesSigner, XadesSigner

public interface Signer<Info extends ExtraInformation>
  • Method Details

    • simpleSign

      boolean simpleSign​(FileToBeSigned<? extends Info> fileToBeSigned) throws br.ufsc.labsec.pbad.ykue_utils.exceptions.SignerException
      Throws:
      br.ufsc.labsec.pbad.ykue_utils.exceptions.SignerException
    • getSignatureStream

      InputStream getSignatureStream()
    • getSignedAttributesAvailable

      List<String> getSignedAttributesAvailable​(boolean advanced)
    • getUnsignedAttributesAvailable

      List<String> getUnsignedAttributesAvailable​(boolean advanced)
    • getPoliciesAvailable

      List<String> getPoliciesAvailable()
    • supports

      boolean supports​(FileToBeSigned<? extends Info> fileToBeSigned) throws br.ufsc.labsec.pbad.ykue_utils.exceptions.SignerException, CertificationPathException
      Throws:
      br.ufsc.labsec.pbad.ykue_utils.exceptions.SignerException
      CertificationPathException
    • getSignature

      SignatureWrapper getSignature​(FileToBeSigned<? extends Info> fileToBeSigned) throws br.ufsc.labsec.pbad.ykue_utils.exceptions.SignerException
      Throws:
      br.ufsc.labsec.pbad.ykue_utils.exceptions.SignerException
    • supportsCertPath

      default boolean supportsCertPath​(List<String> attributesThatRequireCertPath, List<String> selectedAttributes, CertPath certPath) throws CertificationPathException
      Throws:
      CertificationPathException