### Question:
X509Cert implements Serializable { public X509Certificate getX509Certificate() { return originalCert; } X509Cert(X509Certificate cert);   X509Cert(String path); List<String> getCertificatePolicies(); X509Certificate getX509Certificate(); String issuerName(Issuer part); String issuerName(); boolean isValid(Date date); boolean isValid(); List<KeyUsage> getKeyUsages(); String getSerial(); String getSubjectName(SubjectName part); String getSubjectName();  }### Answer:
@Test public void testGetX509Certificate() throws Exception { X509Certificate x509Certificate = this.certificate.getX509Certificate(); Assert.assertEquals("SERIALNUMBER=11404176865, GIVENNAME=MÄRÜ-LÖÖZ, SURNAME=ŽÕRINÜWŠKY, " + "CN=\"ŽÕRINÜWŠKY,MÄRÜ-LÖÖZ,11404176865\", OU=digital signature, O=ESTEID, C=EE", x509Certificate.getSubjectDN().getName()); }