예제 #1
0
        //public byte[] GetSignedPDF(byte[] data)
        //{
        //    throw new NotImplementedException();
        //}

        //public byte[] GetSignedPDF(byte[] data)
        //{
        //    PDFSign pdfSign = new PDFSign();
        //    string reason = ConfigurationManager.AppSettings["SIGN_REASON"];
        //    string location = ConfigurationManager.AppSettings["SIGN_LOCATION"];
        //    return pdfSign.sign(data, reason, location);
        //}
        public byte[] GetSignedPDF(byte[] data, SignInfo signInfo)
        {
            throw new NotImplementedException();
        }
        public byte[] GetSignedPDF(byte[] data, SignInfo signInfo)
        {
            PDFSign pdfSign = new PDFSign();

            return(pdfSign.sign(data, signInfo.Reason, signInfo.location));
        }