<?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 RSA Encryption Example in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/rsa-encryption-example/m-p/522121#M20277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The ArcGIS Server admin API provides the ability to encrypt credentials when requesting a token over HTTP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The documentation states that it uses RSA and that you can get the public key and modulus from the admin API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the idea is to get the public key and modulus, encrypt the credentials, add the encrypted=true argument, and then request a token over HTTP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is whether or not anyone has a example?&amp;nbsp; I am looking for a .NET encryption function which takes the public key, modulus, and a string to encrypt and returns the encyrpted string that ArcGIS Server can consume.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Nov 2012 14:12:15 GMT</pubDate>
    <dc:creator>RichardWatson</dc:creator>
    <dc:date>2012-11-04T14:12:15Z</dc:date>
    <item>
      <title>RSA Encryption Example</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/rsa-encryption-example/m-p/522121#M20277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The ArcGIS Server admin API provides the ability to encrypt credentials when requesting a token over HTTP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The documentation states that it uses RSA and that you can get the public key and modulus from the admin API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So the idea is to get the public key and modulus, encrypt the credentials, add the encrypted=true argument, and then request a token over HTTP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is whether or not anyone has a example?&amp;nbsp; I am looking for a .NET encryption function which takes the public key, modulus, and a string to encrypt and returns the encyrpted string that ArcGIS Server can consume.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Nov 2012 14:12:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/rsa-encryption-example/m-p/522121#M20277</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2012-11-04T14:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: RSA Encryption Example</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/rsa-encryption-example/m-p/522122#M20278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found the code.&amp;nbsp; It is in the web adaptor.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 18:04:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/rsa-encryption-example/m-p/522122#M20278</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2012-11-05T18:04:11Z</dc:date>
    </item>
  </channel>
</rss>

