groupdocs-total/GroupDocs.Total-for-Java-Spring

View on GitHub
src/main/java/com/groupdocs/ui/signature/service/SignService.java

Summary

Maintainability
A
0 mins
Test Coverage
package com.groupdocs.ui.signature.service;

import com.groupdocs.ui.signature.model.request.SignDocumentRequest;
import com.groupdocs.ui.signature.model.web.SignedDocumentEntity;

import java.io.InputStream;

public interface SignService {
    /**
     * Sign document
     *
     * @param signDocumentRequest
     * @return
     */
    SignedDocumentEntity sign(SignDocumentRequest signDocumentRequest);

    /**
     * Sign document by stream
     *
     * @param signDocumentRequest
     * @return
     */
    InputStream signByStream(SignDocumentRequest signDocumentRequest);
}