@Override
    public void checkValidity(final Date arg0) throws CertificateExpiredException {
        if (!this.valid) {
            throw new CertificateExpiredException();
        }
    }
Gets content.

@return the content
@throws Exception the exception
support/cas-server-support-x509-core/src/test/java/org/apereo/cas/adaptors/x509/authentication/CasX509Certificate.java