View definition

func GetPEMCertExpiration

Defined in github.com/xenolf/lego/acme/crypto.go

Description

GetPEMCertExpiration returns the "NotAfter" date of a PEM encoded certificate. The certificate has to be PEM encoded. Any other encodings like DER will fail.

GetPEMCertExpiration is referenced in 3 repositories

github.com/xenolf/lego github.com/kalbasit/lego-etcd github.com/minio/concert