X509¶
Constructors¶
create¶
Returns¶
- X509 val^
Public Functions¶
valid_for_host¶
Checks if an OpenSSL X509 certificate is valid for a given host.
Parameters¶
Returns¶
- Bool val
common_name¶
Get the common name for the certificate. Raises an error if the common name contains any NULL bytes.
Parameters¶
Returns¶
- String val ?
all_names¶
Returns an array of all names for the certificate. Any names containing NULL bytes are not included. This includes the common name and all subject alternate names.
Parameters¶
Returns¶
eq¶
Parameters¶
- that: X509 val
Returns¶
- Bool val
ne¶
Parameters¶
- that: X509 val
Returns¶
- Bool val