parse.certificates
Description
Parse certificates from files
Init
parse.certificates(path string)
List
[]network.certificate
Fields
ID | TYPE | DESCRIPTION |
---|---|---|
path | string | Certificate file path |
file | file | Certificate file |
content | string | Certificate file content |
list | []network.certificate |
Examples
Parse Certificates from target file system
parse.certificates('/etc/ssl/cert.pem').list { issuer.dn }
Parse Certificates from content
parse.certificates(content: 'PEM CONTENT').list { issuer.dn }