@Override
    public byte[] getEncoded() throws CertificateEncodingException {
        return x509Certificate.getEncoded();
    }
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