@Test void buildCertificateFileName() { assertEquals("cert" + PEM_CERT_FILE_EXTENSION, CertificateUtils.buildCertificateFileName("cert")); }
@VisibleForTesting static String buildCertificateFileName(@NotNull String certName) { return certName + PEM_CERT_FILE_EXTENSION; }
CertificateUtils { @VisibleForTesting static String buildCertificateFileName(@NotNull String certName) { return certName + PEM_CERT_FILE_EXTENSION; } }
CertificateUtils { @VisibleForTesting static String buildCertificateFileName(@NotNull String certName) { return certName + PEM_CERT_FILE_EXTENSION; } private  CertificateUtils(); }
CertificateUtils { @VisibleForTesting static String buildCertificateFileName(@NotNull String certName) { return certName + PEM_CERT_FILE_EXTENSION; } private  CertificateUtils(); static CertificateFactory createX509CertificateFactory(); static Element buildCertDataFromFile(SupplierWithIO<InputStream> certFileLocation, Document document, CertificateFactory certificateFactory); static Element createCertDataElementFromCert(@NotNull X509Certificate cert, Document document); static Element createCertDataElementFromCert(String issuerName, BigInteger serialNumber, String subjectName, String encodedData, Document document); static void writeCertificateData(@NotNull final File certFolder, @NotNull final String certName, @NotNull final String certEncodedData); }
CertificateUtils { @VisibleForTesting static String buildCertificateFileName(@NotNull String certName) { return certName + PEM_CERT_FILE_EXTENSION; } private  CertificateUtils(); static CertificateFactory createX509CertificateFactory(); static Element buildCertDataFromFile(SupplierWithIO<InputStream> certFileLocation, Document document, CertificateFactory certificateFactory); static Element createCertDataElementFromCert(@NotNull X509Certificate cert, Document document); static Element createCertDataElementFromCert(String issuerName, BigInteger serialNumber, String subjectName, String encodedData, Document document); static void writeCertificateData(@NotNull final File certFolder, @NotNull final String certName, @NotNull final String certEncodedData); static final String PEM_CERT_FILE_EXTENSION; static final String P12_CERT_FILE_EXTENSION; }