Package com.google.nigori.client

Examples of com.google.nigori.client.CryptoNigoriDatastore


  }
  private static class HTTPDatastoreFactory implements DatastoreFactory {
    @Override
    public NigoriDatastore makeDatastore() throws UnsupportedEncodingException,
        NigoriCryptographyException {
      return new CryptoNigoriDatastore(AcceptanceTests.HOST, AcceptanceTests.PORT,
          AcceptanceTests.PATH);
    }
View Full Code Here


    }
  }
  private static class SyncingDatastoreFactory implements DatastoreFactory {
    @Override
    public NigoriDatastore makeDatastore() throws NigoriCryptographyException, IOException {
      return new SyncingNigoriDatastore(new CryptoNigoriDatastore(AcceptanceTests.HOST,
          AcceptanceTests.PORT, AcceptanceTests.PATH), new CryptoNigoriDatastore(
          AcceptanceTests.HOST, AcceptanceTests.PORT, AcceptanceTests.PATH));
    }
View Full Code Here

  private static class LocalAsyncRemoteDatastoreFactory implements DatastoreFactory {

    @Override
    public NigoriDatastore makeDatastore() throws UnsupportedEncodingException,
        NigoriCryptographyException, IOException {
      return new LocalAsyncRemoteSyncingNigoriDatastore(new CryptoNigoriDatastore(
          AcceptanceTests.HOST, AcceptanceTests.PORT, AcceptanceTests.PATH),
          new CryptoNigoriDatastore(AcceptanceTests.HOST, AcceptanceTests.PORT,
              AcceptanceTests.PATH));
    }
View Full Code Here

*
*/
public class AcceptanceTest {

  protected MigoriDatastore getStore() throws NigoriCryptographyException, IOException {
    return new HashMigoriDatastore(new CryptoNigoriDatastore(AcceptanceTests.HOST,
        AcceptanceTests.PORT, AcceptanceTests.PATH));
  }
View Full Code Here

TOP

Related Classes of com.google.nigori.client.CryptoNigoriDatastore

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.