code: public static ContextAwarePolicy createKeyPolicy(PublicationsHandler handler) {
          Util.notNull(handler, "Publications handler");
          return new ContextAwarePolicyAdapter(new KeyBasedVerificationPolicy(), new PolicyContext(handler, null));
      }
docs: Creates context aware policy using {@link KeyBasedVerificationPolicy} for verification.
  
  @param handler
  Publications handler.
  @return Key based verification policy with suitable context.