x509_verify()

 
Verifies that the X509 certificate specified by "x509" was issued by one of the X509 certificates (in PEM format) in "trusted_certs", where x509 = Index into internal array of certificates, trusted_certs = Certificates (in PEM text format) to find the x50
Syntax
x509_verify( x509 var, trusted_certs )
Returns 1 on successful find, 0 if certificate isn't in trusted_certs, or other error.
User Annotations: x509_verify