Hi, please, could you advise what I should use for working with pkcs#12 file? I tried OpenSSL::PKCS12, but #1 I could not find detailed docs on it #2 As I understand this class can only create pkcs12. My task is to read pkcs12 file, extract certificate and read it attributes (e.g., subject). May be someone has worked on it. Please, help me :) Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Have you considered using openssl and reading it''s output? On Oct 16, 2006, at 11:58 PM, Vladimir Kurnavenkov wrote:> please, could you advise what I should use for working with pkcs#12 > file? > I tried OpenSSL::PKCS12, but > #1 I could not find detailed docs on it > #2 As I understand this class can only create pkcs12. > > My task is to read pkcs12 file, extract certificate and read it > attributes (e.g., subject). > May be someone has worked on it. Please, help me :)-- -- Tom Mornini, CTO -- Engine Yard, Ruby on Rails Hosting -- Reliability, Ease of Use, Scalability -- (866) 518-YARD (9273) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
You might want to try EzCrypto http://ezcrypto.rubyforge.org/ to see if it works for you. Pelle On 10/17/06, Vladimir Kurnavenkov <vkurnavenkov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi, > please, could you advise what I should use for working with pkcs#12 > file? > I tried OpenSSL::PKCS12, but > #1 I could not find detailed docs on it > #2 As I understand this class can only create pkcs12. > > My task is to read pkcs12 file, extract certificate and read it > attributes (e.g., subject). > May be someone has worked on it. Please, help me :) > > Thanks. > > > > >-- http://timecert.org - Third party timestamp service https://wideword.net - Encrypted wysiwyg document sharing https://wideblog.net + Encrypted secret blogs for projects http://stakeventures.com - Bootstrapping blog --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---