use of won.cryptography.service.keystore.KeyStoreService in project webofneeds by researchstudio-sat.
the class TestSigningUtils method printCerts.
public void printCerts() throws IOException, CertificateException {
// load public keys:
File keysFile = new File(this.getClass().getResource(TestSigningUtils.KEYS_FILE).getFile());
KeyStoreService storeService = new FileBasedKeyStoreService(keysFile, "temp");
printCerificate(storeService, atomCertUri, atomCertUri);
printCerificate(storeService, ownerCertUri, ownerCertUri);
printCerificate(storeService, ownerCertUri, nodeCertUri);
}
Aggregations