http://qs321.pair.com?node_id=1209911


in reply to XML Signature Validation in Perl

I see that Crypt::OpenSSL::RSA has a get_public_key_x509_string method as well as sign and verify methods.

Did you try these?

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics

Replies are listed 'Best First'.
Re^2: XML Signature Validation in Perl
by chora_sid (Novice) on Feb 24, 2018 at 18:07 UTC

    @CountZero, Thanks for your response

    Those methods mentioned are there in the implementation but now in actual Source code. Can you please advise or share any link where these methods are present in source code.

      Line 281 of RSA.xs.

      ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
      For questions about the source code you best contact the author (Moritz Onken) of that module. His contact details are on CPAN.

      CountZero

      A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

      My blog: Imperial Deltronics