Package org.webpki.keygen2
Class InvocationResponseEncoder
java.lang.Object
org.webpki.json.JSONEncoder
org.webpki.keygen2.InvocationResponseEncoder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddClientValues(String typeUri, String[] values) addImagePreference(String typeUri, String mimeType, int width, int height) addSupportedFeature(String typeUri) Emulation of XML namespaceOptional type indicator for JSON objects belonging to the same@context.voidsetNonce(byte[] nonce) protected voidINTERNAL USE ONLY.Methods inherited from class org.webpki.json.JSONEncoder
serializeJSONDocument
-
Constructor Details
-
InvocationResponseEncoder
-
-
Method Details
-
addImagePreference
public InvocationResponseEncoder addImagePreference(String typeUri, String mimeType, int width, int height) -
addSupportedFeature
-
addClientValues
-
setNonce
public void setNonce(byte[] nonce) -
writeJSONData
Description copied from class:JSONEncoderINTERNAL USE ONLY.- Specified by:
writeJSONDatain classJSONEncoder- Parameters:
wr- A JSON writer
-
getQualifier
Description copied from class:JSONEncoderOptional type indicator for JSON objects belonging to the same@context.- Overrides:
getQualifierin classJSONEncoder- Returns:
- The qualifier name
-
getContext
Description copied from class:JSONEncoderEmulation of XML namespace- Specified by:
getContextin classJSONEncoder- Returns:
- The context name
-