<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Decrypting S/MIME data using ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/decrypting-s-mime-data-using-abap/m-p/1448310#M212491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working in BSPs. I get S/MIME encrypted data from a web service . Can anybody please tell me how to decrypt this data using ABAP code. Are there any standard ABAP classes available for decrypting the S/MIME data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laxman Nayak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jul 2006 13:53:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-03T13:53:12Z</dc:date>
    <item>
      <title>Decrypting S/MIME data using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decrypting-s-mime-data-using-abap/m-p/1448310#M212491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working in BSPs. I get S/MIME encrypted data from a web service . Can anybody please tell me how to decrypt this data using ABAP code. Are there any standard ABAP classes available for decrypting the S/MIME data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laxman Nayak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 13:53:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decrypting-s-mime-data-using-abap/m-p/1448310#M212491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T13:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Decrypting S/MIME data using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decrypting-s-mime-data-using-abap/m-p/1448311#M212492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see if this fm is of any use:&lt;/P&gt;&lt;P&gt;WWW_GET_MIME_OBJECT&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 14:03:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decrypting-s-mime-data-using-abap/m-p/1448311#M212492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T14:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Decrypting S/MIME data using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decrypting-s-mime-data-using-abap/m-p/1448312#M212493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Laxman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider this code. It uses &amp;lt;b&amp;gt;cl_http_utility&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just execute this code in SE38.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT  zarun_pass                           .

PARAMETERS : pass(32) TYPE c.

DATA : passwd  TYPE string,
       encoded TYPE string,
       decoded TYPE string.

passwd = pass.
CONDENSE passwd.
CALL METHOD cl_http_utility=&amp;gt;if_http_utility~encode_base64    "Method for Encryption
  EXPORTING
    unencoded = passwd
  RECEIVING
    encoded   = encoded.


CALL METHOD cl_http_utility=&amp;gt;if_http_utility~decode_base64    "Method for Decryption
  EXPORTING
    encoded = encoded
  RECEIVING
    decoded = decoded.


WRITE : / 'Password Entered   :' , pass,
        / 'Encrypted Password :' , encoded,
        / 'Decrypted Password :' , decoded.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arun Sambargi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 14:04:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decrypting-s-mime-data-using-abap/m-p/1448312#M212493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T14:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Decrypting S/MIME data using ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/decrypting-s-mime-data-using-abap/m-p/1448313#M212494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun Sambargi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for the reply. I had already tried this . It is not working for me. Any other idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Laxman Nayak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2006 14:24:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/decrypting-s-mime-data-using-abap/m-p/1448313#M212494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-03T14:24:07Z</dc:date>
    </item>
  </channel>
</rss>

