Ok,I know what happened. OpenCA call the Openssl function library using XSUB. Thank you all the same.
lampa wrote: > > Hello all: > I want to study the code of OpenCA. And I want to know to how to parse the > pkcs10 public key from pkcs10 request. > However, After the request is being process in > "prefix/modules/perl5/OpenCA/REQ.pm" , the request go to > "prefix/modules/perl5/i686-linux/OpenCA/OpenSSL.pm". In this script ,I > can't > find the function named OpenCA::OpenSSL::PKCS10::_new_from_pem(). > Could you tell me where I can find this function ? I can not find it! :( > > the code as follows: > my $csr; if ($keys->{INFORM} and $keys->{INFORM} =~ /DER/) { $csr = > OpenCA::OpenSSL::PKCS10::_new_from_der ($keys->{DATA}); } elsif > ($keys->{INFORM} and $keys->{INFORM} =~ /SPKAC/) { $csr = > OpenCA::OpenSSL::SPKAC::_new ($keys->{DATA}); } else { $csr = > OpenCA::OpenSSL::PKCS10::_new_from_pem ($keys->{DATA}); } > > Thank you very much! > lampa > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Openca-Users mailing list > Openca-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openca-users > > -- View this message in context: http://www.nabble.com/cann%27t-find-OpenCA%3A%3AOpenSSL%3A%3APKCS10%3A%3A_new_from_pem%28%29-function-tp20476308p20496578.html Sent from the openca-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Openca-Users mailing list Openca-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openca-users