public InputStream getKeystoreStream() throws InvalidKeystoreReferenceException {
   return KeystoreManager.streamKeystore(keystore);
 }