Package org.webpki.keygen2
Class CredentialDiscoveryResponseEncoder
java.lang.Object
org.webpki.json.JSONEncoder
org.webpki.keygen2.CredentialDiscoveryResponseEncoder
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionCredentialDiscoveryResponseEncoder
(CredentialDiscoveryRequestDecoder credentialDiscoveryRequestDecoder) -
Method Summary
Modifier and TypeMethodDescriptionEmulation of XML namespaceOptional type indicator for JSON objects belonging to the same@context
.protected void
INTERNAL USE ONLY.Methods inherited from class org.webpki.json.JSONEncoder
serializeJSONDocument
-
Constructor Details
-
CredentialDiscoveryResponseEncoder
public CredentialDiscoveryResponseEncoder(CredentialDiscoveryRequestDecoder credentialDiscoveryRequestDecoder)
-
-
Method Details
-
addLookupResult
-
writeJSONData
Description copied from class:JSONEncoder
INTERNAL USE ONLY.- Specified by:
writeJSONData
in classJSONEncoder
- Parameters:
wr
- A JSON writer
-
getQualifier
Description copied from class:JSONEncoder
Optional type indicator for JSON objects belonging to the same@context
.- Overrides:
getQualifier
in classJSONEncoder
- Returns:
- The qualifier name
-
getContext
Description copied from class:JSONEncoder
Emulation of XML namespace- Specified by:
getContext
in classJSONEncoder
- Returns:
- The context name
-