(certificate x)
Reads a certificate from a PEM encoded file or stream
Reads a certificate from a PEM encoded file or stream
(certificate? x)
Returns true if object is a certificate
Returns true if object is a certificate
(not-after cert)
Returns the last date this signature is valid.
Returns the last date this signature is valid.
(not-before cert)
Returns the first date this certificate is valid.
Returns the first date this certificate is valid.
(str->certificate certdata)
Certificate constructor from string
Certificate constructor from string
(subject cert)
Returns the subject of the certificate
Returns the subject of the certificate
(valid-on-date? certificate)
(valid-on-date? certificate date)
Returns true if certificate is valid date. Defaults to today
Returns true if certificate is valid date. Defaults to today
(verify-signature cert public-key)
Verifies that the certificate is signed with the provided public key.
Verifies that the certificate is signed with the provided public key.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close