2 * © 2008 INA Service GmbH
4 package net.pterodactylus.util.fcp;
8 * An “SSKKeypair” message that is sent as a response to a {@link GenerateSSK}
11 * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
14 public class SSKKeypair extends BaseMessage {
17 * Creates a new “SSKKeypair” message that wraps the received message.
19 * @param receivedMessage
20 * The received message
22 SSKKeypair(FcpMessage receivedMessage) {
23 super(receivedMessage);
27 * Returns the identifier of the request.
29 * @return The identifier of the request
31 public String getIdentifier() {
32 return getField("Identifier");
36 * Returns the URI that must be used to insert data.
38 * @return The insert URI
40 public String getInsertURI() {
41 return getField("InsertURI");
45 * Returns the URI that must be used to request data.
47 * @return The request URI
49 public String getRequestURI() {
50 return getField("RequestURI");