コード例 #1
0
ファイル: PdfPKCS7.cs プロジェクト: mohsenmetn/itextsharp
        /**
         * Get the algorithm used to calculate the message digest, e.g. "SHA1withRSA".
         * @return the algorithm used to calculate the message digest
         */
        public String GetDigestAlgorithm()
        {
            String dea = EncryptionAlgorithms.GetAlgorithm(digestEncryptionAlgorithmOid);

            if (dea == null)
            {
                dea = digestEncryptionAlgorithmOid;
            }

            return(GetHashAlgorithm() + "with" + dea);
        }