Package org.waveprotocol.wave.crypto

Examples of org.waveprotocol.wave.crypto.CertPathStore


   * Returns an empty {@link CertPathStore}.
   */
  protected abstract CertPathStore newCertPathStore();

  public void testCertificatesAreStored() throws Exception {
    CertPathStore certPathStore = newCertPathStore();

    ProtocolSignerInfo realSignerInfoProto = realSignerInfo.toProtoBuf();
    certPathStore.putSignerInfo(realSignerInfoProto);

    ProtocolSignerInfo exampleSignerInfoProto = exampleSignerInfo.toProtoBuf();
    certPathStore.putSignerInfo(exampleSignerInfoProto);

    checkCertificateExists(realSignerInfo, certPathStore);
    checkCertificateExists(exampleSignerInfo, certPathStore);
  }
View Full Code Here


    AccountStore accountStore = injector.getInstance(AccountStore.class);
    accountStore.initializeAccountStore();
    AccountStoreHolder.init(accountStore, waveDomain);

    // Initialize the SignerInfoStore.
    CertPathStore certPathStore = injector.getInstance(CertPathStore.class);
    if (certPathStore instanceof SignerInfoStore) {
      ((SignerInfoStore)certPathStore).initializeSignerInfoStore();
    }

    // Initialize the server.
View Full Code Here

    AccountStore accountStore = injector.getInstance(AccountStore.class);
    accountStore.initializeAccountStore();
    AccountStoreHolder.init(accountStore, waveDomain);

    // Initialize the SignerInfoStore.
    CertPathStore certPathStore = injector.getInstance(CertPathStore.class);
    if (certPathStore instanceof SignerInfoStore) {
      ((SignerInfoStore)certPathStore).initializeSignerInfoStore();
    }

    // Initialize the server.
View Full Code Here

TOP

Related Classes of org.waveprotocol.wave.crypto.CertPathStore

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.