Examples of grabPubkey()


Examples of freenet.keys.NodeSSK.grabPubkey()

    if(fullKey == null) throw new SSKVerifyException("Need full key to reconstruct an SSK");
    NodeSSK key;
    key = NodeSSK.construct(fullKey);
    if(knownPublicKey != null)
      key.setPubKey(knownPublicKey);
    else if(!key.grabPubkey(pubkeyCache, canReadClientCache, canReadSlashdotCache, meta))
      throw new SSKVerifyException("No pubkey found");
    SSKBlock block = new SSKBlock(data, headers, key, false);
    return block;
  }
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.