x509_read
Parse an X.509 certificate and return a resource identifier for it.
Syntax
Function x509_read (x509certdata) As Object
x509_read() parses the certificate supplied by x509certdata
and returns a resource identifier for it. x509certdata can be a String or a file
pointer.
Returns
Certificate resource on success, Nothing otherwise.
Example
' How to read a certificate from a file
Set cert = ssl.x509_read("file://c:\certs\ca-cert.pem")
...
' How to read certificate from a string
Dim cert_string as String
... read certificate from a file to string ...
Set cert = ssl.x509_read(cert_string)
|
|