Johnny Gonzalez wrote:

sub getParsed {
        my $self = shift;

        return $self->setError (7431011,
                   $self->{gettext}
("OpenCA::X509->getParsed: The certificate was not
parsed."))
                if ( not $self->{parsedItem} );
        return $self->{parsedItem};
}

1. parsedItem is filled from sub parseCert in OpenCA::X509
2. parseCert creates a MD5 hash of formerly loaded PUBKEY
3. parseCert calls sub getCertAttribute in OpenSSL.pm of OpenCA::OpenSSL
4. getCertAttribute uses pubkey in OpenSSL.xs

I have only one question, why we store this stuff in a CRR if all informations can be retrieved from the cert? I think we should clean up the code for te next release (but first HTML, russian, greek, log ... :) ).

Michael
--
_______________________________________________________________

Michael Bell                    Humboldt-Universitaet zu Berlin

Tel.: +49 (0)30-2093 2482       ZE Computer- und Medienservice
Fax:  +49 (0)30-2093 2704       Unter den Linden 6
[EMAIL PROTECTED]   D-10099 Berlin
_______________________________________________________________

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to