UniformRapidSuspensionCommandTest.java 文件源码

java
阅读 20 收藏 0 点赞 0 评论 0

项目:nomulus 作者:
private void persistDomainWithHosts(HostResource... hosts) {
  ImmutableSet.Builder<Key<HostResource>> hostRefs = new ImmutableSet.Builder<>();
  for (HostResource host : hosts) {
    hostRefs.add(Key.create(host));
  }
  persistResource(newDomainResource("evil.tld").asBuilder()
      .setNameservers(hostRefs.build())
      .setDsData(ImmutableSet.of(
          DelegationSignerData.create(1, 2, 3, new HexBinaryAdapter().unmarshal("dead")),
          DelegationSignerData.create(4, 5, 6, new HexBinaryAdapter().unmarshal("beef"))))
      .build());
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号