isCertExpired {dataone}R Documentation

Determine if an X.509 certificate has expired.

Description

Returns 'TRUE' if the certificate associated with a CertificateManager instance is expired. A certificate is expired if any of the following conditions hold: 1) the current time is before or after the certificate validity dates, 2) the certificate is not valid according to a trusted Certificate Authority, or 3) no certificate can be found.

Usage

isCertExpired(x, ...)

## S4 method for signature 'CertificateManager'
isCertExpired(x)

Arguments

x

a CertificateManager instance

...

(Not yet used)

Value

TRUE if the certificate is expired


[Package dataone version 2.2.1 Index]