CAPICOM: how to check root certificate validity and existence?

From: AL (alberto.velo_at_gruppoih.it)
Date: 11/22/04


Date: Mon, 22 Nov 2004 14:19:41 +0100

Hello,
I'm trying to verify the validity of a Root Certificate, which almost
works unless... the CA does not more exist!
I mean, if I have a valid Root cert in my trusted root store, I always
get an answer it is valid from the following code (VB 6):

rootCert.IsValid.CheckFlag = CAPICOM_CHECK_ONLINE_ALL Or
CAPICOM_CHECK_TRUSTED_ROOT

If rootCert.IsValid.Result Then
.....
' always get true here

else

...
end if

The strange thing is I get an ok even if the CA does not exist anymore,
or it is not reachable by the client doing the above verification.
Is there a way to get a false answer by that check, when the CA is not
available or it is not reachable?

Thank you,
AL.



Relevant Pages

  • Re: chmod, chown and user, group
    ... > error message if he tries. ... If it is just about showing something to the user, ... I'd suggest you verify only two things. ... In case the program is being run as root, ...
    (comp.os.linux.development.apps)
  • Re: File Permission/Group Does Not Stick
    ... Hank Kingwood wrote: ... > I'm running Fedora Core 1 and I issued the following as root: ... > I verify that the changes took, reboot, but the file reverted to its ...
    (comp.os.linux.setup)
  • Re: File Permission/Group Does Not Stick
    ... Hank Kingwood wrote: ... > I'm running Fedora Core 1 and I issued the following as root: ... > I verify that the changes took, reboot, but the file reverted to its ...
    (comp.os.linux.misc)
  • Re: Checking to see if a password has been changed.
    ... ]With in an installation verification script running as root, I'd like to verify that these passwards have been changed. ... ]Is there some simple way a script can verify that a password is NOT "foobar"? ...
    (comp.os.linux.security)
  • Re: linux box hacked, question
    ... verify that the restored files ... >> What will that command show that should be looked at? ... with the permissions of the person running it. ... with the permissions of the file's owner, here root: ...
    (comp.os.linux.security)