public DocumentParser<KeyCertificate> createKeyCertificateParser(ByteBuffer buffer) {
return new KeyCertificateParser(new DocumentFieldParserImpl(buffer));
}
public DocumentParser<RouterDescriptor> createRouterDescriptorParser(ByteBuffer buffer, boolean verifySignatures) {
return new RouterDescriptorParser(new DocumentFieldParserImpl(buffer), verifySignatures);
}