Re: How to prove a Certificate is Signed or not

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>    After the generation of SignedCertificate.pem. I would like to write
    function to verify the SignedCertificate.pem, whether it is signed or not.
  
That is still not an accurate description.  By definition, a certificate is *signed data.*  It appears as a bitstring in the X509 data structure.

Is this want you want to do?  You have a certificate, and a CA key or certificate.  You want to know if the CA's public key generated the signature that is in the certificate that you have.  Look at the X509_verify function.  You will need to take your CA cert (or key) and make a key object, but start with that first manpage and follow the references.


-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux