OadrFingerprintSecurity { public static String getOadr20bFingerprint(String pemFilePath) throws OadrSecurityException { X509Certificate cert = OadrPKISecurity.parseCertificate(pemFilePath); return OadrFingerprintSecurity.getOadr20bFingerprint(cert); } private  OadrFingerprintSecurity(); static String getOadr20aFingerprint(String pemFilePath); static String getOadr20aFingerprint(X509Certificate cert); static String getOadr20bFingerprint(String pemFilePath); static String getOadr20bFingerprint(X509Certificate cert);  }
@Test public void getOadr20bFingerprintTest() throws OadrSecurityException { String oadr20bFingerprint = OadrFingerprintSecurity.getOadr20bFingerprint(TestUtils.TEST_CRT); assertEquals(TestUtils.readFile(TestUtils.TEST_FINGERPRINT_20B), oadr20bFingerprint); }