Hi Lampa, yes that is exactly what is happening. We interfaced Perl with C to speedup the parsing functions (needed when displaying lists of certificates or requests). You can find all the references in the OpenSSL.xs file.
Later, Max lampa wrote:
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
-- Best Regards, Massimiliano Pala --o------------------------------------------------------------------------ Massimiliano Pala [OpenCA Project Manager] [EMAIL PROTECTED] [EMAIL PROTECTED] Dartmouth Computer Science Dept Home Phone: +1 (603) 369-9332 PKI/Trust Laboratory Work Phone: +1 (603) 646-9179 --o------------------------------------------------------------------------ People who think they know everything are a great annoyance to those of us who do. -- Isaac Asimov
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------- 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