Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: XML Signature Validation in Perl

by CountZero (Bishop)
on Feb 24, 2018 at 17:55 UTC ( #1209911=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1209911]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2020-09-25 22:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (141 votes). Check out past polls.

    Notices?