title: Digitally sign token with RSA-SHA1 Base64 encryption
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1402380/free-encryption-library-for-delphi">Free Encryption library for Delphi</a>  </p>
  </blockquote>
  
  
  
  <p>I am trying to interface with Google Services using AuthSub:
  <a href="http://code.google.com/apis/accounts/docs/AuthSub.html" rel="nofollow noreferrer">AuthSub Authentication</a></p>
  
  <p>In the documentation it states this:</p>
  
  <blockquote>
    <p>The signature for the secure token. This value must be a signature
    made  by the private key corresponding to the certificate provided
    during  registration. It must be encoded in BASE64, and must use the
    SHA-1  with RSA using PKCS#1 padding algorithm.</p>
  </blockquote>
  
  <p>I have used openssl to create public/private keys and have successfully uploaded (I think) my certificate to google.  What component can I use to accomplish the digitally signing of the token?</p>
  
  <p>Thanks.</p>