Package org.waveprotocol.wave.crypto

Examples of org.waveprotocol.wave.crypto.DefaultTrustRootsProvider


  private ProtocolHashedVersion getProtocolHashedVersion() {
    return CoreWaveletOperationSerializer.serialize(getHashedVersion());
  }

  private WaveSignatureVerifier getRealVerifier(CertPathStore store) throws Exception {
    TrustRootsProvider trustRoots = new DefaultTrustRootsProvider();
    VerifiedCertChainCache cache = new DefaultCacheImpl(getFakeTimeSource());
    WaveCertPathValidator validator = new CachedCertPathValidator(
      cache, getFakeTimeSource(), trustRoots);

    return new WaveSignatureVerifier(validator, store);
View Full Code Here

TOP

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

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.