CertificateInformationExtractor { public Certificate getCertificate() { return certificate; } CertificateInformationExtractor(Certificate certificate); Certificate getCertificate(); BigInteger getSerialNumber(); byte[] getIssuerNameHash(); byte[] getIssuerKeyHash(); Boolean getMustStaple(); Boolean getMustStaplev2(); String getOcspServerUrl(); String getCertificateIssuerUrl(); Certificate retrieveIssuerCertificate();  }
@Test public void testGetCertificate() { Assert.assertSame(certificateInformationExtractor.getCertificate(), certificate); }